Using SC.exe to set service credentials password fails

后端 未结 8 1084
野性不改
野性不改 2020-12-10 14:05

I know this question has been asked in the past, but a satisfactory answer has not been provided.

I am using the SC command to config the credentials for a service.<

8条回答
  •  庸人自扰
    2020-12-10 14:23

    When you configure a service to run under a specific account via the normal route from the service properties windows automatically grants the account the log in as service right. When you use sc.exe you also have to grant the user the log on as service right.

    Log On As Service Right

提交回复
热议问题