开发者

Scripting Local Security Policy

开发者 https://www.devze.com 2022-12-09 00:31 出处:网络
On a servers Local Security Policy I need to give a user rights to \"Allow logon locally\". How do I do that开发者_高级运维 through a script?From the Windows 2003 Resource Kit you need to use the ntr

On a servers Local Security Policy I need to give a user rights to "Allow logon locally".

How do I do that开发者_高级运维 through a script?


From the Windows 2003 Resource Kit you need to use the ntrights.exe

ntrights -u userName +r SeInteractiveLogonRight

More details about ntrights here

0

精彩评论

暂无评论...
验证码 换一张
取 消