命令行禁用 UAC

来源:互联网 发布:文华期货套利软件 编辑:程序博客网 时间:2024/05/29 04:33

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.

 


参考链接:

http://msdn.microsoft.com/en-us/library/cc232765.aspx

原创粉丝点击