Net pause and net continue commands
On Windows, the Launcher is controlled by the Launcher service. Pausing entails pausing all Launchers. Resuming entails resuming or continuing any paused Launchers. The net pause and net continue commands interact with the Launcher service to pause and resume the Launcher.
The Windows net pause and net continue commands are used in the following ways:
net pause {ServiceName | "Service Name"}
net continue {ServiceName | "Service Name"}
where ServiceName is the case-sensitive name of the service
that is being controlled, such as WebSphere® Transformation
Extender
Launcher
.
To use the Net command options, the service must be started, otherwise an error message is displayed at the command prompt: The service has not been started. The command line will be blocked until the service pauses or resumes.
Pause and Resume actions can also be initiated from the Windows Computer Management console. The service must be started; otherwise the Pause option will not be enabled. If the service is not in a paused state, the Continue option is not enabled.
The following table lists the Net command-line options. Note the following rules that need to be observed when specifying service names on the command line:
- The service name must be enclosed in double quotation marks if it contains spaces.
- Service names are case-sensitive.
- Command
- Description
net pause "WebSphere Transformation Extender Launcher"
- Pauses the Launcher service that is running
net continue "WebSphere Transformation Extender Launcher"
- Resumes the paused Launcher service
The return values for the Net commands are zero for success and non-zero for failure.