Using CarbonDLLs and sc config I am able to grant the user
Logon As Service rights and also able to add the user as the Services’ Log on as account.
Previously I was getting
Logon Failure but after using carbon and powershell script I was able to remove that error by granting
Logon as Service permission to the account.
But now when I start the service I get the following error:
A privilege that the service requires to start does not exist in the Service Account....
For Service Account I’m using a user account from AD which is also added as a Local Administrator on the server on which I am changing the services’ log on as account.
For testing I was changing the Logon As Account of
Themes service which by default runs under the Local System Account. I don’t want to run it under Local System but under the Account Ive assigned