Partager via


Event ID 7021 — Basic Service Operations

Applies To: Windows Server 2008

Service Control Manager transmits control requests to running services and driver services. It also maintains status information about those services, and reports configuration changes and state changes.

Event Details

Product: Windows Operating System
ID: 7021
Source: Service Control Manager
Version: 6.0
Symbolic Name: EVENT_SEVERE_SERVICE_FAILED
Message: About to revert to the last known good configuration because the %1 service failed to start.

Resolve

Start the service manually

To resolve this issue, try starting the service manually.

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To start a service:

  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, right-click on the name of the service you want to start and select Start.

Verify

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To verify the state in which a service is operating:

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

  2. Type sc interrogate service_name (where service_name is the name of the service) at the command prompt to update the status of that service in Service Control Manager.

  3. Type sc qc service_name at the command prompt to display the configuration status of the service.

  4. Type sc queryex service_name at the command prompt to display the extended status of the service. This command will provide the following information about a service: SERVICE_NAME (the service's registry subkey name), TYPE (the type of service, for example, shared process, interactive), STATE (for example, running, paused, and the states that are not available), WIN32_EXIT_CODE (the Windows exit error code), SERVICE_EXIT_CODE (the service exit code), CHECKPOINT, WAIT_HINT (the time period the SCM waits before reporting a service failure), PID (ID of the process running the service), and FLAGS. If the service was started successfully, the WIN32_EXIT_CODE field should contain a zero (0). If the service failed to start when an attempt was made, this field should contain an exit code provided by the service when it could not start.

  5. Type net helpmsg exit_code (where exit_code is the 4 digit number of the error code) at the command prompt to display the meaning of the exit code.

For more information about the sc command, see SC Command Reference Help (https://go.microsoft.com/fwlink/?LinkID=84961). For more information about the net helpmsg command, see https://go.microsoft.com/fwlink/?LinkId=105087.

Basic Service Operations

Core Operating System