| Next: Installing XP from a USB memory stick |
| Author |
Message |
MicroFox External

Since: Nov 03, 2006 Posts: 59
|
Posted: Sat Nov 04, 2006 1:56 pm Post subject: start services via batch file? Archived from groups: microsoft>public>windowsxp>customize, others (more info?) |
|
|
O have set some services to manual,
and I would like to start them all (4 of them) with one
batch file..
how will I do this?
thanks |
|
| Back to top |
|
 |
"Pegasus External

Since: Oct 14, 2005 Posts: 4688
|
Posted: Sat Nov 04, 2006 11:02 pm Post subject: Re: start services via batch file? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
"MicroFox" <-> wrote in message
news:%23JhalhAAHHA.4680@TK2MSFTNGP04.phx.gbl...
> O have set some services to manual,
> and I would like to start them all (4 of them) with one
> batch file..
>
> how will I do this?
>
> thanks
>
>
@echo off
net start "Name of Service 1"
net start "Name of Service 2"
net start "Name of Service 3"
net start "Name of Service 4"
P.S. Please go easy with your cross-posts, especially
when asking such simple questions. |
|
| Back to top |
|
 |
MicroFox External

Since: Nov 03, 2006 Posts: 59
|
Posted: Sat Nov 04, 2006 11:02 pm Post subject: Re: start services via batch file? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Sorry, I didnt think it was an easy question since I posted the same
question some time ago and no one had an answer!
To stop the services do I do this? or what?
Net stop "name of service" ?
Also what do you mean with service name?
See this pic: http://img97.imageshack.us/img97/9019/vmware01fw3.jpg
Do you mean the service name that is displayed here as
"VMnetDHCP" ? So I just enter that inside the quotes in your example?
Thanks
"Pegasus (MVP)" <I.can RemoveThis @fly.com> wrote in message
news:ObExSkAAHHA.4496@TK2MSFTNGP02.phx.gbl...
>
> "MicroFox" <-> wrote in message
> news:%23JhalhAAHHA.4680@TK2MSFTNGP04.phx.gbl...
>> O have set some services to manual,
>> and I would like to start them all (4 of them) with one
>> batch file..
>>
>> how will I do this?
>>
>> thanks
>>
>>
>
> @echo off
> net start "Name of Service 1"
> net start "Name of Service 2"
> net start "Name of Service 3"
> net start "Name of Service 4"
>
> P.S. Please go easy with your cross-posts, especially
> when asking such simple questions.
>
> |
|
| Back to top |
|
 |
MicroFox External

Since: Nov 03, 2006 Posts: 59
|
Posted: Sat Nov 04, 2006 11:02 pm Post subject: Re: start services via batch file? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
I tried it but it says "the service name is invalid"
"Pegasus (MVP)" <I.can RemoveThis @fly.com> wrote in message
news:ObExSkAAHHA.4496@TK2MSFTNGP02.phx.gbl...
>
> "MicroFox" <-> wrote in message
> news:%23JhalhAAHHA.4680@TK2MSFTNGP04.phx.gbl...
>> O have set some services to manual,
>> and I would like to start them all (4 of them) with one
>> batch file..
>>
>> how will I do this?
>>
>> thanks
>>
>>
>
> @echo off
> net start "Name of Service 1"
> net start "Name of Service 2"
> net start "Name of Service 3"
> net start "Name of Service 4"
>
> P.S. Please go easy with your cross-posts, especially
> when asking such simple questions.
>
> |
|
| Back to top |
|
 |
"Pegasus External

Since: Oct 14, 2005 Posts: 4688
|
Posted: Sat Nov 04, 2006 11:56 pm Post subject: Re: start services via batch file? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
"net stop" is correct. You can omit the double quotes for
service names consisting of a single word, e.g.
net stop server
Run the command "services.msc" to see the correct names
of your services.
"MicroFox" <-> wrote in message
news:uhFf81AAHHA.4212@TK2MSFTNGP02.phx.gbl...
> Sorry, I didnt think it was an easy question since I posted the same
> question some time ago and no one had an answer!
>
> To stop the services do I do this? or what?
>
> Net stop "name of service" ?
>
> Also what do you mean with service name?
> See this pic: http://img97.imageshack.us/img97/9019/vmware01fw3.jpg
>
> Do you mean the service name that is displayed here as
> "VMnetDHCP" ? So I just enter that inside the quotes in your example?
>
> Thanks
>
>
> "Pegasus (MVP)" <I.can RemoveThis @fly.com> wrote in message
> news:ObExSkAAHHA.4496@TK2MSFTNGP02.phx.gbl...
> >
> > "MicroFox" <-> wrote in message
> > news:%23JhalhAAHHA.4680@TK2MSFTNGP04.phx.gbl...
> >> O have set some services to manual,
> >> and I would like to start them all (4 of them) with one
> >> batch file..
> >>
> >> how will I do this?
> >>
> >> thanks
> >>
> >>
> >
> > @echo off
> > net start "Name of Service 1"
> > net start "Name of Service 2"
> > net start "Name of Service 3"
> > net start "Name of Service 4"
> >
> > P.S. Please go easy with your cross-posts, especially
> > when asking such simple questions.
> >
> >
>
> |
|
| Back to top |
|
 |
|