Skip to primary navigation Skip to content Skip to footer

How To Take Ownership Of File Windows 11 In Registry Jun 2026

Manually creating keys is prone to typos. It is safer to copy the code below into a text file, save it as TakeOwnership.reg , and double-click it to merge.

Windows Registry Editor Version 5.00

: Right-click shell , select New > Key , and name it TakeOwnership . Set Display Name : how to take ownership of file windows 11 in registry

If you prefer not to touch the registry, you can take ownership manually through file properties: Manually creating keys is prone to typos

Repeat for:

[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" Use code with caution. Copied to clipboard Save the file save it as TakeOwnership.reg