Using powershell, how do I grant “Log on as service” to an account?

后端 未结 8 862
感情败类
感情败类 2020-12-15 17:40

I\'m trying to use powershell to configure the account credentials, but I need to grant the account \"Log on as a service\" right in order for it to work. How can I do this

8条回答
  •  感情败类
    2020-12-15 18:27

    Here's a link that you could also do within PS: original | archived.

    The problem is that there aren't really any public APIs for managing these settings, so you're a bit stuck using command-line tools provided in ResKits.

提交回复
热议问题