---
title: Configuring PingCentral to run as a Windows service
description: Instructions for configuring PingCentral to run as a Windows service.
component: pingcentral
version: 3.2
page_id: pingcentral:pingcentral_for_iam_administrators:pingcentral_installing_configuring/pingcentral_conf_pc_windows
canonical_url: https://docs.pingidentity.com/pingcentral/3.2/pingcentral_for_iam_administrators/pingcentral_installing_configuring/pingcentral_conf_pc_windows.html
llms_txt: https://docs.pingidentity.com/pingcentral/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: October 9, 2025
section_ids:
  before-you-begin: Before you begin
  steps: Steps
  removing-the-pingcentral-windows-service: Removing the PingCentral Windows service
  steps-2: Steps
---

# Configuring PingCentral to run as a Windows service

Run PingCentral as a Windows service that automatically starts when Windows starts.

## Before you begin

Manually start the server to ensure that PingCentral is running as expected.

|   |                                                                                       |
| - | ------------------------------------------------------------------------------------- |
|   | You must have administrator privileges to configure PingCentral as a Windows service. |

## Steps

1. In the Windows **Search** field, enter `cmd` to access the command prompt.

2. Right-click **Command Prompt** and select **Run as administrator** in the menu.

3. In the command prompt, change directories to the `$PINGCENTRAL_HOME\sbin\windows` directory and run the `install-service.bat` script.

4. Open the Windows Control Panel. In the search field, enter `view local services`.

5. In the list of available services, right-click **PingCentral Service** , and select **Start**.

   The service starts immediately and restarts automatically when rebooted, by default.

## Removing the PingCentral Windows service

If you have administrator privileges, you can remove the PingCentral Windows service.

### Steps

1. In the Windows **Search** field, enter `cmd` to access the command prompt.

2. Right-click **Command Prompt** and select **Run as administrator** in the menu.

3. In the command prompt, change to the `<PINGCENTRAL_HOME>\sbin\windows` directory and run the `uninstall-service.bat` script.

4. After the script is finished running, remove the *\<PINGCENTRAL_HOME>* environment variable from the system.
