Site icon Winhelponline

Take Ownership of File or Folder via Right-click Context Menu in Windows

We saw how to Take Ownership of a file or folder using the takeown.exe command-line tool. You can add “Take Ownership” command to the right-click menu for much easier access.

Download, unzip and run the enclosed REG file.

Contents of the REG file

Windows Registry Editor Version 5.00

;Add Take Ownership command to the context menu
;Take ownership of a file/folder, and provide "Administrators" group Full Control permissions.
;For Windows Vista, 7, 8, 8.1 and Windows 10


@="Take Ownership"

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

That’s it. It’s much easier now to take ownership of a file or folder without manually opening the Command Prompt window every time.

Exit mobile version