XBOX PC Remote Tools FAQ and troubleshooting guide

Important

The XBOX PC Toolbox app is in preview. Download it from the Microsoft Store on Windows.

Frequently asked questions

Question
What are the known issues, dependencies, and limitations?
Where can I find the app version number?
Does unpairing from my development PC fully disconnect the device?
How do I verify configuration changes in the devices?
How do I verify and change the sandbox?
How do I select a specific network adapter for the secure channel setup?
How can I report a problem?
What's the difference between Microsoft.XboxPC.DeviceManager (XDM) and wdRemote/wdEndpoint?
Do I need both Microsoft.XboxPC.DeviceManager (XDM) and wdRemote/wdEndpoint?
Why run wdEndpoint as Administrator the first time?
Can I deploy multiple games to the same target device?
What happens if the network connection drops during deployment?
Is all communication encrypted?
Which tool should I use for what task?
Can I use these tools with any Windows game?
Can I use the XBOX PC Remote Tools directly from the Unity or Unreal Editor?
What network ports do these tools use?

Where can I find the app version number?

The app version number is displayed in the top-left corner of the XBOX PC Toolbox app. You can also find it in the Settings menu.

What are the known issues, dependencies, and limitations?

XBOX PC Toolbox

  1. Issue: Setting up a fully managed remote device may fail with this error: Windows capability 'OpenSSH.Server~~~~0.0.1.0' did not reach desired Ensure 'Present'. This error could be caused by a pending Windows Update reboot on the PC.
    • Workaround: Reboot the PC and re-run XBOX PC Toolbox setup to resolve this issue.

XBOX PC Remote Iteration APIs and Command Line Tools

  1. Issue: Concurrent copy or deployment operations targeting the same device are not supported and may result in incomplete or zero-byte files, even when the operation reports success.

    • Workaround: Run file copy and deployment operations sequentially when targeting the same device.
  2. Issue: Running wdRemote run /asAdmin requires administrator approval on the target device. A Windows elevation prompt is displayed on the target machine, making this scenario unsuitable for unattended or CI/CD workflows. If elevation is declined, wdRemote may return error 0x800704C7, which may not clearly indicate that the elevation request was rejected.

    • Workaround: Ensure a user is available to approve the elevation prompt, or avoid /asAdmin in unattended scenarios.
  3. Issue: Cancelling a remote delete operation may return control to the client before deletion has fully stopped on the target device. As a result, some selected files may continue to be deleted after cancellation is requested.

    • Workaround: Verify the deletion state on the target device before proceeding with subsequent operations.
  4. Issue: If a wdRemote deploy operation is interrupted, a partially written file may remain at the target location under its final filename.

    • Workaround: Re-run the deployment before using the deployed content. The deployment process will detect and replace incomplete files during the retry.

XBOX PC Remote Debugger

  1. Issue: The XBOX PC Remote Debugger hasn't been optimized for performance. Debugging might be slower than local debugging.

    • Workaround: No workaround is currently available. Debugger performance will be improved in a future release.
  2. Issue: The XBOX PC Remote Debugger might stop responding after approximately 50 debugging iterations.

    • Workaround: Restart the target device, and then restart the debugger session.

Dependencies and limitations

  • Both devices need internet access during setup.
  • Devices must be on the same local network and able to ping each other.
  • The XBOX PC Toolbox app is only available in the RETAIL sandbox. Ensure devices are in RETAIL mode to download from the Microsoft Store.
  • Supported devices: Windows 10 or Windows 11, Home, or Pro editions.
  • Physical access to both devices is required during setup.
  • Administrator access is required on both devices for setup.
  • Microsoft Entra ID-joined target devices support remote iteration, but SSH remote terminal access isn't supported.

Does unpairing from my development PC fully disconnect the device?

No. Unpairing removes pairing data only from the device where you perform the action. Unpairing from either device doesn't revoke the development PC's SSH key on the target.

If SSH is enabled, disable SSH access before unpairing. Approve the administrator prompt on the target and wait for SSH disabled. Then unpair on both devices to remove the pairing completely.

