1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Vista - "Take Ownership" Context Menu

Discussion in 'Tech Tips and Reviews' started by Elvandil, Jun 20, 2007.

Thread Status:
Not open for further replies.
  1. Elvandil

    Elvandil Thread Starter

    Aug 1, 2003
    With all the new security in Vista, many get frustrated by their inability to open folders that were easily accessible under XP. In many cases, full access to these folders requires that the user take ownership of it.

    This tweak adds the "Take Ownership" option to folder context menus, saving a lot of time and possible errors that can result from doing it manually.

    Copy the text between the lines, paste in a Notepad window, save the file to your desktop as ownership.reg and then right-click the file and Merge it with your registry.

    Windows Registry Editor Version 5.00

    @="Take Ownership"

    @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

    @="Take Ownership"

    @="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"

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/586439