Forum Discussion
Jeff_Heathman
Jan 03, 2022Copper Contributor
Azure Virtual Desktop - Select Displays - Primary Monitor Settings
We have employees that use laptops and wish to exclude their laptop screen when using the Windows Remote Desktop application (msrdcw.exe). We've changed the display settings in the desktop environme...
CarlingKirk
Jun 10, 2025Copper Contributor
I've figured out a way to do this. Navigate to %LOCALAPPDATA%\rdclientwpf and find a folder named with a GUID.
1. Determine the number identifiers for your monitors by running
mstsc.exe /l
2. Make a note of the monitors that you want to select, the primary and the secondary.
Inside it there is an RDP file, edit it and ensure these settings are present:
use multimon:i:1
selectedmonitors:s:2,1 // Here I wanted monitor 2 to be the primary and 1 the secondary.
3. In registry editor, find the key "Computer\HKEY_CURRENT_USER\Software\Microsoft\RdClientRadc\Feeds\<username>\<Feed GUID>\TaskbarPinIdToPropertyMap\<GUID from AppData folder>\RelaunchCommand" and copy the command to a .bat script, such as:
ech0 off
start "" "C:\Users\<username>\AppData\Local\Apps\Remote Desktop\msrdc.exe" ^
"C:\Users\<username>\AppData\Local\rdclientwpf\<Feed GUID>\<GUID from AppData folder>.rdp" /u:<username> /l:3 /p:22592 /r:3
4. Run the script and bypass the Remote Desktop client with your desired monitor set correctly!