Changing Local Security Policy Programmatically

廉价感情. 提交于 2019-12-14 02:16:32

问题


I want to change Local Security Policy "Interactive logon: do not require ctlr+alt+del" in C#. How can I do this?


回答1:


i found the answer i have to change in registry Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "DisableCAD"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system] "DisableCAD"=dword:00000001



来源:https://stackoverflow.com/questions/1789434/changing-local-security-policy-programmatically

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!