"Services Database Is Locked" When Modifying Windows NT Configuration
ID: Q214762
|
The information in this article applies to:
-
Microsoft Windows NT Workstation version 4.0
-
Microsoft Windows NT Server version 4.0
-
Microsoft Windows NT Server, Enterprise Edition version 4.0
SYMPTOMS
When you attempt to use a Control Panel tool to change the configuration of a computer running Microsoft Windows NT, you may receive the following error message:
The services database is locked.
CAUSE
This behavior can be caused by a service that is configured to start automatically but cannot be initialized properly.
RESOLUTION
To identify and prevent a service from locking the services database:
- Stop all non-essential services. Click Start, point to Settings, click Control Panel, and then double-click Services.
- In the list of available services, double-click the service to be modified, click Manual, and then click OK. Repeat this step as necessary with all other non-essential services.
NOTE: If you receive the locked database error message when attempting this step, you can modify the startup parameter of the individual services by editing the registry. For more information on how to change the service startup values this way, click the article number below to view the article in the Microsoft Knowledge Base:
Q158995 Unable to Change the Startup Parameter When a Service Hangs
- Once you have changed all non-essential services to start manually, restart the computer.
-
If you continue to receive the error message, you can change the essential Windows NT services to manual startup (by using the above steps) to identify the service that is locking the database. Essential Windows NT services include:
- Alerter
- Computer Browser
- EventLog
- License Logging
- Messenger
- Net Logon
- NT LM Security Support Provider
- Plug and Play
- Protected Storage
- Remote Procedure Call (RPC)
- Server
- Spooler
- TCP/IP NetBIOS Helper
- Workstation
- If you do not receive the error message, you can reset each non-essential service back to automatic startup on an individual basis to isolate the service that cannot start. To do this:
- Click Start, point to Settings, click Control Panel, and then double-click Services.
- Double-click the service to be modified, click Automatic, and then click OK.
- Restart the computer.
Additional query words:
Keywords : kbenv kberrmsg
Version : winnt:4.0
Platform : winnt
Issue type : kbprb
Last Reviewed: July 27, 1999