Take ownership missing from the right click menu


Recommended Posts

Hi, what happened to Take Ownership? I don't have it in 7100. Please someone tell me how to regedit it so it'll be on my menu again. Thanks.

Link to comment
Share on other sites

yeah it was a little reghack that did the job... you will need to download it and run it again on your new installation if you want it back.

just checked the link, it's correct download that little reg key and it will add it to your right click menue.

Link to comment
Share on other sites

Hi, what happened to Take Ownership? I don't have it in 7100. Please someone tell me how to regedit it so it'll be on my menu again. Thanks.

It's not there by default (in any build). You have to add it yourself.

Copy and Paste the following into a text file, save it as "TakeOwnership.reg" and execute it.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

If you also want to add "Copy To" and "Move To" to the context menu:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To]
@="{C2FBB630-2971-11D1-A18C-00C04FD75D13}"

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To]
@="{C2FBB631-2971-11D1-A18C-00C04FD75D13}"

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.