Add Reset Permissions to Context Menu in Windows  

Page 2 of 2 FirstFirst 12

  1. Posts : 96
    Win7 Pro X64, Win10 Pro x640
       #10

    Got it. I understand now. This would be a handy feature. I can just and an extended descriptor to hide the option until I need it (shown below). Thank you!


    [HKEY_CLASSES_ROOT\*\shell\runas]
    @="Restore ownership"
    "HasLUAShield"=""
    "NoWorkingDirectory"=""
    "Extended"

    [HKEY_CLASSES_ROOT\*\shell\runas\command]
    @="cmd.exe /c icacls "%1" /setowner "NT Service\\TrustedInstaller" /T /C"
    "IsolatedCommand"="cmd.exe /c icacls "%1" /setowner "NT Service\\TrustedInstaller" /T /C"

    [HKEY_CLASSES_ROOT\Directory\shell\runas]
    @="Restore ownership"
    "HasLUAShield"=""
    "NoWorkingDirectory"=""
    "Extended"

    [HKEY_CLASSES_ROOT\Directory\shell\runas\command]
    @="cmd.exe /c icacls "%1" /setowner "NT Service\\TrustedInstaller" /T /C"
    "IsolatedCommand"="cmd.exe /c icacls "%1" /setowner "NT Service\\TrustedInstaller" /T /C"


    [HKEY_CLASSES_ROOT\Directory\shell\runas]
    @="Restore ownership"
    "HasLUAShield"=""
    "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT\Directory\shell\runas\command]
    @="cmd.exe /c icacls "%1" /setowner "NT Service\\TrustedInstaller" /T /C"
    "IsolatedCommand"="cmd.exe /c icacls "%1" /setowner "NT Service\\TrustedInstaller" /T /C"
      My ComputerSystem Spec

  2. Brink's Avatar
    Posts : 41,372
    64-bit Windows 10 Pro build 18963
    Thread Starter
       #11

    The line should be "Extended"="" instead, but I have updated the tutorial to include .reg downloads for a Shift + Right click option to help.
      My ComputersSystem Spec


  3. Posts : 96
    Win7 Pro X64, Win10 Pro x640
       #12

    Thank you very much!
      My ComputerSystem Spec

  4. Brink's Avatar
    Posts : 41,372
    64-bit Windows 10 Pro build 18963
    Thread Starter
       #13

      My ComputersSystem Spec


 
Page 2 of 2 FirstFirst 12

Tutorial Categories

Add Reset Permissions to Context Menu in Windows Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
Hi guys, is there any tweak to reduce the size of edge context menu. Make it same size as windows context menu(desktop right click, file explorer). The other modern apps also have larger context menu as compared to windows. Thanks
Hi I wondered if anyone out there has had a similar experience to me... For some weeks now I have had problems where the START MENU wouldn't launch, metro apps (OneDrive, Tweetium, Money, News etc) would fail to launch (just a blank window...
WindowsApps reset default permissions in User Accounts and Family Safety
Is there anyway to reset the permissions back to Account Unknown() for the WindowsApps folder? I wanted to have a look in it, I changed the ownership to myself and now I just want to reset it back to the default. The default was Account...
Hello. Today I got an update, and I noticed afterwards that the Windows 10 context menu when you right click the desktop went back to the old version and not the Windows 10 version. Also, the context menu for right clicking in the taskbar turned...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 02:35.
Find Us