Win8 super administrator permissions to open and close

  
First, how to get win8 super administrator permissions
We only need to modify the registry to open the win8 super administrator permissions, most of the netizens on the registry this aspect It is unfamiliar, and it is not recommended to go inside the registry to make changes. So we can create a new registry file and import the registry file into the registry. First, create a new Notepad txt file on the desktop and copy the following code to Notepad. Then save its Notepad file as a .reg file with a suffix of .reg. As shown:

Find this suffix named .reg file. Double-click to run the .reg file and click on “OK” to import the file into the registry. The specific code is as follows:
Windows Registry Editor Version 5.00
; Get file modification permission
[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"
Second, win8 super administrator permission off
When we need to detect whether the system has enabled super administrator rights, just right click on the folder you want to obtain permission, select from the right mouse button menu Just select the administrator privilege, so that you can open the running program normally.
This reminds everyone If you don't know enough, please don't open the super administrator because of curiosity. Using the super administrator to log in to the system means opening the door for all kinds of malware. Let the machine running under super administrator privileges be in crisis. It is recommended not to turn it on under normal circumstances. If the super administrator privilege is enabled under special circumstances, you should also close this super admin right in time to restore the identity of the normal admin, which is also restored by importing the registry reg file. First enter the following code, and then open the super administrator's operation steps are not raised, the specific code to restore win8 super administrator permissions is as follows:
Windows Registry Editor Version 5.00
; restore the original permissions
[HKEY_CLASSES_ROOT*shellrunas -]
@="Restore original permissions"
"Icon"="C:WindowsSystem32imageres.dll,101"
"NoWorkingDirectory"=""
; & & takeown /f "%1"
[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"
"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% %""

Copyright © Windows knowledge All Rights Reserved