17

I'm connecting from Windows Server 2012 R2 to Hyper-V virtual machine running Windows 8.1 via RDP (mstsc.exe). The VM is hosted on the same machine from which I'm connecting.
Everything was fine until today. When I connected to the VM today, I've seen that windows doesn't render properly and have random black rectangles as shown on the screenshot below: enter image description here This issue occures across all programs and any windows I'm trying to open, resize. scroll etc.

I've tried reconnecting to the VM, rebooting the VM, changing Windows themes on the VM, disabling and re-enabling display and display driver on the VM, changing resolution and color depth in the mstsc, disabling firewalls on both Server and VM to ensure ports are opened - nothing helped.

Does anybody has suggestions what else I can try to resolve this issue?

3 Answers3

16

I solved this issue by disabling Persistent bitmap caching in mstsc options for my VM:

enter image description here

After doing this, I haven't been experiencing any issues for several month.

6

For me, disabling 'Persistent bitmap caching' as recommended here worked. However, this reduces performance.

Instead, deleting the contents of C:\Users\\AppData\Local\Microsoft\Terminal Server Client\Cache and connecting again worked. This way I was able to keep 'Persistent bitmap caching' turned on, but not have any black boxes.

4

There seems to be a problem with the auto detection of the connection quality. I had this sometimes in my environment.

I solved in mstsc.exe with setting under Experience the Detect connection quality automatically to a plausible value.

marsh-wiggle
  • 2,265