If the target can't be reached, removing the saved SSH connection only on the development PC doesn't revoke its key on the target.

How do I verify configuration changes on devices?

On each device:

  1. Open XBOX PC Toolbox and go to Settings.
  2. Under Troubleshoot and Reset, select Check XBOX PC Toolbox Configuration.
  3. If prompted, approve the administrator request.
  4. Review the results and recommended fixes on Home.

The check doesn't change your configuration.

How do I verify and change the sandbox?

Set your sandbox to RETAIL for tool functionality. To check the current configuration, run: xblpcsandbox /get

If the configuration isn't set to RETAIL, switch it by running:

XblPCSandbox.exe RETAIL

How do I select a specific network adapter for secure channel setup?

During setup, XBOX PC Toolbox lets you choose the network adapter.

Network adapter selection screen

How can I report a problem?

From the XBOX PC Toolbox title bar, select Send Feedback. Then select Report a Problem.

Send Feedback menu in XBOX PC Toolbox

Include the following details:

  • Operating System version (Windows 10/11 build)
  • PowerShell version ($PSVersionTable) for Microsoft.XboxPC.DeviceManager issues
  • Network configuration (Wi-Fi/Ethernet, corporate/home)
  • Error messages (exact text)
  • Steps to reproduce
  • Which tool was being used (XBOX PC Toolbox, Microsoft.XboxPC.DeviceManager, wdRemote, or wdEndpoint)
  • Preview version

What's the difference between Microsoft.XboxPC.DeviceManager (XDM) and wdRemote/wdEndpoint?

  • XDM: Sets up secure communication channels.
  • wdRemote/wdEndpoint: Transfers and deletes files, deploys and manages games, and runs tools over those channels.

Do I need both XDM and wdRemote/wdEndpoint?

Yes. Use XDM to establish the connection, then use wdRemote/wdEndpoint for file management, game deployment and execution, and remote tool execution.

Why run wdEndpoint as administrator the first time?

The first time you run wdEndpoint, you need administrator access to create and store certificates and bind the HTTPS URL. Subsequent runs don't require elevation.

Can I deploy multiple games to the same target device?

Yes. Deploy games to different directories and launch them as needed.

What happens if the network connection drops during deployment?

wdRemote shows an error. After restoring connectivity, retry the deployment command.

Is all communication encrypted?

Yes. All communication between the development PC and target device is encrypted.

Which tool should I use for each task?

  • XBOX PC Toolbox: Use it to provision and acquire devices remotely, set up secure channels, install dependencies, and configure devices.
  • Test connectivity: Use XBOX PC Toolbox before deploying games.
  • Remote sessions: Use XDM-enabled remote sessions and PowerShell remoting to execute commands on the target device.
  • wdRemote/wdEndpoint: Use these tools to transfer and delete files, deploy and manage games, and run remote tools.

Can I use these tools with any Windows game?

Yes. These tools work with any Windows executable, not just Microsoft Game Development Kit (GDK) games.

Can I use the XBOX PC Remote Tools directly from the Unity or Unreal Editor?

Yes. Both engines integrate the XBOX PC Remote Tools, so you can build, deploy, and launch on a paired target device from the editor without generating a Visual Studio project. In both cases, install the XBOX PC Toolbox on your development machine and the target device and pair them first, as described in the XBOX PC Remote Tools quickstart guide.

  • Unity 6000.5 or later: Select XBOX PC Remote Tools in the Build and Run on dropdown of your Windows build profile, and then enter the target device name or IP address. For more information, see Test your game remotely via XBOX PC Remote Tools in the Unity getting started guide.

  • Unreal Engine 5.8 or later: Register the paired device in your engine configuration, and then select it from the Launch On menu in the editor toolbar, or pass -deploy -run -device=<DeviceName> to RunUAT BuildCookRun. This feature also supports Windows on Arm64 targets. For more information, see Test your game remotely via XBOX PC Remote Tools in the Unreal Engine getting started guide.

What network ports do these tools use?

  • XDM: SSH (port 22)
  • wdEndpoint: HTTPS (port 4275)

Troubleshooting Guide

