Enabling a Service from Command Line

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
 
B

Brendon Rogers

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
 
J

Jerold Schulman

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
 

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

Similar Threads


Top