enabling a service which is disabled

A

amz

Hi!
I want to enable a service from the command prompt which is disabled in
services.msc. I don't want to go to services.msc first and then change it's
state to MANUAL and then enable it from command prompt.

Thankx!
 
T

Torgeir Bakken (MVP)

amz said:
I want to enable a service from the command prompt which is disabled in
services.msc. I don't want to go to services.msc first and then change it's
state to MANUAL and then enable it from command prompt.

Hi

A)
Sysinternals has a command line utility PsService.exe that can do this:

http://www.sysinternals.com/ntw2k/freeware/pstools.shtml


B)
You can use Microsoft's command line utility SC.exe for this.

For WinXP, SC.exe is built in. Look up SC.exe in WinXP's "Help and Support
Center".

For Win2k:

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
 

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

Top