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

I am trying to stop and start services remotely using the username and password of a local user that is a admin on the machine on which the services run.

sc \\remotePC start someService username someUser password somePassword

doesn't seem to work, but when I try it with a domain user that has admin rights, it works fine.

Any help would be greatly appreciated!

share|improve this question
1  
You use command "... username remotePCname\someUser ...", right? – alexy Sep 3 '09 at 17:12
up vote 2 down vote accepted

Try changing username to machine_name\username - eg. pc999\joe_bloggs

share|improve this answer
    
Yep, that's it. I feel pretty silly right now. Thanks alot!! – user19285 Sep 4 '09 at 6:46

Your Answer

 
discard

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