Jump to content
Sign in to follow this  
vickerps

Change A Service Startup

Recommended Posts

vickerps

Hi Guys

Is there any way of changing a service startup under NT / XP.

Net Start and stop are useful but they don't change the startup from being manual to automatic

I am writing a script via autoit to change this but I do not want to use send commands. Is there anyway of changing via commandline or does anyone know of a util that can do this.

Share this post


Link to post
Share on other sites
bastel123

Hi vickerps,

you can change the service startup with the following registry settings:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\your_service]

"Start"=dword:00000002 ---> automatic

"Start"=dword:00000003 ---> manual

"Start"=dword:00000004 ---> deactivated

Sebastian

Share this post


Link to post
Share on other sites
vickerps

Thank you

That work great

Edited by Larry

Share this post


Link to post
Share on other sites
Valik

Also, on Windows XP (Maybe others), there is sc.exe which can change that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×