---
title: Managing the PingAccess Windows service
description: Configure PingAccess to run as a Windows service through an installer or the command line, or remove the PingAccess Windows service.
component: pingaccess
version: 9.0
page_id: pingaccess:installing_and_uninstalling_pingaccess:pa_managing_pa_as_a_windows_service
canonical_url: https://docs.pingidentity.com/pingaccess/9.0/installing_and_uninstalling_pingaccess/pa_managing_pa_as_a_windows_service.html
revdate: July 18, 2024
section_ids:
  before-you-begin: Before you begin
  about-this-task: About this task
  steps: Steps
  configuring-pingaccess-to-run-as-a-windows-service: Configuring PingAccess to run as a Windows service
  about-this-task-2: About this task
  steps-2: Steps
  result: Result
  configuring-pingaccess-to-run-as-a-windows-service-from-the-command-line: Configuring PingAccess to run as a Windows service from the command line
  about-this-task-3: About this task
  steps-3: Steps
  result-2: Result
  removing-the-pingaccess-windows-service: Removing the PingAccess Windows service
  before-you-begin-2: Before you begin
  about-this-task-4: About this task
  steps-4: Steps
---

# 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](pa_installing_pa_on_your_system.html) and manually start the server to make sure that it runs normally. For more information, see [Accessing the administrative console for the first time](pa_accessing_the_admin_console.html).

|   |                                                                                                              |
| - | ------------------------------------------------------------------------------------------------------------ |
|   | 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.
