another technical blog...technically

Monday, March 19, 2018

Playing with RDP and Surface Automation

This is a small blog post about a little trick very useful when you are in supervised-run phase.
Typically in this phase, you run the process in debug mode at full speed on a particular machine in order to discover weak points of the automation and performance issues.
If the automation is design to use surface automation techniques, desktop resolution will become an important factor.
Could sound strange, but sometimes you have to do deal with higher resolutions so I was wondering what could be a method good method to monitor more machines together having a higher resolution and I found an answer in smart sizing.
screen mode id:i:1
use multimon:i:0
desktopwidth:i:2560
desktopheight:i:1280
session bpp:i:32
winposstr:s:0,1,374,70,1206,588
compression:i:1
keyboardhook:i:2
audiocapturemode:i:0
videoplaybackmode:i:1
connection type:i:6
displayconnectionbar:i:1
disable wallpaper:i:0
allow font smoothing:i:1
allow desktop composition:i:1
disable full window drag:i:0
disable menu anims:i:0
disable themes:i:0
disable cursor setting:i:0
bitmapcachepersistenable:i:1
full address:s:vcolmcn13044
audiomode:i:0
redirectprinters:i:1
redirectcomports:i:0
redirectsmartcards:i:1
redirectclipboard:i:1
redirectposdevices:i:0
redirectdirectx:i:1
autoreconnection enabled:i:1
authentication level:i:2
prompt for credentials:i:1
negotiate security layer:i:1
remoteapplicationmode:i:0
alternate shell:s:
shell working directory:s:
gatewayhostname:s:
gatewayusagemethod:i:4
gatewaycredentialssource:i:4
gatewayprofileusagemethod:i:0
promptcredentialonce:i:1
use redirection server name:i:0
drivestoredirect:s:
smart sizing:i:1
The key are those three parameters
desktopwidth:i:2560
desktopheight:i:1280
...
smart sizing:i:1
Don’t ask me why the remote machine has this resolution (2560x1280 vs 1920x1080 of the physical machine) but this way I can’t resize the RDP window with no interference on surface automation.
Share:
written in: Milano MI, Italia

0 commenti:

Post a Comment

Because of a lot of SPAM about courses, I need to moderate all comments here.
I ensure you that I will answer whenever possible (if you are not a spammer).

Me, myself and I

My Photo
I'm just another IT guy sharing his knowledge with all of you out there.
Wanna know more?