Win7 and Win8 right add add admin rights command

  
In win7 and win8 or other NT 6 or above systems, many folders can't be opened as easily as XP, and they will not be opened without permission, especially the temporary directories generated in some partition roots after installing some software. And the file, but will prompt that the file access is denied, you need permission to operate on these files, then if we have a tool to delete the license is very convenient and fast. In fact, we can quickly get administrator privileges on these files and directories by right-clicking on the win7 or win8 system and adding the admin rights command.
To increase the right click for win7 and win8, the method of obtaining the admin rights & rdquo; command is as follows.
In win7 or win8 system, open Notepad and copy the following content:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellrunas]
@="Get Administrator Ownership"
"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]< Br>@="Get Administrator Ownership"
"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]< Br>@="Get Administrator Ownership"
"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"
Save as a .bat file, such as “Get Administrator Permissions.bat”:

Right-click on Saved “ Get the administrator rights.bat” program, select “ merge & rdquo; command from the pop-up shortcut menu:

Select "ld" from the pop-up registry editing dialog box to confirm the merge registry:

At this time, the win7 and win8 right clicks have already had a command to get the admin rights & rdquo;, we can right click on any file or folder, you can right click and select “ Permissions & rdquo; command to quickly get administrator privileges:

Pop up DOS window to get administrator Limit:

obtain administrator privileges Baidu network disk download link: http://pan.baidu.com/s/1jGG7hIm, extract password: 9td4

Copyright © Windows knowledge All Rights Reserved