Microsoft KB Archive/897599

= The initial volume may be set to the maximum level when you use Windows CE Terminal Services Client to start an RDP session to a remote system =

Article ID: 897599

Article Last Modified on 12/20/2005

-

APPLIES TO


 * Microsoft Windows CE 5.0
 * Microsoft Windows CE .NET 4.2

-





Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
Sometimes, when you use Microsoft Windows CE Terminal Services Client (Cetsc.exe) to start an RDP session to a remote system, the initial volume may be set to the maximum level. When the Windows Logon .wav file is played, the volume may be very loud, especially if you use headphones. This behavior occurs only if the audio is redirected.



CAUSE
This behavior occurs because a new audio stream is opened. By default, the software mixer always initializes the volume variable (CWaveMixerStream.m_dwVolume) to 0xFFFFFFFF when a new audio stream is opened. This setting is the maximum level.

Note This default behavior may change in a later version of the product.



User
Only the volume control on the local Windows CE-based device affects the volume of the Windows Logon .wav file when you establish an RDP connection. To avoid this behavior, use one of the following methods:
 * In Control Panel on the remote system to which you are connecting, disable the Windows Logon sound . You may have to connect to the remote system one time to do this.


 * In Control Panel on the Windows CE-based device, use Volume Control to set the volume of the Windows CE client to a lower level before you log on to the remote system.

OEM
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

OEMs can avoid this behavior by specifying the initial volume through the registry on the Windows CE-based device. An OEM can set the initial volume by adding or modifying the following registry key:



STATUS
This behavior is by design.



MORE INFORMATION
After you have established an RDP connection by using Windows CE Terminal Services Client, you can change the volume setting on the remote system for all other media files that you will play. To do this, use the volume control in the RDP session.

Note This volume control for the remote session does not control the initial volume of the Windows Logon .wav file.

Additional query words: cetsc RDP

Keywords: kbhowto kbinfo kbprb kbsound KB897599

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.