How To: Add Take Ownership Option To Explorer Right Click Context Menu In Windows Vista Or In Windows 7
If you hold down Shift key while right clicking on any file in Windows Vista or Windows 7 explorer, you can see few more options in the context menu.You can easily add one more option to the file context menu called “Take Ownership” option which will be very useful to take ownership of any file.As many of you know, we need to take the ownership of system file in Windows Vista or in Windows 7 that you want to alter by any means. You need to have the ownership to do even simple operations like Renaming and Replacing of files and folders in Windows Vista or in Windows 7.
To enable “Take Ownership” option in file context menu in Windows Vista or in Windows 7:
- Open the Notepad editor from Windows Vista/Windows 7 start menu and copy the code given below:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
@=”Take Ownership”
“Extended”=”"
“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”
“Extended”=”"
“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”
- Save the above code in notepad as ‘TakeOwnerShip.reg‘ to the computer.
- Browse the saved file and then right click to the file and from the opening context menu select merge.
- Continue through the UAC(User Account Control) prompt and confirm that you wish to perform the action.
- After merging the entries to the Windows Vista/Windows 7 registry, reboot your system.
- When you hold shift and right-click on a file or folder you will have the option of changing the ownership.
- Please note that before the ownership will be changed, you must grant access(UAC Prompt), click Continue.
In order to verify that the “Take Ownership” option is successfully added to Windows Vista/Windows 7 explorer context menu, you can right-click on a file or folder, choose Properties and then choose Details and you will see the “Owner” section changed to COMPUTERNAME\USERNAME.
Alternate Method:
Download, extract, and double-click on Taking Ownership in Vista.reg to merge the registry values into the Windows Vista registry and thus you can add “Take Ownership” option to explorer context menu.
Add “Take Ownership” Option To Explorer Right Click Context Menu(Download)
Warning: Modifying the Windows registry can cause serious damage to your Windows Operating System.It is better to backup your Windows registry data before making any changes. Tomstricks.com is not responsible for any changes you may make to your system.
Popularity: 8%
Did You Like This Post? Then You Might Find These Also Interesting:
Written by Tony on March 11th, 2009 with
no comments.
Read more articles on Vista Tweaks and W7 Tweaks.





