The possibility of misoperation in Win7 causes some file directories to have administrator privileges to remove or change, and therefore require administrator privileges. However, in the newly installed system, there is no "Get administrator rights" menu item in the right key, so you need to add it manually:
By creating a new file with administrator permissions. Reg, you can use the editor to open and copy the following, and then save the double-click to add it to the registry:
XML code
Windows Registry Editor Version 5.00
[Hkey_classes_root*shellrunas]
@= "Get administrator rights"
"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]
@= "Get administrator rights"
"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]
@= "Get administrator rights"
"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"