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 the permissions, run the program again, just like in the super administrator account.

There is also a case where the program is being manipulated and the file cannot be deleted. Enable the task manager to end all the 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 access to 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 &q Uot;%1" /grant administrators:F"

[HKEY_CLASSES_ROOTDirectoryshellrunas]

@="One-click access to super administrator privileges"

"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" ;=""

[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_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 access to super administrator privileges"

"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 /d y && icacls "%1" /grant administrators:F /t"

Create a new .txt text, copy and paste the following code into a file, save as or rename it to a .reg file , double-click this file or right click to merge this file.

Enabling an administrator account: running gpedit.msc -- Computer Configuration -- Windows Settings -- Security Settings -- Local Policies -- Security Options -- Accounts : Administrator Account Status -- Double-click to open the properties -- Enable -- OK.

Copyright © Windows knowledge All Rights Reserved