Element Category="Tweaks" Name="Context Menu - Add Take Ownership (with Pause)" Selected="true" Value="Prise Droits de Propriété" />
does not show the context Menu
In Fact the @= entry in the reg is not set
I found that the following setting works better
Edited: Runas instead of TakeOwership to run Under Administrator priviledge
does not show the context Menu
In Fact the @= entry in the reg is not set
I found that the following setting works better
Windows Registry Editor Version 5.00
; Created by: Shawn Brink
; Created on: January 28th 2015
; Updated on: June 18th 2017
; Modified by: Jpm (no powershell, no force admin, no appliedTO exclusion (not working for non english version)
; Tutorial: [You must be registered and logged in to see this link.]
[HKEY_CLASSES_ROOT\*\shell\Runas]
@="Take Ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\Runas\command]
@="cmd /c takeown /f \"%1\" && icacls \"%1\" /grant *S-1-3-4:F /c /l & pause"
"IsolatedCommand"= "cmd /c takeown /f \"%1\" && icacls \"%1\" /grant *S-1-3-4:F /c /l & pause"
[HKEY_CLASSES_ROOT\Directory\shell\Runas]
@="Take Ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\Runas\command]
@="cmd /c takeown /f \"%1\" /r /d o && icacls \"%1\" /grant *S-1-3-4:F /c /l /q & pause"
"IsolatedCommand"="cmd /c takeown /f \"%1\" /r /d o && icacls \"%1\" /grant *S-1-3-4:F /c /l /q & pause"
Edited: Runas instead of TakeOwership to run Under Administrator priviledge