Win8 one-click access to administrator privileges tutorial

  
On the file or folder to get all permissions, right-click, one-click to get super administrator privileges, you can quickly get the highest authority in the general administrator account.
After getting permission, run the program again, just like in the super administrator account.
There is also a situation where a program is being manipulated and the file cannot be deleted. Enable the task manager to end all processes of the program and try to delete again.
The code is as follows:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellrunas]
@="One-click access to super administrator privileges"
"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]
@="One click to get super Administrator privileges "
"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]
@="One-click to get super administrator Limit "
"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"Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT*shellrunas]
@="One-click access to super administrator privileges"
"NoWorkingDirectory"=""< Br>[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 Ownership" ;
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOTexefileshel Lrunas2command]
@="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]
@="One-click access to super administrator privileges" Br>"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 "
Create a new .txt text, copy and paste the following code into a file, save it as or rename it to a .reg file, double-click this file or right click to merge the file.
Enable Administrator Account: Run gpedit.msc -- Computer Configuration -- Windows Settings -- Security Settings -- Local Policies -- Security Options -- Accounts : Administrator Account Status -- Double-click to open Properties -- Enable -- OK.

Copyright © Windows knowledge All Rights Reserved