Creating a batch file to restart the CHAPI service.

CHAPI is a windows service that automatically starts when you logon to Windows. CHAPI must be running in order for the SSLIP to obtain license information. CHAPI and the SSLIP both communicate with each other in order to allow users to access Control.

The CHAPI service can be restarted manually through the command line or through services.msc. You can also create a batch file that to speed the process of restarting the service directly from the desktop of the server.

Warning - Do not restart CHAPI when users are logged into Control.

  1. We must obtain the exact name of the CHAPI service from Windows.
    • Open Control Panel
    • Open Administrative Tools
    • Open Services
  2. Find the entry on the list that begins with CHAPI. Keep the Services window open.
  3. Create a new text file on the desktop.
    • Right click > New > New Text Document
  4. Open the file
  5. Type the following, ignoring the [ and ] characters:
    • net stop [name of CHAPI service in the services window]
      net start [name of CHAPI service in the services window]
    • Example:
    • net stop CHAPI.ServiceHost_12556
      net start CHAPI.ServiceHost_12556
  6. Save the file.
  7. Rename the file and change the file type to All Files, then save the file as Restart CHAPI Service - RUN AS ADMINISTRATOR.bat
  8. This script should be run when the SSLIP is restarted. It must be run as an administrator, to do so right-click the .bat file and select Run as Administrator.

Contributor: Brandon & Seth, Cyrious

Date: 7/5/2013

Version: Control 5.1

You could leave a comment if you were logged in.