Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Remote desktop connection (Mstsc.exe) leaks memory when you play a sound on a Windows 10-based computer


View products that this article applies to.

Symptoms

In a remote desktop connection (Mstsc.exe) to a computer that's running Windows 10, the connection leaks memory when you play any sound. This includes simple beep tones that are generated on the PC speaker.  

In this situation, Mstsc.exe may disconnect suddenly and prompt you to reconnect to the remote computer.

↑ Back to the top


Cause

This issue occurs because the Remote Desktop ActiveX control, Mstscax.dll, allocates memory for the sound to be played on the client computer, but the memory is never released. This out-of-memory condition causes the remote desktop connection to disconnect and restart itself.

↑ Back to the top


Workaround

To work around this issue, reconnect to the remote computer.

Note Because this is a new session, you must re-enter your credentials.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Keywords: kbbug, kbexpertiseadvanced, kbsurveynew, RDP, mstsc.exe, Remote Desktop Connection

↑ Back to the top

Article Info
Article ID : 4019660
Revision : 5
Created on : 4/26/2017
Published on : 4/26/2017
Exists online : False
Views : 428