How To: Add Take Ownership Option To Explorer Right Click Context Menu In Windows Vista Or In Windows 7

takeownershipIf 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:

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”

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.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google

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.

Related articles

No comments

There are still no comments on this article.

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .