Oct 20, 2005 #1 sugu Programmer Jan 12, 2004 90 SG Hi, I would like to know how can i get a user start/stop certain services using windows script. thanks! su
Hi, I would like to know how can i get a user start/stop certain services using windows script. thanks! su
Oct 20, 2005 #2 jfc1003 IS-IT--Management May 2, 2002 146 US use the "net start" command. Type net start /? for more info. "net stop" will stop the service. the syntax I believe is "net start <service name>" >c:\net start messenger will start the messenger service. >c:\net stop messenger will stop the service Upvote 0 Downvote
use the "net start" command. Type net start /? for more info. "net stop" will stop the service. the syntax I believe is "net start <service name>" >c:\net start messenger will start the messenger service. >c:\net stop messenger will stop the service
Oct 21, 2005 #3 TheLad Technical User Aug 3, 2001 3,846 GB Don't forget, if the service has more than one word you have to put the service name in quotes. Eg. NET START "Event Log" ----------------------------------------------------- "It's true, its damn true!" ----------------------------------------------------- Upvote 0 Downvote
Don't forget, if the service has more than one word you have to put the service name in quotes. Eg. NET START "Event Log" ----------------------------------------------------- "It's true, its damn true!" -----------------------------------------------------