Win8 system to get super administrator permissions method

  

Using Win8 to find the system folder is often prompted: can not access … …, denied access. It is because there is no super administrator authority. It is very easy to obtain Win8 super administrator privileges. Importing a registry file can be realized, and the operation is simple.

Regardless of whether you use Win8 or Win7, when you open some folders on the C drive, you will often encounter inaccessible situations, so that you can't delete the files that have been confirmed to be useless. Win7 is very easy to do, all kinds of tools can be added in the right-click menu to get the admin rights button. Now I mainly introduce how to add the option of obtaining administrator rights for the right mouse button menu under Win8.

Create a new notebook and copy the code below to save it. The name of the notebook does not matter. Remember to change the extension to .reg.

After you have created it, double-click the reg file (registry file) to import the registry. You will be prompted to choose before importing. The point is OK.

After importing, right click on the folder you want to get permission to, select the administrator permission in the right mouse button menu.

For security reasons, after a file operation is completed, it should be restored to the default permissions. In this case, select Restore original permissions in the right-click menu.

Get administrator privileges:

Windows Registry Editor Version 5.00

;Get file modification permissions

[HKEY_CLASSES_ROOT*shellrunas]

@="Administrative Rights"

"Icon"="C:WindowsSystem32imageres.dll,102"

"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT*shellrunascommand]

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

@="Administrative Rights"

"Icon"="C:WindowsSystem32imageres.dll,102"

"NoWorkingDirectory"=""

[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]

@="Administrative Rights"

"Icon"="C:WindowsSystem32imageres.dll, 102"

"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOTDirectoryshellrunascommand]

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

"IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /Dy && icacls "%1" /grant administrators:F /t"

Revert to original permissions:

Windows Registry Editor Version 5.00

;Restore original Permissions

[HKEY_CLASSES_ROOT*shellrunas-]

@="Restore original permissions"

&q Uot;Icon"="C:WindowsSystem32imageres.dll,101"

"NoWorkingDirectory"=""

; && takeown /f "%1"< Br>

[HKEY_CLASSES_ROOT*shellrunas-command]

@="cmd.exe /c takeown /f "%1" && icacls "%1" /reset && ; cacls "%1" /e /r "%%USERNAME%%""

"IsolatedCommand"="cmd.exe /c takeown /f "%1" & & icacls "%1" /reset && cacls "%1" /e /r "%%USERNAME%%""

[HKEY_CLASSES_ROOTexefileshellrunas2-]

@="Restore original permissions"

"Icon"="C:WindowsSystem32imageres.dll,101"

"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOTexefileshellrunas2-command]

@="cmd.exe /c takeown /f "%1" && icacls "%1" /reset && cacls "% 1" /e /r "%%USERNAME%%""

"IsolatedCommand"="cmd.exe /c takeown /f "%1" && icacls "%1" /reset & ;& cacls "%1" /e /r "%%USERNAME%%""

[HKEY_CLASSES_ROOTDirectoryshellrunas-]

@="Restore original permissions"< Br>

"Icon"="C:WindowsSystem32imageres.dll,101"

"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOTDirectoryshellrunas-command]

@="cmd.exe /c takeown /f "%1" /r /dy && icacls "%1" /reset && cacls "%1" /e /r " ;%%USERNAME%%""

"IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /dy && icacls "%1" /reset &&cacls "%1" /e /r "%%USERNAME%%""

How to delete the two added right-click menus, also ask God to make a gadget upload Save one by one Delete the registry.

Copyright © Windows knowledge All Rights Reserved