Cmd line services disable

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

Can anyone advise on how to disable a service on a W2K server from the
command line, stopping it running immediately and also disabling it on a
subsequent server reboot?

Thanks in advance.
 
Hi

Can anyone advise on how to disable a service on a W2K server from the
command line, stopping it running immediately and also disabling it on a
subsequent server reboot?

Thanks in advance.

There are a number of ways.

To stop a service, use either:

net stop "Service display name"

or

net stop servicekey

Example:

net stop "Routing and Remote Access"

or

net stop RemoteAccess


To disable it, set the Start Value Name, REG_DWORD data type, to 4.

I prefer yo use REG.EXE, installed from the Support Tools on the W2K CD-ROM.

REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\RemoteAccess" /V Start /T REG_DWORD /F /D 4
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top