Win8 a key to get Administrator privileges tutorial

Source: Internet
Author: User

In a file or folder that you want to get all permissions on, right-click, and a key to get Super Administrator privileges, you can quickly get the highest privileges in the normal administrator account.

After you get the permissions, run the program just as you would in the Super administrator account.

Another situation is that because a program is manipulating the file causing the deletion, enabling Task Manager to end all processes in the program and then try to delete again.

The code is as follows:

Windows Registry Editor Version 5.00

[Hkey_classes_root*shellrunas]

@= "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]

@= "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"%1 "/grant administrators:f"

[Hkey_classes_rootdirectoryshellrunas]

@= "Access to Super Administrator privileges"

"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" Windows Registry E Ditor Version 5.00

[Hkey_classes_root*shellrunas]

@= "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 gets 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]

@= "Access to Super Administrator privileges"

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

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

Enable Administrator account: Run Gpedit.msc--Computer Configuration--Windows Settings--security settings--local policy--security options--account: Admin account status--double-click Open Properties--enable--OK.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.