ErrorControl

HKLM\SYSTEM\CurrentControlSet\Services\<service-name>

Data type Range Default value
REG_DWORD 0 - 3 Usually 0 or 1

Description

Specifies how to proceed if the driver for the service or device fails to load or to initialize properly. By default, the value of ErrorControl for all Windows 2000 services and drivers is 0 or 1.

Value Meaning
0 Ignore: If the driver fails to load or initialize, startup proceeds with no warning messages.
1 Normal: If the driver fails to load or initialize, startup proceeds, but a warning message appears.
2 Severe: If the driver fails to load or initialize, the system declares the startup to have failed and restarts by using the LastKnownGood control set. If startup is already using the LastKnownGood control set, it continues.
3 Critical: If the driver fails to load or initialize, the system declares the startup to have failed and restarts by using the LastKnownGood control set. If startup is already using the LastKnownGood control set, the system stops the startup procedures and runs a debugging program.
 

Note Image Note

This information is presented for reference only. You cannot change the load configuration of a service by editing this entry. To change the value of ErrorControl, use the ChangeServiceConfig API or Sc.exe, a tool on the Windows 2000 Resource Kit.