Azure windows VM shows full black screen in RDP

Ashwin B picture Ashwin B · Jul 26, 2016 · Viewed 12k times · Source

I am having a php based webapp on azure windows server 2012 vm. Everything was fine till now. Since a day, whenever I try to connect through RDP, a full black screen get displayed, and after sometime the RDP window gets closed automatically. On Azure portal, the VM looks fine. I tried redeploying, restarting, still no success, and the vm is still working (the webapp is accessible and working) and the IP is static. What should I do to resolve this?

Answer

Harald F. picture Harald F. · Jul 26, 2016

This is known to be an issue over screen resolutions or slow internet connections / client connectivity problems.

I'd suggest first to try to see if this is a problem with resolution on your client. Try the following:

  1. Click on the black RDP windows (to select it) and press CTRL-ALT-END to bring up the Windows Security screen and select LOG OFF, then log back in (If you're using a RDP client like e.g. remote desktop manager, click the Send Ctrl-alt-delete so the keys are actually sent to the session).
  2. Start a new rdp client on your desktop but before you click connect, click the show options link, click the display tab and set the DISPLAY CONFIGURATION to a low resolution like 640×480

When connection you can also try to disable Bitmap caching (click the experience tab and disable bitmap caching before connecting).

This is a known problem, check Microsoft knowledge base

If this doesn't work, I would investigate further too see if there's any network issues / firewall issues dropping your RDP packages.