Configuring PingAccess to run as a Windows service from the command line
Configure PingAccess to run as a Windows service from the command line, causing it to start automatically when Windows starts.
Before you begin
-
Install PingAccess before configuring it.
To install PingAccess from the command line, see Installing PingAccess on Windows from the command line.
-
Ensure that PingAccess runs normally by manually starting the server.
For more information, see Run PingAccess for the First Time.
Steps
-
Ensure you are signed on with full administrator privileges.
-
Go to the
<PA_HOME>\sbin\windows
directory and run theinstall-service.bat
script. -
To set the PingAccess service to start automatically, run
sc config PingAccess start= auto
.Result:
The service starts immediately and restarts automatically on reboot.