How to get win7 administrator privileges

  

1. Right click on "computer”, go to “manage" find “users and groups>

2. Find administrators, right click on properties , remove the "check the account has been disabled" & rdquo; Back to the desktop

3. New “Notepad”, copy as follows:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT*shellrunas]

@="Administrator Takes Ownership"

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

@="Administrator Ownership"

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

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

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

Copyright © Windows knowledge All Rights Reserved