Had an incident on Friday evening where my work desktop which has allowed RDP to work for a long time, suddenly refused to work. After a reboot it still failed to work, so I knew it would require m0re investigation on Monday.
Below is a screen grab from the events showing an error that seemed to be generating a bit around the time the machine was rebooted and when I was trying to attempt connection.
I added the registry key as recommended, and rebooted. Sure enough, the error above has disappeared and RDP into the machine now works again. So it appears the registry key is something that is required in this situation.
It’s a registry fix that increases the size of the session image space. Add the following key:
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory Management]
Where 00000020 is hex for 32