Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can this problem be solved?

I know there is a sc utility, but I don't know how to assign the Local Service account to the obj parameter (because of the spaces in the name), and how to assign a blank password (I assume Local Service account has a blank password) to the password parameter.

share|improve this question
What version of Windows is this? – uSlackr Jun 8 '11 at 13:06
I'm testing this on Win7 but it should apply to XP as well and corresponding server versions – alh84001 Jun 8 '11 at 13:09
up vote 0 down vote accepted

This should work: SC CONFIG MyService binPath=c:\myprogram.exe obj=".\LocalSystem" password=""

share|improve this answer
Look at some of the examples here: – Chris N Jun 8 '11 at 13:16
Thank you. I took that last example, and played with it and finally got it to work with SC.EXE CONFIG MyServiceName obj= "\Local Service" password= "" – alh84001 Jun 8 '11 at 15:09

Regarding previous comment, be aware that Local System and Local Service is not the same account. Local Service has much less rights.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.