Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.