What’s the secret to making screen width and screen height values work in an RDP file (i.e., a file passed to mstsc.exe)???
For example, this doesn’t work:
hostname:s:vmazdc003
full address:s:vmazdc003
alternate full address:s:vmazdc003
use multimon:i:0
serverport:i:3389
desktopheight:i:768
desktopwidth:i:1024
selectedmonitors:s:0
screenmode:i:2
It gives me a full screen no matter what parameters I try.
(FYI: legal values according to MSFT: https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/rdp-files)
Thanks!
--
You received this message because you are subscribed to the Google Groups "ntsysadmin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ntsysadmin+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntsysadmin/c4555166286e4d0aa98062fe4592c064%40smithcons.com.
Also doesn’t work. Same behavior (always full screen).
To view this discussion on the web visit https://groups.google.com/d/msgid/ntsysadmin/CADy1Ce6u4%3DfdSg_6OdTpW9_s2BBDuYxjre0W-hC2io1bdv0MBg%40mail.gmail.com.
Thanks for your response!
From: ntsys...@googlegroups.com <ntsys...@googlegroups.com>
On Behalf Of Kurt Buff
Sent: Friday, July 22, 2022 10:58 AM
To: ntsys...@googlegroups.com
Subject: Re: [ntsysadmin] screen width and height in RDP file?
Desktop size id?
To view this discussion on the web visit https://groups.google.com/d/msgid/ntsysadmin/CADy1Ce6u4%3DfdSg_6OdTpW9_s2BBDuYxjre0W-hC2io1bdv0MBg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntsysadmin/29f727fc114546088e2ced4a2b68bf85%40smithcons.com.
A snippet from one of mine. I force it to 1440x900 in the lower right corner of the 3rd monitor.
screen mode id:i:1
desktopwidth:i:1440
desktopheight:i:900
session bpp:i:32
winposstr:s:0,1,2389,102,3845,1041
--
There are 10 kinds of people in the world...
those who understand binary and those who don't.
¯\_(ツ)_/¯
--
You received this message because you are subscribed to the Google Groups "ntsysadmin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
I’ve never seen that (nor thought to look for it), but it provides some REALLY GOOD info. THANKS!
-Lee
From: ntsys...@googlegroups.com <ntsys...@googlegroups.com>
On Behalf Of Kurt Buff
Sent: Friday, July 22, 2022 10:58 AM
To: ntsys...@googlegroups.com
To view this discussion on the web visit https://groups.google.com/d/msgid/ntsysadmin/CADy1Ce6u4%3DfdSg_6OdTpW9_s2BBDuYxjre0W-hC2io1bdv0MBg%40mail.gmail.com.

We change those two variables in NotePad to whatever custom numbers and it works.
Philip Elder MCTS
Senior Technical Architect
Microsoft High Availability MVP
E-mail: Phili...@mpecsinc.ca
Phone: +1 (780) 458-2028
Web: www.mpecsinc.com
Blog: blog.mpecsinc.com
Twitter: Twitter.com/MPECSInc
Skype: MPECSInc.
Please note: Although we may sometimes respond to email, text and phone calls instantly at all hours of the day, our regular business hours are 8:00 AM - 5:00 PM, Monday thru Friday.
--

I missed that one.
What’s the setting with the red arrow?

Philip Elder MCTS
Senior Technical Architect
Microsoft High Availability MVP
E-mail: Phili...@mpecsinc.ca
Phone: +1 (780) 458-2028
Web: www.mpecsinc.com
Blog: blog.mpecsinc.com
Twitter: Twitter.com/MPECSInc
Skype: MPECSInc.
Please note: Although we may sometimes respond to email, text and phone calls instantly at all hours of the day, our regular business hours are 8:00 AM - 5:00 PM, Monday thru Friday.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntsysadmin/CADy1Ce6%3DUDzUEnuKjJPNm3OuJ8Tzwaae7R2wbe_6p0aJYHGoLA%40mail.gmail.com.
This is an excellent reference thank you.
Philip Elder MCTS
Senior Technical Architect
Microsoft High Availability MVP
E-mail: Phili...@mpecsinc.ca
Phone: +1 (780) 458-2028
Web: www.mpecsinc.com
Blog: blog.mpecsinc.com
Twitter: Twitter.com/MPECSInc
Skype: MPECSInc.
Please note: Although we may sometimes respond to email, text and phone calls instantly at all hours of the day, our regular business hours are 8:00 AM - 5:00 PM, Monday thru Friday.
From: ntsys...@googlegroups.com <ntsys...@googlegroups.com>
On Behalf Of Kurt Buff
Sent: Friday, July 22, 2022 08:58
To: ntsys...@googlegroups.com
Subject: Re: [ntsysadmin] screen width and height in RDP file?
Desktop size id?
To view this discussion on the web visit https://groups.google.com/d/msgid/ntsysadmin/CADy1Ce6u4%3DfdSg_6OdTpW9_s2BBDuYxjre0W-hC2io1bdv0MBg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntsysadmin/c134759799fb4c369d46efe9ede40084%40MPECSInc.Ca.
AH HAH!
Thanks.
Stupid mistake on my part.
I spelled it “screenmode:i:1” instead of “screen mode id:i:1”.
Details matter. Sheesh. And I had looked at it for hours….
To view this discussion on the web visit https://groups.google.com/d/msgid/ntsysadmin/1ADD796D2529E94DB4552E7C1F12A21A01CD45413D%40ATLEXCH04.byers.local.