Horizon View vGPU desktop – Resolution mismatch on View Client connection
I ran into a couple of issues with vGPU powered Horizon View Instant Clone desktops. I already created a post regarding the Flip Screen issue when multi monitor setups are being used, but I also had an issue where the initial resolution would not be set correctly after starting a new VDI session.
When using multi monitor setups in HD resolution (1920 x 1080) I observed the following issues on initial connect:
- The VDI session does not size correctly after start. The resolution in the VDI session was set to 2560 x 1600 for both monitors resulting in horizontal and vertical scrollbars. There was no autoresize to match the endpoints configuration, so to get the resolution correct within the session I had to resize the Horizon Client, or disconnect / reconnect. This issue was observed on Windows and ThinOS (Dell Linux) thin clients.
- The VDI session does not size correctly after start, but within a few seconds the VDI session would automatically resize from 2560 x 1600 to the correct endpoint configuration.
- The VDI session resized correct immediatly when the session was started.
This issue could occur at random and it was noticed that this issue was a result of the way our golden image was sealed before it can be published. As you probably know already, each VMware Horizon image needs to be sealed properly before the snapshot can be made. This includes the release of the IP address so provisioning will be successful. Since this environment is solely based on NVidia GRID powered desktops there is no way to properly shutdown the Golden Image through the vSphere console.
I use the VMware Horizon Direct Connect Agent in my image to setup a Horizon View Client session to shutdown the Golden Image. To properly shutdown the image a simple batchfile is used containing the following tasks:
REM Prompt Image version script to store the image version in the registry
powershell.exe -executionpolicy bypass -file C:\Temp\Prompt-ImageVersion-V01.ps1
REM Uninstall any installed MSI (only if needed)
REM MsiExec /x {MSI GUID} /qb-
REM Enforce new McAfee Agent GUID on Master Image for deployment to new clients
(McAfee only)
"C:\Program Files\McAfee\Agent\maconfig.exe" -enforce -noguid
REM Remove old VC redistributable files
del c:\eula*
del c:\install*
del c:\vc*
del c:\globdata*
ipconfig /release
shutdown -s -f -t 60
REM Reset multi monitor layout before shutdown of image
REG import Reset-Monitor-Layout.reg
QRes.exe /X:1920 /Y:1080
@echo off
FOR /F "tokens=1,2*" %%V IN ('bcdedit') DO SET adminTest=%%V
IF (%adminTest%)==(Access) goto noAdmin
for /F "tokens=*" %%G in ('wevtutil.exe el') DO (call :do_clear "%%G")
echo.
echo goto theEnd
:do_clear
echo clearing %1
wevtutil.exe cl %1
goto :eof
:noAdmin
exit
As you can see in the batchfile a couple of actions are done during the final shutdown of the Golden Image. The task wich will be addressed in this post is the import of the following Registry script file:
Windows Registry Editor Version 5.00
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Connectivity]
Save this file as Reset-Monitor-Layout.reg
This regfile will remove all entries withing the Windows registry which correspond to the display setup of the last connection to this Windows session. After clearing these settings I have never observed any resolution mismatch within a connection to a Horizon View desktop. All sessions which are initiated will scale to the endpoint’s resolution just fine!
24 Comments
vardenafil price · March 28, 2026 at 01:09
vardenafil price
vardenafil price
fluconazole tablet price · March 31, 2026 at 17:10
fluconazole tablet price
fluconazole tablet price
tetracycline antibiotics for uti · March 31, 2026 at 22:27
tetracycline antibiotics for uti
tetracycline antibiotics for uti
metoprolol 50 mg · April 5, 2026 at 21:12
metoprolol 50 mg
metoprolol 50 mg
misoprostol 200mcg oral · April 9, 2026 at 21:38
misoprostol 200mcg oral
misoprostol 200mcg oral
dexilant · April 12, 2026 at 08:35
dexilant
dexilant
tadalafil best dosage · April 19, 2026 at 22:29
tadalafil best dosage
tadalafil best dosage
cialis amazon india · April 21, 2026 at 15:03
cialis amazon india
cialis amazon india
vidalista professional · April 23, 2026 at 05:41
vidalista professional
vidalista professional
cenforce pill · April 23, 2026 at 23:45
cenforce pill
cenforce pill
super vidalista 80 mg · April 24, 2026 at 08:22
super vidalista 80 mg
super vidalista 80 mg
levitra medication class · April 30, 2026 at 02:03
levitra medication class
levitra medication class
ajanta sildenafil 100mg · April 30, 2026 at 14:05
ajanta sildenafil 100mg
ajanta sildenafil 100mg
semaglutide or tirzepatide · May 12, 2026 at 02:15
semaglutide or tirzepatide
semaglutide or tirzepatide
finasteride mental health · May 14, 2026 at 16:14
finasteride mental health
finasteride mental health
semaglutide dose for weight loss reddit · May 14, 2026 at 21:03
semaglutide dose for weight loss reddit
semaglutide dose for weight loss reddit
sildenafil maximum dosage · May 17, 2026 at 11:05
sildenafil maximum dosage
sildenafil maximum dosage
rogaine foam cvs · May 18, 2026 at 09:39
rogaine foam cvs
rogaine foam cvs
proscar medication template · May 18, 2026 at 20:31
proscar medication template
proscar medication template
reaction to doxycycline rash · May 20, 2026 at 00:48
reaction to doxycycline rash
reaction to doxycycline rash
doxycycline vibratab 100 mg · May 20, 2026 at 11:57
doxycycline vibratab 100 mg
doxycycline vibratab 100 mg
is metronidazole prescribed for diverticulitis · May 23, 2026 at 22:31
is metronidazole prescribed for diverticulitis
is metronidazole prescribed for diverticulitis
tadalafil on-demand dose · May 29, 2026 at 11:40
tadalafil on-demand dose
tadalafil on-demand dose
does bupropion xl expire · May 31, 2026 at 12:30
does bupropion xl expire
does bupropion xl expire