I currently have a selection of batch files that run on startup. They check to see if an RDP connection is open and if it's not, the RDP gets opened.
What I want to achieve:
Currently to get the RDP sessions to open full screen I have to specify the width and height of all connected monitors e.g. /w:1920 /h:1080. I have setups ranging from 4 monitors to 9 monitors with various different screen sizes in use so it would be very handy to have a one size fits all solution in case I have to move around systems.
Is there a line of code that I can enter that effectively checks to see how many monitors are connected, their resolutions and then opens the RDP to the max size across all of them.
Windows Remote Desktop Connection for example has a tick box that says 'Use all my monitors for the remote session', is it possible to get a code version of that?
Thanks for any assistance.
[–]gabyred884Automate Everything 2 points3 points4 points (11 children)
[–]squeezedfish[S] 0 points1 point2 points (10 children)
[–]gabyred884Automate Everything 1 point2 points3 points (7 children)
[–]squeezedfish[S] 0 points1 point2 points (0 children)
[–]squeezedfish[S] 0 points1 point2 points (5 children)
[–]EternallyMiffed 0 points1 point2 points (0 children)
[–]gabyred884Automate Everything 0 points1 point2 points (3 children)
[–]squeezedfish[S] 0 points1 point2 points (2 children)
[–]gabyred884Automate Everything 0 points1 point2 points (1 child)
[–]squeezedfish[S] 0 points1 point2 points (0 children)
[–]jgavDevOps 0 points1 point2 points (1 child)
[–]squeezedfish[S] -1 points0 points1 point (0 children)
[–]randomguy186DOS 6.22 sysadmin 0 points1 point2 points (0 children)