The XBOX PC Toolbox app is in preview. Download it from the Microsoft Store on Windows.
- 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.
wdRemote runs on a development PC and communicates with an instance of wdEndpoint.exe running on the remote device. See the Overview of XBOX PC Remote tools for a description of the role wdRemote and wdEndpoint play in the suite of remote development tools for Windows devices.
Use either the XBOX PC Toolbox or WinGet to install wdRemote on your development PC.
winget install Microsoft.Gaming.RemoteIterationClient
Use wdRemote to run the commands listed in the following table.
Pairing remote Windows devices and security key management
wdRemote /action:pair
This command establishes a trusted, secure connection between a development PC and the remote device via PIN pairing. wdEndpoint running on the remote device generates the PIN.wdRemote /action:pair /device:HostName | IP Address /pin:pin number [/sshKey:filename]
Example:
wdRemote /action:purgekeys
All traffic betweenwdRemote and wdEndpoint is encrypted. wdRemote automatically creates the required encryption keys and certificates the first time it’s asked to connect to a remote device. These keys are also used in the pairing process.
wdRemote /action:purgekeys removes all keys and device pairings from a development PC.
wdRemote /action:purgekeys
Return to the top of this topic.
Status and versioning information
wdRemote /action:version
Displays the version of wdRemote.exe.wdRemote /action:version
Return to the top of this topic.
wdRemote /action:status
Displays the status of the connection between the development PC and the target device.wdRemote /action:pair verifies all device pairings and checks to ensure encryption is in effect.
wdRemote /action:status /device:HostName | IP Address
Return to the top of this topic.
Deploy, launch, and terminate applications
wdRemote /action:deploy
Deploys a game from a development PC to the target device specified by the/device: argument. All deployments are incremental, meaning only the files that have changed since the last deployment are transferred to the target device.
Games are stored on the target device in a directory called a Common Root. By default, the Common Root is %ProgramData%\Microsoft GDK\gameroot. Destination paths passed to wdRemote are relative to the Common Root unless you specify an absolute path, in which case the Common Root is ignored.
The location of the default Common Root can be changed, and more Common Roots added, by creating a file named wdEndpoint.json and placing it in %ProgramData%\Microsoft GDK\wdEndpoint\ on the target device. wdEndpoint.json contains a list of Common Roots in the following format.
wdEndpoint.json defines two Common Roots, a default root at c:\developmentbuilds and another root at d:\releasedbuilds.
wdRemote /action:deploy /device:HostName | IP Address /source:directory /destination:folder under gameRoot [/root:gameRoot alias]
Examples
wdRemote /action:launch
Launches a game on the remote device specified by the/device: argument. The process ID of the game that was launched is displayed as output. wdRemote guarantees that only one game is running at a time on the remote device. If a game is already running on the remote device when wdRemote /action:launch is executed, the running game is terminated before the new game starts.
wdRemote /action:launch /device:HostName | IP Address /path:path to exe in Common Root [/args:list of arguments] [/root:gameRoot alias] [/suspend]
Examples
wdRemote /action:resume
Resumes a game on the remote device that was launched in a suspended state usingwdRemote /action:launch with the /suspend flag.
wdRemote /action:resume /device:HostName | IP Address
Examples
wdRemote /action:terminate
Terminates the game running on a remote device.wdRemote /action:terminate /device:HostName | IP Address [/processid:id]
Return to the top of this topic.
