Windows RDP -- Possible to resize resolution on-the-fly?

67,623

Solution 1

This is implemented as a new feature called "Dynamic Resolution Update" and was introduced in Windows 8.1. As long as the resolution is set to "Full Screen" on the client, the desktop resolution will be kept in sync with the client.

One of the changes we’ve made as part of RDP 8.1 is the addition of a new message that can be sent from the client to the server to dynamically update the resolution inside the remote session to match what is available on the client without the need to do a complete reconnect of the session. Previously, we only set the remote resolution during the initial connection. With this change, the resolution is set at connect time and can be updated when the client-side resolution changes while the app is in full screen mode, or when the app transitions from windowed mode to full screen. The resolution change is quick enough to be practically the same as a local change.

See the announcement on the RDS Blog for more.

Solution 2

Smart sizing is now a full-blown feature of Remote desktop, but is "hidden" in the right click menu

enter image description here

Source: my (italian) article here (Google Translate)

Hope this help

Solution 3

You may want to look into the following setting in the RDP file:

smart sizing:i:1

Using smart sizing will allow you to scale your session and will remove scroll bars. You can try adjusting the display size before connecting to get a desired effects. It is not exactly what you are looking for, but the closest you will find for using the current implementation of RDP.

The only caveat here is that the desktop will still remain at the effective resolution that you start with. For example, if you start the desktop at 1024x768, you can resize it down (and it will scale down, becoming smaller and harder to read) all you want but you cannot resize it up to fully fill a 1080p screen. If you start with multiple monitors, and then bring it down to a single monitor, the RDP display will show the multiple desktops side-by-side, crammed together, in one window.

See here for a blog with further details.

As an aside, I have many times used the compiled list of RDP file settings from the University of North Carolina at Charlotte College of Engineering. Hope this helps.

Solution 4

I am just putting this here for visibility, full credit to @Sevin7 for their comment above:

Use the Microsoft Remote Desktop app from the windows store instead of the version baked into windows. It has an option you have to turn on when making your first connection to "update the remote session resolution on resize" which will stay on for subsequent connections.

Solution 5

I don't know of a way of resizing once the session is started with the standard RDP client. You can try mRemote which allows this with their "Smart Resize" option. (Caveat: mRemote's overview page reports that mRemote runs only on Windows XP and Windows Vista, not on linux.)

Share:
67,623

Related videos on Youtube

zimmer62
Author by

zimmer62

I've spent many years just toying around with computers, some of my first memories programming were at 6 or 7 years old copying down basic code out of the back of my IBM pc/jr, Commodore 64, and TI 99 manuals. I taught myself Turbo Pascal when I was in 7th grade. In high school I took an independent study to further my Pascal skills instead of taking a required intro computer course. Now I'm .NET developer.

Updated on September 17, 2022

Comments

  • zimmer62
    zimmer62 over 1 year

    I'm wondering if it's possible to resize the desktop on an RDP session on the fly

    I realize you can do it before you connect, but I'm looking to resize it on the fly similar to how vmware works. If I have it in a window that's 800x600 I'd like the remote desktop to be resized to 800x600... but if I maximize my local window or go full screen, I'd like the remote desktop to assume the resolution of the local PC, or the window dimensions.

    VMWare does this exactly how I want with an option called "use host settings for monitors"

    As I scale the window, the desktop on the guest os scales, I'd like to do this on an RDP session?

    Any ideas?

    • zimmer62
      zimmer62 over 14 years
      Sorry, can't pick an answer yet. There must be some hack to allow this.
    • Tarnay Kálmán
      Tarnay Kálmán almost 14 years
      I have created a wrapper around rdesktop which reconnects you with the new geometry whenever you resize the window. It is pretty much just a quick hack, but a really useful one. This is linux only, but I'm 100% sure, that this could be implemented on windows too. github.com/kalmi/rrdesktop
    • zimmer62
      zimmer62 almost 14 years
      Restarting it seems like a pain, but I'm guessing it's the best possible solution for now. Being that something like vmware does it on the fly I would think with some sort of client software running on the remote might be able to aid the desktop size change without a restart. I'll look into seeing if an autoit script or a autohotkey script could help do this on the fly.
  • Oliver Salzburg
    Oliver Salzburg over 11 years
    mRemote no longer exists. It was replaced by a commercial software. There's also mRemoteNG. Please update your post accordingly.
  • zimmer62
    zimmer62 almost 10 years
    I like that it supports this, but it's not exactly what I'm looking for. If you get a chance to see how VMWare does it, it will allow you to resize the desktop without scaling it.
  • zimmer62
    zimmer62 almost 10 years
    I like smart sizing, but what I'm really looking for, is to have the resolution change without reconnecting.
  • Dr. Gianluigi Zane Zanettini
    Dr. Gianluigi Zane Zanettini almost 10 years
    I see what you mean now and I'm pretty sure it's not currently supported over RDP, even if it could actually be very useful.
  • Sevin7
    Sevin7 over 7 years
    Dynamic resolution update works if you use 'Microsoft Remote Desktop' from the windows store, but there is no way to enable it using the standard windows desktop version remote desktop (mstsc). Unfortunately, the windows store RDP client is limited to a single session at a time!
  • Mitch
    Mitch over 7 years
    @Sevin7, the desktop version of Remote Desktop (good ol' mstsc) will respond to resolution adjustments when maximized. For example, if you dock a laptop, a connected session will update to the new monitor size. This also occurs when maximizing to a differently sized monitor. The Windows Store version of Remote Desktop will resize on window resize, and does support multiple connections in tabbed mode, but not in multiple windows.
  • Sevin7
    Sevin7 over 7 years
    Mitch: thank you for clarifying. The MS blog post mentioned that it should work if you start in fullscreen, but I couldn't get it to work because I do not have multiple monitors running different resolutions. I was trying to get it to adjust the resolution when resizing from fullscreen to non-full screen (windowed), which is something the windows store app does, but mstsc does not do.
  • Community
    Community about 2 years
    As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.