C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
0为禁用
1为默认
-
Key: SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
-
Value: "EnableLUA"
-
Type: REG_DWORD
-
Data: This MUST be a value in the following table.
Value
Meaning
0x00000000
Disabling this policy disables the "administrator in Admin Approval Mode" user type.
0x00000001
This policy enables the "administrator in Admin Approval Mode" user type while also enabling all other User Account Control (UAC) policies.
参考链接: