Wednesday 10 August 2011

How to add "Take Ownership" option to context menu or simply right click of mouse of a file on windows XP , Vista and Seven (w7) without using any 3rd party software

0 comments
This process will add an extra option "take ownership" on the context menu of a selected file or folder. By using this any local user can find the ownership same as the administrator.before going through this tutorial you must create a back up of your Windows Registry.
Also Check: Process to take ownership of a file in Windows XP, Vista and Seven
                      How to create Windows Registry back up
Now open your notepad or any other text editor and enter the following Information:-

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\takeownership]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\*\shell\takeownership\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\exefile\shell\takeownership]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\exefile\shell\takeownership\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\dllfile\shell\takeownership]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\dllfile\shell\takeownership\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\takeownership]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\takeownership\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"

Note:
Please make sure that the first line (the one starting with "Windows Registry Editor..." appears in the text file. Now save the notepad file anywhere on your computer and give it a .reg extension.(suppose xxx.reg).Now you need to install that registry file to Windows registry..
Also See: How to insert a registry file to Windows Registry
After installing the registry Now reboot your computer and Enjoy the change.

Other Similar articles that may interest you:
1. Winrar Free download Full Evaluation copy in Various languages
2. Create a con folder without using command prompt (cmd)
3. Keyboard shortcuts to create a new folder in window seven
4. Latest opera browser free download for Windows, Linux and Mobile
5. How to download eBook from Google Books Search
6. how to enable Menu-bar appear permanently
7.. Show/Hiide Windows Version on desktop
8.  How hard disk results in system crash
9. Keyboard shortcut keys on MS-Office outlook
10. How to disable copy/move to usb or External device

Leave a Reply

Followers