Sends an INTERROGATE control request to a service.

For examples of how to use this command, see Examples.

Syntax

sc [<ServerName>] interrogate [<ServiceName>]

Parameters

Parameter Description

<ServerName>

Specifies the name of the remote server on which the service is located. The name must use the Universal Naming Convention (UNC) format (for example, \\myserver). To run SC.exe locally, omit this parameter.

<ServiceName>

Specifies the service name returned by the getkeyname operation.

/?

Displays help at the command prompt.

Remarks

Sending INTERROGATE to a service causes the service to update its status with the Service Control Manager.

Examples

To update the status of the RPCSS service with the Service Control Manager, type:

sc interrogate rpcss

Additional references