Event ID 7024 — Service Stop Operations
Updated: December 11, 2007
Applies To: Windows Server 2008
Service Control Manager (SCM) stops services and driver services. It also reports when services terminate unexpectedly or fail to restart after it takes corrective action.
|Product:||Windows Operating System|
|Source:||Service Control Manager|
|Message:||The %1 service terminated with service-specific error %2.|
Review the service-specific error information
To resolve this issue, first review the service-specific error code that the Service Control Manager encountered when trying to stop the service, and then review the Event logs for other related events that have been logged by the Service Control Manager (SCM) Eventlog Provider.
To perform these procedures, you must have membership in Administrators, or you must have been delegated the appropriate authority.
Review the service-specific error code
To review the service-specific error code:
- Click the Start button, Run, then type cmd to open a command prompt.
- Type sc query service_name (where service_name is the name of the service) at the command prompt to display the service-specific SERVICE_EXIT_CODE error code that the Service Control Manager encountered when stopping the service.
Note: If the service was stopped successfully, the SERVICE_EXIT_CODE field should contain a zero (0). If the service failed to stop when an attempt was made, this field should contain an exit code provided by the service when it could not stop.
For more information about the sc command, see SC Command Reference Help (http://go.microsoft.com/fwlink/?LinkID=84961).
Review the related events logged by the SCM
To review the related events logged by the SCM:
- Open Event Viewer by clicking the Start button, Control Panel, and Administration Tools, then double-clicking Event Viewer. Note: For Windows Vista, use the Classic View display option in Control Panel to see the Administration Tools.
- Click Event Viewer (Local), then Windows Logs and System.
- In the details pane, click on the Source column to view the events sorted by the entity that logged that event. For events logged by the SCM, the source is the Service Control Manager Eventlog Provider.
The error code and related events for this service should help you to further troubleshoot and resolve the issue. Some examples are provided below:
- If event ID 7011 is also logged for this service, then extending the service timeout period to resolve event ID 7011 would also resolve this error.
- If event ID 7034 is also logged for this service, then restoring the service default settings to resolve event ID 7034 would also resolve this error.
If the issue remains unresolved, contact Microsoft support and provide the error information. For information about how to contact Microsoft support, see Support Options from Microsoft Services (http://go.microsoft.com/fwlink/?LinkId=89446).
To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.
To verify that a service has stopped:
- Open the Services snap-in by clicking the Start button, Control Panel, and Administrative Tools, then double-clicking Services.
Note: For Windows Vista, use the Classic View display option in Control Panel to see the Administration Tools.
- In the details pane of the Services snap-in, locate the name of the service and verify that the Status column shows a blank status.