Using SC.exe to set service credentials password fails

后端 未结 8 1073
野性不改
野性不改 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:34

    Try This. Start menu - type "local security policy" without the quotes. Open the "Local Policies", then left-click on "User Rights Assignment". On the right panel, right-click on "Log on as a service", and select "Properties". Click on "Add User or Group" and add your user. Click OK. You might have to reboot your machine.

    After adding you can set the user name and password for the service in cmd.

提交回复
热议问题