Enabling a Service from Command Line

  • Thread starter Thread starter Fakhruddin Zavery
  • Start date Start date
F

Fakhruddin Zavery

Hello,

I accidentally Disabled two of the RPC services using the GUI. However when
I try to Enable them again the properties sheet does not come up when I
right click on the particular service.

Is there any way I can Enable those services and Start them from the command
line. I know I can use the net start command to start and stop but how can I
enable them first?

Thanks in Advance for all the help.


--
Fakhruddin Zavery
Sr. Systems Analyst / Programmer
CATS Tanzania Ltd.
NIC Life House 4th Floor
P. O. Box 2569, Dar es Salaam, Tanzania
Tel. +255-22 2137915, 2112631
Fax +255-22 2113033, 2112916
Mob +255 744 277452
website: http://www.catsgroup.com
 
Regedit:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services

Locate the relevant service - look at the Startup entry:

2 = automatic
3 = manual
4 = disabled

Simply change the entry and then start the service.

Brendon
 
Hello,

I accidentally Disabled two of the RPC services using the GUI. However when
I try to Enable them again the properties sheet does not come up when I
right click on the particular service.

Is there any way I can Enable those services and Start them from the command
line. I know I can use the net start command to start and stop but how can I
enable them first?

Thanks in Advance for all the help.

See tip 324 in the 'Tips & Tricks' at http://www.jsiinc.com
After set the values, restart your computer.


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Back
Top