Reply to Message

View discussion in a popup

Replying to:
jbc974
Contributor
Contributor

Hi,

To solve this issue that vmware seems to ignore, even if it is really annoying, here is the tip we use in our VDI infrastructure.

Windows logoff script (Windows local group policies) :

reg delete "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows\SessionDefaultDevices" /f

reg export "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows" "%APPDATA%\defaultprt.reg" /y

Windows logon script :

ping localhost -n 30

reg delete "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows\SessionDefaultDevices" /f

ping localhost -n 2

reg import "%APPDATA%\defaultprt.reg"

It has been working for almost 2 years now.

Hope it can help those who get this problem.

Philippe