Jump to content
Sign in to follow this  
vickerps

Change A Service Startup

Recommended Posts

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

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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...