Using Win8 to find the system folder is often prompted: can not access … …, denied access. It is because there is no super administrator authority. It is very easy to obtain Win8 super administrator privileges. Importing a registry file can be realized, and the operation is simple.
Regardless of whether you use Win8 or Win7, when you open some folders on the C drive, you will often encounter inaccessible situations, so that you can't delete the files that have been confirmed to be useless. Win7 is very easy to do, all kinds of tools can be added in the right-click menu to get the admin rights button. Now I mainly introduce how to add the option of obtaining administrator rights for the right mouse button menu under Win8.
Create a new notebook and copy the code below to save it. The name of the notebook does not matter. Remember to change the extension to .reg.
After you have created it, double-click the reg file (registry file) to import the registry. You will be prompted to choose before importing. The point is OK.
After importing, right click on the folder you want to get permission to, select the administrator permission in the right mouse button menu.
For security reasons, after a file operation is completed, it should be restored to the default permissions. In this case, select Restore original permissions in the right-click menu.
Get administrator privileges:
Windows Registry Editor Version 5.00
;Get file modification permissions
[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"
Revert to original permissions:
Windows Registry Editor Version 5.00
;Restore original Permissions
[HKEY_CLASSES_ROOT*shellrunas-]
@="Restore original permissions"
&q Uot;Icon"="C:WindowsSystem32imageres.dll,101"
"NoWorkingDirectory"=""
; && takeown /f "%1"< Br>
[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"< Br>
"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%%""
How to delete the two added right-click menus, also ask God to make a gadget upload Save one by one Delete the registry.
Winodws 8 has a traditional desktop and a new tile interface. T
Some users report that after installing Win8.1, the mouse and keyboard stop working, but Microsoft h
A user Win8.1 system installation update prompts the installation is successful, you need to restart
How to change the Windows 8 Consumer Preview Start Menu View
How to operate the account synchronization setting in Win8 system
Talking about the updated content of AdobeReader in Win8.1 system
What if the win8 system does not have a sleep option?
How to retrieve the win8/win8.1 webpage password
How to achieve automatic connection of broadband when Windows 8.1 is started
How to retrieve the American keyboard under the Win 8 system
Win8 solves the trouble of system image production
Win8.1 Update can not uninstall IIS how to do
How to use the router to limit the network speed of Windows8 system computer
How to deal with the Win8 application flashback problem
Win8/Win8.1 webpage and application storage password retrieval method
Several experiences of efficient use of Windows 7 system memory
Win10 conference: Which questions are most urgently answered?
Linux part of the system management command usage summary
What should I do if the Windows 8 taskbar icon shows an exception?
Win10 preview version of the virtual desktop usage and skills introduction
Win10 Xiaona icon how to change the
Can't cancel the self-starting program? It turns out that WinXP has backdoor
Windows XP configuration PPPOE dial-up broadband connection graphic routine