Add Take Ownership to Right-click (context) Menu (Windows 8.1, 8)



Windows8LOGO_200x67.jpg


You can add "Take Ownership" to your right context menu very easily by merging the takeown.reg registry file.

Sysnative Forums Screenshot


1. Create a Windows System Restore Point -
Vista - START | type rstrui - create a restore point
Windows 7 - START | type create | select "Create a Restore Point"
Windows 8/ 8.1 - Using Microsoft System Restore (Windows*8) | HP® Support

2. Download the zip file. Extract the reg file. Click 2x; select "merge".

Regards. . .

jcgriff2
 

Attachments

Last edited:
Re: Add Take Ownership to Right-click (context) Menu (Windows 7 / Vista)

Works in Windows 8 as well (verified).

I have been using this registry tweak for a few years now!
 
Use this instead, and you'll get a item in the menu that has an icon.
Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"Icon"="imageres.dll,-106"
"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"

sP1eyIh.png


edit: Reminds me I wanted to change the icon for my Sublime Text 2 entry :)
YtVFdqk.png
 
Last edited:
After clicking on "Merge" the following (in Windows 8) "Cannot import . . . .error accessing registry"

Am not experienced enough to know what to do at this point - any thoughts!?
 
What is the exact error message? I'm assuming that you're not an administrator, and thus you don't have sufficient privileges here.
 
After clicking on "Merge" the following (in Windows 8) "Cannot import . . . .error accessing registry"

Am not experienced enough to know what to do at this point - any thoughts!?

Works for me on W8.

Here are some updated files for you containing AceInfinity's solution: (both apply and remove)
 

Attachments

He won't be able to merge any reg files to modify the registry if it's a permission issue for his user group though
 
Back
Top