Win8.1 system right-click menu how to add "administrator ownership" option

  
                                     

Steps:

1. Open Notepad and copy the following code into Notepad:

First, copy and paste the following code into Notepad, and Click the notepad menu ——file——Save as —— select “all files” then name it [admin get ownership.reg];

Windows Registry Editor Version 5.00< Br>

[HKEY_CLASSES_ROOT*shellrunas]

@=“Administrator Takes Ownership&#>

“NoWorkingDirectory =“”

[HKEY_CLASSES_ROOT* Shellrunascommand]

@=“cmd.exe /c takeown /f ”%1“ && icacls ”%1“ /grant administrators:F”

“IsolatedCommand&rdquo ;=“cmd.exe /c takeown /f ”%1“ && icacls ”%1“ /grant administrators:F”

[HKEY_CLASSES_ROOTexefileshellrunas2]

@= “Administrator takes ownership”

“No WorkingDirectory”=“”

[HKEY_CLASSES_ROOTexefileshellrunas2command]

@=“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]

@=“Administrator Takes Ownership&#>

“NoWorkingDirectory =“”

[HKEY_CLASSES_ROOTDirectoryshellrunascommand]

@=“cmd.exe /c takeown /f ”%1“ /r /dy && icacls ”%1“ /grant administrators:F /t”

“IsolatedCommand&rdquo ;=“cmd.exe /c takeown /f ”%1“ /r /dy && icacls ”%1“ /grant administrators:F /t”

2, then save as The administrator takes ownership. reg (when saving, first select “ There are files & rdquo;);

3, Finally, double-click the created registry file to import the registry.

Just save the above code to Notepad, then change to reg format, inject into the registry to modify the registry key value, you can see the administrator's ownership option in the Win8.1 right-click menu. .

Copyright © Windows knowledge All Rights Reserved