MacOS – Microsoft Remote Desktop sessions closed when Macbook Pro display turns off

macbook promacosremote desktop

I'm using Microsoft Remote Desktop on OS X Yosemite to control a Windows desktop and a few virtual machines.

Whenever the display on my Retina MacBook Pro turns off, it closes all remote desktop sessions.

Is this because it is also disconnecting the network connections when the screen turns off? Is there a setting I can adjust to prevent this from happening?

Thanks for any help!

EDIT:
I think this was actually an issue with a wifi connection issue that many people are having with Yosemite. RDP connections were being dropped when wifi went down, I just didn't notice the wifi dropping when I wasn't actively using the computer. Many people with the same issue here: https://discussions.apple.com/thread/6601963

Best Answer

Does it do it when the screen sleeps, or when the computer sleeps?

If only when the computer does, then set System Prefs > Energy Saver - Computer Sleep to never & Display Sleep to whatever you like.

enter image description here

You can then test using System Prefs > Desktop & Screensaver > Hot Corners & assign one corner to put the display to sleep.

enter image description here