ErrorControl

HKLM\SYSTEM\CurrentControlSet\Services\ service-name

Data type

Range

Default value

REG_DWORD

0–3

1

Description

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

Value

Meaning

0

Ignore. Startup proceeds with no warning messages.

1

Normal. Startup proceeds, but a warning message appears.

2

Severe. The system declares that the startup has failed, and it restarts by using the LastKnownGood control set. If startup is already using the LastKnownGood control set, it continues.

3

Critical. The system declares that the startup has failed, and it 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 in the Windows 2000 Resource Kit.