ptea
asked on
How to start a service from CMD with start parameters
Hi there,
in the services.msc I can start a service and provide it with specific start parameters. But how can I do that from the command line? With net start or sc I'm not able to do that, RegChange is also not an option because I have to do this one time on 100+ servers.
Cheerio
in the services.msc I can start a service and provide it with specific start parameters. But how can I do that from the command line? With net start or sc I'm not able to do that, RegChange is also not an option because I have to do this one time on 100+ servers.
Cheerio
ASKER
Thanks for your response - It's not a problem for me to distribute the service restart over several servers. My question is - how to provide the start parameters from the command line.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
great - thanks
(* you should have domain adminstrator access right.... )
- Sysinternals' (now Microsoft) psexec utility from
http://technet.microsoft.com/en-us/sysinternals/default.aspx
- Sample
https://www.experts-exchange.com/questions/23071649/Restart-network-pc's-with-psshutdown-or-psexec.html
http://forum.sysinternals.com/forum_posts.asp?TID=11531&PN=1