PingAccess

Managing the PingAccess Windows service

Configure PingAccess to run as a Windows service through an installer or the command line, or remove the PingAccess Windows service.

Before you begin

Install PingAccess and manually start the server to make sure that it runs normally. For more information, see Accessing the administrative console for the first time.

If you installed PingAccess using the Windows installer, the service is installed and started automatically.

About this task

Configuring PingAccess as a Windows service causes it to start automatically when Windows starts. To configure PingAccess as a service on a Windows 64-bit operating system:

Steps

  1. Ensure that you are signed on with full administrator privileges.

  2. Select one of the following tabs to proceed.

  • Manual Installation

  • From the Command Line

Configuring PingAccess to run as a Windows service

About this task

To configure PingAccess to run as a Windows service:

Steps

  1. Open a command prompt as an administrator.

  2. In the command prompt, go to the <PA_HOME>\sbin\windows directory and run the install-service.bat file.

  3. In Windows, go to Control Panel → Administrative Tools → Services.

  4. From the list of available services, right-click PingAccess Service and select Start.

    You can change the default Start type setting in the Properties dialog.

Result

The service starts immediately and restarts automatically on reboot.

Configuring PingAccess to run as a Windows service from the command line

About this task

To configure PingAccess to run as a Windows service from the command line:

Steps

  1. Go to the <PA_HOME>\sbin\windows directory and run the install-service.bat file.

  2. To set the PingAccess service to start automatically, run sc config PingAccess start= auto.

Result

The service starts immediately and restarts automatically on reboot.

Removing the PingAccess Windows service

Before you begin

Make sure you have PingAccess administrator privileges.

About this task

To remove the PingAccess service from a Windows system:

Steps

  1. Open a command prompt.

  2. Stop the PingAccess service.

  3. Go to the <PA_HOME>\sbin\windows directory.

  4. Run the uninstall-service.bat file.

  5. After the script runs, remove the <PA_HOME> environment variable from the system.