Using SC.exe to set service credentials password fails

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

    To enable log on as a service via script I've written this, you can use it as is or pull out what is useful to you

    https://raw.githubusercontent.com/cdaf/windows/master/automation/provisioning/setServiceLogon.ps1

提交回复
热议问题