Jump to content

Windows Take Ownership [hot] (SECURE)

[HKEY_CLASSES_ROOT\Directory\shell\takeownership] @="Take Ownership" "Icon"="%windir%\System32\imageres.dll,-101"

Even if you log in as an Administrator, you do not automatically have full control over every file. System files (like C:\Windows\System32 ) are owned by NT SERVICE\TrustedInstaller . If you aren't TrustedInstaller, Windows blocks you. This prevents malware or clumsy users from deleting critical OS files and crashing the computer. windows take ownership

[HKEY_CLASSES_ROOT*\shell\takeownership\command] @="cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F" windows take ownership

×
×
  • Create New...