Wednesday, October 26, 2011

Log on failure for specific user after configuring service via sc.exe


On the host where the service should be running start gpedit.msc. Expand "[Local Computer Policy]\[Windows Settings]\[Security Settings]\[Local Policies]". Click [User Rights Assignment].

Resolving logon problem on trying to start them up via sc.exe

On the right-hand pane double-click the "Log on as a service" policy.
Add the user on behalf of which you're going to run the service. Apply the changes.

That's it

No comments:

Post a Comment