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
-
Ensure that you are signed on with full administrator privileges.
-
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
-
Open a command prompt as an administrator.
-
In the command prompt, go to the
<PA_HOME>\sbin\windows
directory and run theinstall-service.bat
file. -
In Windows, go to Control Panel → Administrative Tools → Services.
-
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
-
Go to the
<PA_HOME>\sbin\windows
directory and run theinstall-service.bat
file. -
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
-
Open a command prompt.
-
Stop the PingAccess service.
-
Go to the
<PA_HOME>\sbin\windows
directory. -
Run the
uninstall-service.bat
file. -
After the script runs, remove the <PA_HOME> environment variable from the system.