How to get win7 administrator privileges

  
        

1. Right click on "Computer”, go to “Manage"Find “Users and Groups>

2.Find administrators, right click on the properties, and the account is disabled. ” The front hook is removed. Back to the desktop

3. New “Notepad”, copy as follows:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\\*\\shell\ unas]

@="Administrator Ownership"

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

@="Administrator Ownership"

"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\\exefile\\shell\ unas2\\ Command]

@="cmd.exe /c takeown /f \\"%1\\" && icacls \\"%1\\" /grant administrators:F"

"IsolatedCommand&q Uot;="cmd.exe /c takeown /f \\"%1\\" && icacls \\"%1\\" /grant administrators:F"

[HKEY_CLASSES_ROOT\\Directory \\shell\ unas]

@="Administrator Ownership"

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

Ok, save as a random name, the suffix must be .reg, name it "ld7; win7 to get administrator privileges. reg",

The saved registry information is imported, so you get the WIN7 administrator privileges.

Copyright © Windows knowledge All Rights Reserved