vickerps Posted April 29, 2004 Posted April 29, 2004 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.
bastel123 Posted April 29, 2004 Posted April 29, 2004 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
vickerps Posted April 29, 2004 Author Posted April 29, 2004 (edited) Thank you That work great Edited May 4, 2004 by Larry
Valik Posted April 29, 2004 Posted April 29, 2004 Also, on Windows XP (Maybe others), there is sc.exe which can change that.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now