Pairing fails in a corporate network environment

If you're on a corporate network and devices fail to pair or communicate:

  • Verify that both devices are visible to each other on the network. Corporate firewalls or network segmentation might block device-to-device communication.
  • Ensure the following ports are open between the devices: port 22 (OpenSSH) and port 4275 (Remote Iteration tools).
  • Disconnect from any VPN before attempting to pair or connect.
  • If your organization requires device registration, confirm your device is registered according to your IT policies.

Error installing required tools

If you receive errors installing Microsoft.XboxPC.DeviceManager, Microsoft.PowerShell.*, or Microsoft.Windows.Developer modules:

  • Workaround: Delete the module directories from %onedrive%/Documents/PowerShell/Modules/ and try again.
  • Cause: OneDrive can interfere with PowerShell module installation.

OpenSSH error: kex_exchange_identification: read: Connection reset

  • Restart the target device.
  • Ensure the device is on a private network profile; otherwise, the firewall might block the connection.
  • Check for a corrupted known_hosts file on your local device.

Note

This is an OpenSSH-specific issue unrelated to the XBOX PC Toolbox app.

Running winget over SSH fails after pairing

If winget commands fail after pairing a device by using Connect:

  • Workaround: Run Repair-WinGetPackageManager on the target device, or reboot the target device.
  • Cause: This problem occurs over SSH connections.

Game deployment fails on handheld devices

If game deployment fails on handheld devices that go to sleep during deployment:

  • Workaround: Adjust the power settings on the target device to prevent it from going to sleep during deployment. Ensure the device's sleep timer is set to a longer duration or disabled while deploying.
  • Cause: The XBOX PC Toolbox no longer manages device power settings via DSC. On handheld devices with aggressive sleep timers, the device goes to sleep mid-deployment, causing wdRemote to fail.

Pairing shows success on the remote target device but SSH connection fails on the development PC

If the remote target device shows pairing was successful but the development PC fails to complete SSH setup, check the following:

Verify the OpenSSH server is running on the remote target device:

Get-Service sshd

If the service is stopped, restart it:

Restart-Service sshd

If the service isn't running, the development PC can't establish an SSH connection to the remote target device.

Check if the ssh-agent on the development PC is offering stale keys:

Test by bypassing the ssh-agent:

ssh -o IdentitiesOnly=yes -i "$env:USERPROFILE\.ssh\XboxPCDeviceManagerKey" -o PreferredAuthentications=publickey user@target-ip "echo SUCCESS"
  • If this command succeeds, the ssh-agent is caching wrong keys. Follow the steps below to fix it.
  • If this command fails, the issue is on the remote target device side. To diagnose further, see How to collect OpenSSH logs.

To fix the ssh-agent:

# Clear all cached keys
ssh-add -D

# Restart the agent service
Restart-Service ssh-agent

# Re-add only the correct key
ssh-add "$env:USERPROFILE\.ssh\XboxPCDeviceManagerKey"

# Verify only your key is loaded
ssh-add -l

# Test the connection
ssh -o PreferredAuthentications=publickey user@target-ip "echo SUCCESS"

How to collect OpenSSH logs

If you encounter connection problems related to OpenSSH, enable verbose logging to help diagnose the problem.

  1. Open Notepad as an administrator.

  2. Open the file C:\ProgramData\ssh\sshd_config.

    Note

    If the file doesn't appear in Notepad, change the file filter from Text Documents (*.txt) to All Files (.).

  3. Find the section that starts with # Logging and change:

    # Logging
    #SyslogFacility AUTH
    #LogLevel INFO
    

    to:

    # Logging
    SyslogFacility LOCAL0
    LogLevel Debug3
    
  4. Open a PowerShell terminal as an administrator and restart the SSH service:

    net stop sshd
    net start sshd
    
  5. Reproduce the issue in the XBOX PC Toolbox app.

  6. Collect the logs from C:\ProgramData\ssh\logs. Compress the folder into a .zip file to share with the development team.

  7. After collecting logs, revert the changes made in step 3 (add # back to the beginning of each line) and restart the SSH service again using step 4.

See also