Re: Script to control Server
- From: "Todd J Heron" <todd_heron_no_spam@xxxxxxxxxxx>
- Date: Fri, 19 Aug 2005 06:46:50 -0400
Oops, you're right. :-)
--
Todd
"Andrew Mitchell" <amitchell@xxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:Xns96B7D2AB1103CAA12F32EDB83F@xxxxxxxxxxxxxxxx
"Todd J Heron" <todd_heron_no_spam@xxxxxxxxxxx> said
> Create a one-line script with this entry:
>
> shutdown -t 30 -r
>
I thought he said shutdown a *service*, not server.
Try 'Net stop %servicename%' and 'Net Start %servicename%'
eg. To restart the print spooler you would use:
NET STOP SPOOLER
NET START SPOOLER
Just type NET START at a command prompt to get the list of all service names
you can use in this command.
--
Andy.
.
- Follow-Ups:
- Re: Script to control Server
- From: Sharad Naik
- Re: Script to control Server
- References:
- Script to control Server
- From: Sharad Naik
- Re: Script to control Server
- From: Todd J Heron
- Re: Script to control Server
- From: Andrew Mitchell
- Script to control Server
- Prev by Date: Re: Script to control Server
- Next by Date: Re: Server Stop Error
- Previous by thread: Re: Script to control Server
- Next by thread: Re: Script to control Server
- Index(es):
Relevant Pages
|