Differences

This shows you the differences between two versions of the page.

Link to this comparison view

chapi_-_creating_a_batch_file_to_restart_the_chapi_service [2019/01/30 09:22] (current)
Line 1: Line 1:
 +====== ​ ======
 +
 +
 +
 +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.
 +
 +
 +
 +===== Concept =====
 +
 +
 +
 +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. ​
 +
 +
 +
 +===== Cautions =====
 +
 +
 +
 +Warning - Do not restart CHAPI when users are logged into Control.
 +
 +
 +
 +===== Steps =====
 +  - We must obtain the exact name of the CHAPI service from Windows.
 +    * Open Control Panel
 +    * Open Administrative Tools
 +    * Open Services
 +  - Find the entry on the list that begins with CHAPI. Keep the Services window open.
 +  - Create a new text file on the desktop. ​
 +    * Right click > New > New Text Document
 +  - Open the file
 +  - Type the following, ignoring the [ and ] characters:
 +    * <​code>​
 +net stop [name of CHAPI service in the services window]
 +net start [name of CHAPI service in the services window]
 +</​code>​
 +    * Example: ​
 +    * <​code>​
 +net stop CHAPI.ServiceHost_12556
 +net start CHAPI.ServiceHost_12556
 +</​code>​
 +  - Save the file. 
 +  - Rename the file and change the file type to All Files, then save the file as Restart CHAPI Service - RUN AS ADMINISTRATOR.bat
 +  - 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.
 +
 +
 +
 +===== Source =====
 +
 +
 +
 +Contributor:​ Brandon & Seth, Cyrious
 +
 +
 +
 +Date: 7/5/2013
 +
 +
 +
 +Version: Control 5.1
 +
 +
 +