Windows 2000 Services error message control

  • Section(s): Miscellaneous
  • Published on Apr 20, 2004.
  • Last Modified on Apr 20, 2004.
  • Last Modified by Wayne Maples.
  • Rated 1.5 out of 5 based on 2 votes.
When Windows NT or Windows 2000 startup encounters a problem in a device driver load or service startup, the action taken by the operating system depends on the ErrorControl value for that service.

Hive: HKEY_LOCAL_MACHINE
Key: SYSTEM\CurrentControlSet\Services\servicetoseterrormessaginglevel
Name: ErrorControl
Type: REG_DWORD
Value: 0 : Ignore - startup continues with no warning message
Value: 1 : Normal - startup continues after displaying a warning message This is the default setting for most services.
Value: 2 : Severe - NT switches to the LastKnownGood control set, and the startup process starts again. If the control set being used is already LastKnownGood, the error is ignored and processing continues.
Value: 3 : Critical - NT switches to the LastKnownGood control set, and the startup process starts again. If the control set being used is already LastKnownGood, the the startup process stops, and a failure error message is displayed. (Bug-check, BSOD).

The Ignore or Normal condition is probably what you should set if you are experimenting with SRVANY to get a program to startup and run as a service. Also see: registry construction steps .

About Wayne Maples

Share this article


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred Network Inventory solution?