AndreB
02-04-2004, 05:58 AM
How I set a Service start automatic or manual without the
MMC? I need to do this via the command prompt or the
registry.
Thank you
Matthias Tacke
02-04-2004, 08:17 AM
"AndreB" wrote:
>How I set a Service start automatic or manual without the
>MMC? I need to do this via the command prompt or the
>registry.
>
>Thank you
Have a look at the free
http://www.sysinternals.com/ntw2k/freeware/psservice.shtml
--
Greetings
Matthias________________________________________
For help on nt commands enter in a cmd window:
W2K>HH windows.chm::ntcmds.htm XP>HH ntcmds.chm
Matthias Tacke
02-04-2004, 08:17 AM
"AndreB" wrote:
>How I set a Service start automatic or manual without the
>MMC? I need to do this via the command prompt or the
>registry.
>
>Thank you
Have a look at the free
http://www.sysinternals.com/ntw2k/freeware/psservice.shtml
--
Greetings
Matthias________________________________________
For help on nt commands enter in a cmd window:
W2K>HH windows.chm::ntcmds.htm XP>HH ntcmds.chm
Wadester
02-04-2004, 03:50 PM
AndreB [anonymous@discussions.microsoft.com] posted:
> How I set a Service start automatic or manual without the
> MMC? I need to do this via the command prompt or the
> registry.
>
> Thank you
You can use SC.EXE from the resource kit:
sc config MyService start= demand
[SC] ChangeServiceConfig SUCCESS
sc config MyService start= auto
[SC] ChangeServiceConfig SUCCESS
Note the space after the equals sign. You can use this locally or
remotely.
ws
--
The sea was angry that day, my friends. Like an old man, trying to send
back soup at a deli.
Wadester
02-04-2004, 03:50 PM
AndreB [anonymous@discussions.microsoft.com] posted:
> How I set a Service start automatic or manual without the
> MMC? I need to do this via the command prompt or the
> registry.
>
> Thank you
You can use SC.EXE from the resource kit:
sc config MyService start= demand
[SC] ChangeServiceConfig SUCCESS
sc config MyService start= auto
[SC] ChangeServiceConfig SUCCESS
Note the space after the equals sign. You can use this locally or
remotely.
ws
--
The sea was angry that day, my friends. Like an old man, trying to send
back soup at a deli.
Torgeir Bakken (MVP)
02-04-2004, 04:46 PM
Wadester wrote:
> You can use SC.EXE from the resource kit:
>
> sc config MyService start= demand
> [SC] ChangeServiceConfig SUCCESS
>
> sc config MyService start= auto
> [SC] ChangeServiceConfig SUCCESS
Hi
Many of the ResKit utilities, including SC.EXE are available free at:
ftp://ftp.microsoft.com/reskit/win2000/
and
http://www.microsoft.com/windows2000/techinfo/reskit/tools/default.asp
More about SC here:
Sc.exe: Service Controller Tool
http://www.tburke.net/info/reskittools/topics/sc.htm
--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter
Torgeir Bakken (MVP)
02-04-2004, 04:46 PM
Wadester wrote:
> You can use SC.EXE from the resource kit:
>
> sc config MyService start= demand
> [SC] ChangeServiceConfig SUCCESS
>
> sc config MyService start= auto
> [SC] ChangeServiceConfig SUCCESS
Hi
Many of the ResKit utilities, including SC.EXE are available free at:
ftp://ftp.microsoft.com/reskit/win2000/
and
http://www.microsoft.com/windows2000/techinfo/reskit/tools/default.asp
More about SC here:
Sc.exe: Service Controller Tool
http://www.tburke.net/info/reskittools/topics/sc.htm
--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter
David Wang [Msft]
02-04-2004, 10:59 PM
I use SC.EXE, available in the System32 directory from Windows 2000 onward.
The syntax of SC.EXE is a bit arcane and the spaces/characters must be
exact. It must be:
"start=" <space> "demand"
"start=" <space> "auto"
SC CONFIG "servicename" start= demand
--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"AndreB" <anonymous@discussions.microsoft.com> wrote in message
news:946501c3eae3$ed8de100$a301280a@phx.gbl...
How I set a Service start automatic or manual without the
MMC? I need to do this via the command prompt or the
registry.
Thank you
David Wang [Msft]
02-04-2004, 10:59 PM
I use SC.EXE, available in the System32 directory from Windows 2000 onward.
The syntax of SC.EXE is a bit arcane and the spaces/characters must be
exact. It must be:
"start=" <space> "demand"
"start=" <space> "auto"
SC CONFIG "servicename" start= demand
--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"AndreB" <anonymous@discussions.microsoft.com> wrote in message
news:946501c3eae3$ed8de100$a301280a@phx.gbl...
How I set a Service start automatic or manual without the
MMC? I need to do this via the command prompt or the
registry.
Thank you