Share via


Event ID 7024 — Service Stop Operations

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.

Event Details

Product: Windows Operating System
ID: 7024
Source: Service Control Manager
Version: 6.0
Symbolic Name: EVENT_SERVICE_EXIT_FAILED_SPECIFIC
Message: The %1 service terminated with service-specific error %2.

Resolve

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:

  1. Click the Start button, Run, then type cmd to open a command prompt.

  2. 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 (https://go.microsoft.com/fwlink/?LinkID=84961).

To review the related events logged by the SCM:

  1. 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.
  2. Click Event Viewer (Local), then Windows Logs and System.
  3. 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 (https://go.microsoft.com/fwlink/?LinkId=89446).

Verify

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:

  1. 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.

  2. 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.

Service Stop Operations

Core Operating System