win10 inside how to obtain the highest administrator privileges

Windows10 Pro

1, call up the bond press win + R "Run" window, enter gpedit.msc.

 

 

2, then open the Group Policy Editor, find "computer configuration -Windows settings" and then enter the right "Security Settings", as shown on the left.

 

 

3, enter "local policy" as.

 

 

4, into the "Security Options" as shown.

 

 

5, to decline, to find the "User Account Control: Run all administrators in Admin Approval Mode" and "User Account Control: a built-in administrator account in Admin Approval Mode" These two, as shown.

 

 

6, respectively, select it and click the right mouse button, then click "Properties" to enter the configuration window, these two are respectively set to "disabled", then click "OK", as shown.

 

 

7, restart the computer, the operation is complete!

Windows10 Home Edition and other

1, the following code will be copied into txt.

 1 Windows Registry Editor Version 5.00
 2 [HKEY_CLASSES_ROOT\*\shell\runas] 
 3 @="获取管理员权限" 
 4 "NoWorkingDirectory"="" 
 5 [HKEY_CLASSES_ROOT\*\shell\runas\command] 
 6 @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F" "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F" 
 7 [HKEY_CLASSES_ROOT\exefile\shell\runas2] 
 8 @="获取管理员权限" 
 9 "NoWorkingDirectory"="" 
10 [HKEY_CLASSES_ROOT\exefile\shell\runas2\command] 
11 @="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] 
12 @="获取管理员权限" 
13 "NoWorkingDirectory"="" 
14 [HKEY_CLASSES_ROOT\Directory\shell\runas\command] 
15 @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t" 
16 "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
View Code

2,保存。

然后保存为后缀名reg格式

右键该文件并且选择合并--->确认

即可在右键中添加超级管理员权限

Guess you like

Origin www.cnblogs.com/Sky-Raining/p/11184099.html