Event ID 7009 — 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: | 7009 |
Source: | Service Control Manager |
Version: | 6.0 |
Symbolic Name: | EVENT_CONNECTION_TIMEOUT |
Message: | Timeout (%1 milliseconds) waiting for the %2 service to connect. |
Resolve
Increase the service timeout period
The Service Control Manager will generate an event if a service does not respond within the defined timeout period (the default timeout period is 30000 milliseconds). To resolve this problem, use the Registry Editor to change the default timeout value for all services.
To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.
Caution: Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data.
To change the service timeout period:
Click the Start button, then click Run, type regedit, and click OK.
In the Registry Editor, click the registry subkey HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control.
In the details pane, locate the ServicesPipeTimeout entry, right-click that entry and then select Modify.
Note: If the ServicesPipeTimeout entry does not exist, you must create it by selecting New on the Edit menu, followed by the DWORD Value, then typing ServicesPipeTimeout, and clicking Enter.
Click Decimal, enter the new timeout value in milliseconds, and then click OK.
Restart the computer.
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:
Click the Start button, Run, then type cmd to open a command prompt.
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.
Type sc qc service_name at the command prompt to display the configuration status of the service.
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.
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.