Advertisement

regedit service start type

top computer

Start

HKLM\SYSTEM\CurrentControlSet\Services\ service-name
Data type
Range
Default value
REG_DWORD
0–4
(There is no default value for this entry.)
Description
Specifies how the service is loaded or started. If the service is a Win32 service, the value of this entry must be 2, 3, or 4. This entry is not used for network adapters.
Value
Meaning
0
Boot (loaded by kernel loader). Components of the driver stack for the boot (startup) volume must be loaded by the kernel loader.
1
System (loaded by I/O subsystem). Specifies that the driver is loaded at kernel initialization.
2
Automatic (loaded by Service Control Manager). Specifies that the service is loaded or started automatically.
3
Manual. Specifies that the service does not start until the user starts it manually, such as by using Device Manager.
4
Disabled. Specifies that the service should not be started.
Note Image Note
This information is presented for reference only. You cannot change the starting rules for a service by editing this entry. To change the value of this entry, use the ChangeServiceConfig API or Sc.exe, a tool in the Windows 2000 Resource Kit.
Tip Image Tip
To determine what type of service is represented by the subkey, see Type .

Start the Registry Editor by pressing the Start-button and Run... this command:
  1. Regedit
  2. Browse through the left tree to where Services are found:
    [HKEY_LOCAL_MACHINE \System \CurrentControlSet \Services]
  3. Within the Services-key find go to the short-name of the wanted service (Here RpcSS aka. Remote Procedure Call (RPC)):

    [HKEY_LOCAL_MACHINE \System \CurrentControlSet \Services \RpcSS]
  4. Double-Click the Start-value in the list to the right.

  5. Change Value data: to the wanted state:
    • 0 = Boot
    • 1 = System
    • 2 = Automatic
    • 3 = Manual
    • 4 = Disabled
  6. Press Ok and exit the Registry Editor.
  7. If setting a service to Disabled or Manual, then execute this command to stop the service:
    Net Stop RpcSS
  8. If setting the service to Automatic, then execute this command to start the service:
    Net Start RpcSS
Note in this guide the short-name of a service is shown just in parenthesis next to the "Process Name".

Note the "Automatic" startup mode was extended with "Automatic (Delayed Start)" with Windows Vista/2008. It specifies that the service startup can be delayed until after having performed user logon. It can be activated with the following DWORD registry setting:
[HKEY_LOCAL_MACHINE \System \CurrentControlSet \Services \BITS]
DelayedAutoStart = 1
Start = 2
Note the "Manual" startup mode was extended with "Manual (Trigger Start)" with Windows 7/2008 R2. It specifies that the service startup can be delayed until a certain event occurs (or be stopped). See what service trigger eventsthat are configured for a service with this command:
sc qtriggerinfo w32time

More Info MS KB103000
More Info MS KB271362
More Info MS KB838428 (About hardware profiles)