This period of time the computer C partition more than a lot of useless files, and not in the same directory, search out to delete the prompt without administrator rights, need to modify in the right-click Properties, very troublesome, and then query the discovery can be in the file right-click menu to add a Get permission menu items, so it is easy to use.
method is to modify the registry, in order to make it easier to create a new text document, and then rename the file name suffix. txt to the. Reg,reg Action Registry file format, as if:
For example, add the registry. Reg in the code below:
Windows Registry Editor Version 5.00
[Hkey_classes_root\*\shell\runas]
@= "Get Permission"
"Noworkingdirectory" = ""
[Hkey_classes_root\*\shell\runas\command]
@= "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_root\directory\shell\runas]
@= "Get Permission"
"Noworkingdirectory" = ""
[Hkey_classes_root\directory\shell\runas\command]
@= "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"
Then save the above content, double-click Add Registry. Reg, then click the "Continue" button to add the success, at this time the file's right-click menu will appear "get permission", such as:
If you do not want to use it later, you can enter the following code in the release. Reg:
Windows Registry Editor Version 5.00
[-hkey_classes_root\*\shell\runas]
[-hkey_classes_root\directory\shell\runas]
You can import it after saving it.
Add menu items with Full Control permission under Windows to the right mouse button