How to change service start type in the registrySometimes it may be necessary to change a service start type from the registry instead of the GUI. This may be due to the system or the GUI being inaccessible, or because of a need to change startup as part of a script. While the system is live the service information is kept in the registry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. Each service and driver is listed under its own key. CurrentControlSet exists only while the system is running. If you are troubleshooting a system which is offline by booting from a parallel install, etc. the last CurrentControlSet settings are saved under ControlSet001. This branch is reloaded as the CurrentControlSet on the next boot, so values changed in ControlSet001 on an offline system will become active as CurrentControlSet the next time the downed system is brought online. For more information on loading a registry hive from an offline system, see TechByte 75: "Loading an offline registry file.". Service startup types are saved in the registry value (DWORD) Start under the corresponding service name. This value can be set to any of the following: 0x0 Boot Note that Boot (0) and System (1) are reserved for device drivers. Regular services should not be set to these start types. Author: ASAK Created: Nov 3 2005 Categories: Windows TechByte #74 Warning: By visiting this site and/or by using any information contained herein, you agree to the Techbytes.ca terms of use. Add a comment about this TechByteIf you wish to add a comment regarding this TechByte, please use the form below. Please note that by submitting comments using this form you are allowing all of the information submitted to be visible on this website. Any comments submitted using this form will only be shown on the website if they are approved by the administrators of this site. IF APPROVED, COMMENTS MAY TAKE SEVERAL DAYS TO BE POSTED. Other TechBytes: |
|

