1, first set up Notepad, copy the following code into Notepad, save as a. reg format, double-click the registry to obtain administrator privileges.
Windows Registry Editor Version 5.00
[-hkey_classes_root*shellrunas]
[Hkey_classes_root*shellrunas]
@= "Get Super Administrator rights"
"Icon" = "c:windowssystem32imageres.dll,-78"
"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_rootdirectoryshellrunas]
[Hkey_classes_rootdirectoryshellrunas]
@= "Get Super Administrator rights"
"Icon" = "c:windowssystem32imageres.dll,-78"
"Noworkingdirectory" = ""
[Hkey_classes_rootdirectoryshellrunascommand]
@= "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"
[-hkey_classes_rootdllfileshell]
[Hkey_classes_rootdllfileshellrunas]
@= "Get Super Administrator rights"
"Hasluashield" = ""
"Noworkingdirectory" = ""
[Hkey_classes_rootdllfileshellrunascommand]
@= "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_rootdriveshellrunas]
[Hkey_classes_rootdriveshellrunas]
@= "Get Super Administrator rights"
"Icon" = "c:windowssystem32imageres.dll,-78"
"Noworkingdirectory" = ""
[Hkey_classes_rootdriveshellrunascommand]
@= "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"
2, remove administrator rights. Copy code The new Notepad is pasted into Notepad and saved as a. reg format, based on the steps above, and double-click to remove administrator permissions.
Windows Registry Editor Version 5.00
[-hkey_classes_root*shellrunas]
[-hkey_classes_rootdirectoryshellrunas]
[-hkey_classes_rootdllfileshell]
[-hkey_classes_rootdriveshellrunas]
[-hkey_classes_rootexefileshellrunas]
[Hkey_classes_rootexefileshellrunas]
"Hasluashield" = ""
[Hkey_classes_rootexefileshellrunascommand]
@= ""%1 "%*"
' Isolatedcommand ' = ' '%1 '%* '
Using the registry to get Win8.1 Super Administrator privileges is more convenient, although the registry needs to be modified, but we use the way to import the registry, users can not worry about registry modification errors.