Using WIN8 to find the system folder is often prompted: unable to access ..., Access denied. Just because you don't have Super administrator privileges, it's easy to get WIN8 Super Administrator privileges, import a registry file, and do it easily.
Whether you are using WIN8 or Win7, when you open some folders in disk C, you often experience inaccessible conditions that you cannot delete if you want to delete files that have been identified as not being used. Win7 is very good to do, all kinds of tools can be implemented in the right key menu to add access to the Administrator button. Now the main introduction to the WIN8 under the right mouse button to add the option to get administrator permissions.
Create a new Notepad to save the following copy of the code, Notepad name does not matter, remember to change the extension to. reg on the line.
After the construction, double-click this reg file (registry file) to import the registry, before importing will be prompted to choose, point is on the line.
After you import it, right-click the folder you want to get permissions for, and select Administrator rights in the right mouse menu.
For security reasons, you should revert to the default permissions after you complete a file operation, and then select Restore Original Permissions in the right-click menu.
To obtain administrator privileges:
Windows Registry Editor Version 5.00
; Get File Modification permission
[Hkey_classes_root*shellrunas]
@= "Administrator 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]
@= "Administrator 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]
@= "Administrator Rights"
"Icon" = "c:windowssystem32imageres.dll,102"
"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"
Revert to original permissions:
Windows Registry Editor Version 5.00
; Restore Original permissions
[hkey_classes_root*shellrunas-]
@= "Restore Original Permissions"
"Icon" = "c:windowssystem32imageres.dll,101"
"Noworkingdirectory" = ""
; && takeown/f "%1"
[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"
"Icon" = "c:windowssystem32imageres.dll,101"
"Noworkingdirectory" = ""
[Hkey_classes_rootdirectoryshellrunas-command]
@= "cmd.exe/c takeown/f"%1 "/r/d y && icacls"%1 "/reset && cacls"%1 "/e/r"%%username%% ""
' Isolatedcommand ' = ' cmd.exe/c takeown/f '%1 '/r/d y && icacls '%1 '/reset && cacls '%1 '/e/r '%%usernam e%% ""
How to delete the added two right-click menu, also ask the great God to do a gadget upload, save one to the registry to delete.