I have a secondary monitor that's 21:9 3440x1440. Since I need to share my screen several times a day, I wrote a batch script:
@echo off C:\Scripts\SetResolution.exe -w 1920 -h 1080 -f 60 -m 2 -noprompt -nopersist exit
And another one to go back to 3440x1440.
The problem is that when I set the resolution to 1920x1080, the image is stretched instead of showing black bars at the sides as expected, the resultion is 1920x1080 but in 21:9 aspect ratio.