WIN8 Super Administrator privileges on and off

Source: Internet
Author: User
Tags reset

First, how to obtain WIN8 Super Administrator rights

We only need to modify the registry to open the Win8 Super Administrator's privileges, most of the users of the registry is not familiar with this aspect, do not recommend to the internal registry to amend. So we can create a new registry file and import the registry file into the registry. First, create a new Notepad TXT file on your desktop and copy the following code to Notepad. Then save its Notepad file as a. reg file with a suffix named. As shown in the figure:

Find this suffix named. reg file. When you double-click to run the. reg format file, you can import the file into the registry by clicking OK. The specific code is as follows:

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"

Second, Win8 Super Administrator privileges shutdown

When we need to detect whether the system has Super Administrator privileges, just right-click the folder you want to access permissions, the right mouse button to select the administrator to select the permissions on the line, so that the normal open the running program.

So, if you don't know much about this, please don't open the Super administrator for Curiosity, and use the Super Admin login system, which also means opening the door for all kinds of malware. Let the machines running under Super admin privileges be in crisis. It is recommended that you do not open it in general. If the super Admin privileges are turned on under special circumstances, it is also time to turn off the Super administrator and restore the identity of the ordinary administrator by importing the registry reg file. Enter the following code first, and then follow the steps to open the Super Administrator, and restore the WIN8 Super Administrator privileges to the following specific code:

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

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.