Screen resolution changes for the remote machine after safely closing the RDP session with “SupressWhenMinimzed”

亡梦爱人 提交于 2019-12-06 05:30:30

Now the issue on hand is that after closing the session safely the resolution >that gets set for the left open session is 1024x768 while when RDP connection is >open it is 1920x1200.

I have noticed the same thing as well. From what I have been able to figure out, the machine you are remoting into needs to have the default resolution = 1920x1200 on the physical (or virtual) machine.

I have used VNC to work around this limitation - but the only info I was able to find to prevent that from changing was to have the default resolution the same on all machines.

Good luck!

Only solution I found for me was to install some VNC software on the machine, connect to it, change the resolution (in my case as well to 1920x1200) since you can't do that from RDP and I don't have access to the real machine.

I also download the QRes.exe tool and add it to the path.

And finally create this script:

for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do (
  %windir%\System32\tscon.exe %%s /dest:console
  timeout 5
  qres /X 1920 /Y 1080 /C 32
)

Create shortcut for it (set to run as administrator) and from now on you can connect via RDP (mstsc) but on leaving just click on the icon to the above script instead of just closing the RDP.

P.S.: Qres is set to 1920x1080 since it doesn't support 1920x1200 but in my case (Windows 10), the tests are still run in the resolution set from VNC -> 1920x1200 so it's OK.

I had to deal with the similar issue. I resolved it by installing Dameware MiniRemote Control agent in the machine. Once you connect to it via Dameware Mini Remote Control application you can change the resolution which you can't in RDP. (RealVNC or similar ones might work as others suggested, I didn't try them)

Some solutions which didn't work for me

  1. QRes.exe /x:1920 /y:1200 http://qres.sourceforge.net/
  2. Windows Management Instrumentation (in-built) : wmic desktopmonitor create screenheight=1920, screenwidth=1200
  3. ChangeScreenResolution : http://tools.taubenkorb.at/change-screen-resolution/
  4. Persistent windows: http://www.ninjacrab.com/persistent-windows/
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!