---
title: Starting and stopping PingFederate
description: Depending on the application mode and the operating system, the steps to start, stop, or restart PingFederate vary.
component: pingfederate
version: 13.0
page_id: pingfederate:getting_started_with_pingfederate:pf_start_stop_pf
canonical_url: https://docs.pingidentity.com/pingfederate/13.0/getting_started_with_pingfederate/pf_start_stop_pf.html
revdate: December 28, 2022
section_ids:
  starting-and-stopping-pingfederate-on-windows: Starting and stopping PingFederate on Windows
  steps: Steps
  choose-from: Choose from:
  choose-from-2: Choose from:
  choose-from-3: Choose from:
  starting-and-stopping-pingfederate-on-linux: Starting and stopping PingFederate on Linux
  steps-2: Steps
  choose-from-4: Choose from:
  choose-from-5: Choose from:
  choose-from-6: Choose from:
---

# Starting and stopping PingFederate

Depending on the application mode and the operating system, the steps to start, stop, or restart PingFederate vary.

If you install or upgrade PingFederate using its platform-specific installer, PingFederate configures to run as a service. You can stop and disable the service and run PingFederate as a console application.

If you install or upgrade PingFederate manually by using the PingFederate product distribution file or the Upgrade Utility in command line, you can run PingFederate as a console application or install the PingFederate service manually and run it as a service.

* Starting and stopping on Windows

* Starting and stopping on Linux

## Starting and stopping PingFederate on Windows

### Steps

* To start PingFederate on Windows, do one of the following:

  ### Choose from:

  * If PingFederate was installed as a console application:

    1. Open a command prompt.

    2. Go to `<pf_install>/pingfederate/bin`.

    3. Run `run.bat`.

    4. Keep the command prompt open.

  * If PingFederate was installed as a Windows service:

    1. Go to **Control Panel > System and Security > Administrative Tools > Services**.

    2. Right-click on the PingFederate service and click **Start**.

* To stop PingFederate on Windows, do one of the following:

  ### Choose from:

  * If PingFederate was installed as a console application:

    1. Locate the command prompt running PingFederate.

    2. Press CTRL+C to terminate PingFederate.

  * If PingFederate was installed as a Windows service:

    1. Go to **Control Panel > Administrative Tools > Services**.

    2. Right-click on the PingFederate service and click **Stop**.

* To restart PingFederate on Windows, do one of the following:

  ### Choose from:

  * If PingFederate was installed as a console application:

    1. Locate the command prompt running PingFederate.

    2. Press CTRL+C to terminate PingFederate.

    3. When PingFederate stops, run `run.bat`.

    4. Keep the command prompt open.

  * If PingFederate was installed as a Windows service:

    1. Go to **Control Panel > Administrative Tools > Services**.

    2. Right-click on the PingFederate service and select **Restart**.

## Starting and stopping PingFederate on Linux

### Steps

* To start PingFederate on Linux, do one of the following:

  ### Choose from:

  * If PingFederate was installed as a console application:

    1. Open a terminal window.

    2. Go to `<pf_install>/pingfederate/bin`.

    3. Run `run.sh`.

    4. Keep the terminal window open.

  * If PingFederate was installed as a service:

    1. Open a terminal window.

    2. Enter the system-dependent service command to start PingFederate.

* To stop PingFederate on Linux, do one of the following:

  ### Choose from:

  * If PingFederate was installed as a console application:

    1. Locate the terminal window running PingFederate.

    2. Press CTRL+C to terminate PingFederate.

  * If PingFederate was installed as a service:

    1. Open a terminal window.

    2. Enter the system-dependent service command to stop PingFederate.

* To restart PingFederate on Linux, do one of the following:

  ### Choose from:

  * If PingFederate was installed as a console application:

    1. Locate the terminal window that is running PingFederate.

    2. Press CTRL+C to terminate PingFederate.

    3. When PingFederate stops, run `run.sh`.

    4. Keep the terminal window open.

  * If PingFederate was installed as a service:

    1. Open a terminal window.

    2. Enter the system-dependent service command to restart PingFederate.
