How do win8 users get

  

When using win8 friends to open some system permissions, they will always encounter the situation without permission to access, or when deleting some files, it will be inoperable because of insufficient permissions. So how do you get the highest privilege for win8? Xiaobian gives you two tricks
How win8 users get the highest authority

First move We go back to the classic desktop, right click on the computer --- management --- local users and groups --- users, this time We can see the Administrator, then right click on the Administrator property and remove the account disabled hook.
How to get the highest authority for win8 users

At this time, we have the combination key CRTL+ALT+DEL, and choose to switch users to log in with the Administrator account.
How to get the highest authority for win8 users

The second trick Import the registry, create a new notebook, copy the following code into it, and then change the file suffix name to .reg, double-click to run.

Get Administrator Permissions

Windows Registry Editor Version 5.00

;Get File Modification Permissions

[HKEY_CLASSES_ROOT\\*\\shell\ unas]

@="Administrative Rights"

"Icon"="C:\\\\Windows\\\\System32\\\\imageres.dll,102"

"NoWorkingDirectory" ;="" [HKEY_CLASSES_ROOT\\*\\shell\ unas\\command]

@="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_ROOT\\exefile\\shell\ unas2]

@="Administrative Rights"

"Icon"="C:\\ \\Windows\\\\System32\\\\imageres.dll,102"

"NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\\exefile\\shell\ unas2\\command]

@="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_ROOT\\Directory\\shell\\ Runas]

@="Administrative Rights"

"Icon"="C:\\\\Windows\\\\System32\\\\imageres.dll,102"

"NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\\Directory\\shell\ unas\\command]

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

2, restore the original permissions: Windows Registry Editor Version 5.00

Restore original permissions

[HKEY_CLASSES_ROOT\\*\\shell\ unas-]

@="Restore original permissions"

"Icon"="C: \\\\Windows\\\\System32\\\\imageres.dll,101"

"NoWorkingDirectory"=""

; & Amp;& takeown /f \\"%1\\"

[HKEY_CLASSES_ROOT\\*\\shell\ unas-\\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_ROOT\\exefile\\shell\ unas2-]

@="Recover original Permissions"

"Icon"="C:\\\\Windows\\\\System32\\\\imageres.dll,101"

"NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\\ Exefile\\shell\ unas2-\\command]

@="cmd.exe /c takeown /f \\"%1\\" && icacls \\"%1\\" /reset && cacls \\"%1\\" /e /r \\"%%USERNAME%%\\""

"IsolatedCommand"="cmd.exe /c takeown /f \\"%1\\" && icacls \\"%1\\" /re Set && cacls \\"%1\\" /e /r \\"%%USERNAME%%\\"" [HKEY_CLASSES_ROOT\\Directory\\shell\ unas-]

@=" ; Restore original permissions "

"Icon"="C:\\\\Windows\\\\System32\\\\imageres.dll,101"

"NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\\Directory\\shell\ unas-\\command]

@="cmd.exe /c takeown /f \\"%1\\" /r /dy && icacls \\" %1\\" /reset && cacls \\"%1\\" /e /r \\"%%USERNAME%%\\""

"IsolatedCommand"=" Cmd.exe /c takeown /f \\"%1\\" /r /dy && icacls \\"%1\\" /reset && cacls \\"%1\\" /e /r \\"%%USERNAME%%\\""

After double-clicking these two files, the functions we need will be automatically injected into the registry, and a right-click menu will appear. Administrator privileges and an option to restore the original permissions, want to perform operations on what files, presumably do not need to Xiaobian here to talk about it.
How win8 users get the highest authority

Copyright © Windows knowledge All Rights Reserved