Stop the server from the Windows command prompt

Applies to User Roles:

System Administrator

You must have administrative access to the server operating system to use this procedure.

To stop the server from the Windows command prompt:

Warning: This procedure stops the server without displaying any warnings to currently connected users. If you want to broadcast a warning message before stopping the server, use one of the shutdown options available from the Service Manager clients.

  1. Open another Windows command prompt.

    Click Start > Programs > Accessories > Command Prompt.

    Caution: Do not close the command prompt window running Service Manager. Closing the command prompt window stops Service Manager immediately without cleaning up any processes or releasing any record locks.

  2. Change directories to the RUN folder of your Service Manager installation. For example:
    cd C:\Program Files (x86)\Micro Focus\ Service Manager x.xx\Server\RUN
  3. Type the following command:
    sm -shutdown:0
  4. Press ENTER.

Related topics

Startup and shutdown
Server shutdown
Starting Service Manager on Windows
Stopping Service Manager on Windows

Related topics

Start the server from the Windows command prompt
Start the server from Windows services
Stop the server from Windows services

Related topics

Troubleshooting: Server will not start