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
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论