> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XBOX PC Remote listening endpoint (wdEndpoint.exe)

> XBOX PC Remote listening endpoint (wdEndpoint.exe)

<Info>The XBOX PC Toolbox app is in preview. Download it from the [Microsoft Store](https://aka.ms/toolboxinstaller) on Windows.</Info>

XBOX PC Remote listening endpoint (wdEndpoint.exe) runs on a remote Windows device and accepts commands from the [wdRemote](/tools/tools-pc/commandlinetools/gr-wdRemote) command-line tool on a development PC. Together, these tools support two key workflows for building games on remote Windows devices:

* Establish a trusted, secure connection between a development PC and a remote device using PIN pairing.
* Deploy, launch, and terminate games on a remote Windows device.

For an overview of how `wdRemote` and `wdEndpoint` work in the Windows remote development toolset, see [Overview of XBOX PC Remote tools](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/pc-dev/overviews/remote-win-gamedev).

## Install wdEndpoint.exe

You can install wdEndpoint.exe with either the [XBOX PC Toolbox](/tools/tools-pc/xboxpctoolbox/xboxpctoolbox) or WinGet:

`winget install Microsoft.Gaming.RemoteIterationEndpoint `

When you install `wdEndpoint` with XBOX PC Toolbox, it starts automatically when a user signs in to the target device. If you install it using WinGet, start it manually. Run `wdEndpoint` as a nonadministrator to accept commands from `wdRemote`.

## wdEndpoint Commands

`wdEndpoint` provides the following commands.

| Command                                          | Description                                                                 |
| ------------------------------------------------ | --------------------------------------------------------------------------- |
| [wdEndpoint /createkeys](#wdEndpoint_createKeys) | Creates the security keys required to enable encryption and device pairing. |
| [wdEndpoint /purgekeys](#wdEndpoint_purgekeys)   | Removes all security keys and device pairings from the target device.       |
| [wdEndpoint /createpin](#wdEndpoint_createPin)   | Creates a PIN used for pairing.                                             |
| [wdEndpoint /pair](#wdEndpoint_pair)             | Pairs a remote Windows device with a development PC.                        |
| [wdEndpoint /noconsole](#wdEndpoint_noconsole)   | Runs wdEndpoint without displaying a console window.                        |

<a id="wdEndpoint_createKeys" />

### wdEndpoint /createkeys

Communication between `wdRemote` and `wdEndpoint` is encrypted. Use the `wdEndpoint /createkeys` command to generate the security keys needed for encryption and pairing.

<Note>`wdEndpoint /createkeys` requires administrator permissions on the target device.</Note>

`wdEndpoint /createkeys`

[Return to the top of this topic.](/tools/tools-pc/commandlinetools/gr-wdEndpoint)

<a id="wdEndpoint_purgekeys" />

### wdEndpoint /purgekeys

Removes all security keys and device pairings from a target device.

<Note>wdEndpoint /purgekeys requires administrator permissions on the target device.</Note>

`wdEndpoint /purgekeys`

[Return to the top of this topic.](/tools/tools-pc/commandlinetools/gr-wdEndpoint)

<a id="wdEndpoint_createPin" />

### wdEndpoint /createpin

Creates a PIN used for pairing. Use this PIN as an argument with the `/pair` command.

`wdEndpoint /createpin`

[Return to the top of this topic.](/tools/tools-pc/commandlinetools/gr-wdEndpoint)

<a id="wdEndpoint_pair" />

### wdEndpoint /pair

Pairs a remote Windows device with a development PC. You can pair in two ways:

1. Run `wdEndpoint /pair` without a PIN. The command generates and displays a PIN, then waits for the PIN to be returned from the development PC. If the PIN isn't returned within two minutes, `wdEndpoint` ends the pairing process.
2. Run `wdEndpoint /pair` with a PIN. This mode doesn’t block or wait—it starts pairing immediately. Create the PIN for the `/pair` command by using the `/createPin` option.

<Note>`wdEndpoint /pair` requires administrator permissions on the target device.</Note>

`wdEndpoint /pair{:PIN}`

| Option      | Description                                      |
| ----------- | ------------------------------------------------ |
| /pair:{PIN} | The PIN to use when pairing in nonblocking mode. |

[Return to the top of this topic.](/tools/tools-pc/commandlinetools/gr-wdEndpoint)

<a id="wdEndpoint_noconsole" />

### wdEndpoint /noconsole

Runs `wdEndpoint` without displaying a console window. Display without a console window is useful when starting `wdEndpoint` in scenarios where a visible console window isn't needed.

`wdEndpoint /noconsole`

[Return to the top of this topic.](/tools/tools-pc/commandlinetools/gr-wdEndpoint)

## See also

[wdRemote](/tools/tools-pc/commandlinetools/gr-wdRemote)
[XBOX PC Remote tools](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/pc-dev/overviews/remote-gamedev-tools)


## Related topics

- [Command-line tools for PC development](/tools/tools-pc/commandlinetools/gr-commandlinetools-toc.md)
- [How to use the XBOX PC Remote Tools](/tools/tools-pc/xbox-pc-remote-tools/how-to-use-tools.md)
- [Commandlinetools](/tools/tools-pc/commandlinetools/index.md)
- [XBOX PC Remote (wdRemote.exe)](/tools/tools-pc/commandlinetools/gr-wdRemote.md)
- [XBOX PC Remote Tools FAQ and troubleshooting guide](/tools/tools-pc/xbox-pc-remote-tools/faq.md)
