Dec 26 2007

Add Take Ownership Of Files To Vista’s Right Click Menu

folder_documents If you upgraded your computer to Vista or you are moving files to your Vista computer you may need to Take Ownership of those files.

Update 12-27-07 From what I can tell this tip only applies to Vista Home Premium. I haven’t been able to get it to work in Ultimate yet.

Here’s a simple way to do it, Thanks to Scott for sending in this tip.

  1. Create a Restore Point to backup your registry.
  2. Right click an empty space on your desktop and choose New > Text Document.
  3. Copy the text below and paste it into your new Text document.Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT*shellrunas]
    @=”Take Ownership”
    “Extended”=””
    “NoWorkingDirectory”=””

    [HKEY_CLASSES_ROOT*shellrunascommand]
    @=”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_ROOTDirectoryshellrunas]
    @=”Take Ownership”
    “Extended”=””
    “NoWorkingDirectory”=””

    [HKEY_CLASSES_ROOTDirectoryshellrunascommand]
    @=”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”

  4. Click file > Save As > name the file Take Ownership.reg (its very important to make sure the extension is .reg and not .txt)
  5. Double click the Take Ownership.reg file on your desktop to apply it to the registry.
  6. If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
  7. Click yes to the security prompt from the registry editor.
  8. Click Ok in the confirmation dialog box and you finished.
  9. Now when you right click a file or folder you will be offered the Take Ownership option.

    4

    Thanks again to Scott for providing this tip.

    Copyright ? VistaRevisited.com. All Rights Reserved.

Please visit our new site at The3List Why Do Bad Things Happen In 3"s.

RELATED POSTS:
  • How To Take Ownership Of A File Or Folder In Vista
  • Disable Autorun in Vista to Protect Against Malware Infections
  • Create A Logon Message In Vista
  • How To Get Your Show Desktop Icon Back in Vista
  • Add your Own Custom Logo and Support Info into Vista
  • TAGS:

    1 Comments on this post

    Trackbacks

    1. How To Take Ownership Of A File Or Folder In Vista | Vista Revisited wrote:

      […] How To Take Ownership Of A File Or Folder In Vista By Kevin If you upgraded your computer to Vista or you are moving files to your Vista computer you may need to Take Ownership of those files if you get an “access denied” message when you try to open or change the properties of a folder or file that was created by a different user. This is a follow up to my earlier post. Here […]

      January 9th, 2008 at 12:09 am

    LEAVE A COMMENT

    Subscribe Form

    Subscribe to Blog

    Sponsors

    Recent Readers

    JOIN MY COMMUNITY!