Consulta de temas

How to recreate or add an additional RDP Listener in Windows Server 2012 and 2012 R2



Article Summary: This article provides information on recreating or adding an additional RDP listener in Windows Server 2012 and 2012 R2.


Table of Contents:

1. Recreate the default RDP listener.
2. Create an additional RDP listener.


1. Recreate the default RDP Listener

How to recreate the RDP listener.

  1. Export the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
  2. Delete the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
  3. Copy and paste the below text into notepad, and save the file as RDP-Tcp.reg. Additionally, if the operating system is 2012 R2, another file will be required with the contents of the second box.

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
    "fInheritMaxIdleTime"=dword:00000001
    "fPromptForPassword"=dword:00000000
    "fResetBroken"=dword:00000000
    "PdClass"=dword:00000002
    "LoadableProtocol_Object"="{5828227c-20cf-4408-b73f-73ab70b8849f}"
    "UserAuthentication"=dword:00000001
    "fDisableCam"=dword:00000000
    "fInheritAutoLogon"=dword:00000001
    "InteractiveDelay"=dword:00000032
    "Domain"=""
    "fInheritReconnectSame"=dword:00000001
    "SelectTransport"=dword:00000000
    "MinEncryptionLevel"=dword:00000002
    "fInheritShadow"=dword:00000001
    "WFProfilePath"=""
    "fReconnectSame"=dword:00000000
    "PdDLL"="tdtcp"
    "PortNumber"=dword:00000d3d
    "PdFlag1"=dword:00000000
    "WdName"="Microsoft RDP 8.0"
    "fInheritMaxSessionTime"=dword:00000001
    "WdFlag"=dword:00000036
    "SelectNetworkDetect"=dword:00000000
    "fLogonDisabled"=dword:00000000
    "MaxDisconnectionTime"=dword:00000000
    "Callback"=dword:00000000
    "PdDLL1"="tssecsrv"
    "NWLogonServer"=""
    "MaxIdleTime"=dword:00000000
    "fDisableEncryption"=dword:00000001
    "fInheritCallback"=dword:00000000
    "fDisableCcm"=dword:00000000
    "ColorDepth"=dword:00000003
    "PdName"="tcp"
    "fEnableWinStation"=dword:00000001
    "OutBufLength"=dword:00000212
    "PdFlag"=dword:0000004e
    "CallbackNumber"=""
    "CdClass"=dword:00000000
    "Shadow"=dword:00000001
    "fDisableCdm"=dword:00000000
    "PdName1"="tssecsrv"
    "fInheritSecurity"=dword:00000000
    "CdDLL"=""
    "LanAdapter"=dword:00000000
    "fInheritResetBroken"=dword:00000001
    "CfgDll"="RDPCFGEX.DLL"
    "InitialProgram"=""
    "fDisableClip"=dword:00000000
    "InputBufferLength"=dword:00000800
    "fAllowSecProtocolNegotiation"=dword:00000001
    "fDisableAudioCapture"=dword:00000000
    "Password"=""
    "CdName"=""
    "fDisableLPT"=dword:00000000
    "CdFlag"=dword:00000000
    "PdClass1"=dword:0000000b
    "fAutoClientLpts"=dword:00000001
    "fAutoClientDrives"=dword:00000001
    "fInheritCallbackNumber"=dword:00000001
    "OutBufCount"=dword:00000006
    "fInheritMaxDisconnectionTime"=dword:00000001
    "MaxInstanceCount"=dword:ffffffff
    "KeyboardLayout"=dword:00000000
    "fDisableExe"=dword:00000000
    "AudioEnumeratorDll"="rdpendp.dll"
    "Username"=""
    "KeepAliveTimeout"=dword:00000000
    "fUseDefaultGina"=dword:00000000
    "fHomeDirectoryMapRoot"=dword:00000000
    "fInheritColorDepth"=dword:00000000
    "fForceClientLptDef"=dword:00000001
    "WorkDirectory"=""
    "SecurityLayer"=dword:00000001
    "DrawGdiplusSupportLevel"=dword:00000001
    "WdPrefix"="RDP"
    "fInheritAutoClient"=dword:00000001
    "fDisableCpm"=dword:00000000
    "Comment"=""
    "OutBufDelay"=dword:00000064
    "fInheritInitialProgram"=dword:00000001
    "MaxConnectionTime"=dword:00000000

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\VideoRemotingWindowNames]
    "AGFullScreenWinClass"="*"
    "MacromediaFlashPlayerActiveX"="*"
    "EVRVideoHandler"="*"
    "MicrosoftSilverlight"="*"
    "ShockwaveFlashFullScreen"="*"

    Additional 2012 R2 values:
    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
    "UserAuthenticationBackup"=dword:00000000
    "MaxMonitors"=dword:00000004
    "MaxXResolution"=dword:00000a00
    "MaxYResolution"=dword:00000640
  4. Double-click the RDP-Tcp.reg file and click Yes at the prompt.


2. Create an additional RDP Listener

Create an additional RDP Listener.

  1. Copy and paste the text from the box below into notepad. Additionally, if the operating system is 2012 R2, another file will be required with the contents of the second box. The below example will create a listener with the name RDP-Tcp-3390 that is listening on port 3390 (00000d3e). To change these values modify the bold text.
  2. Save the file when modification is complete.
  3. Double-click the resulting file and click Yes to confirm.

NOTE: The PortNumber is stored as a hexadecimal value. Windows calculator can be used to covert between decimal and hexadecimal.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp-3390]
"fInheritMaxIdleTime"=dword:00000001
"fPromptForPassword"=dword:00000000
"fResetBroken"=dword:00000000
"PdClass"=dword:00000002
"LoadableProtocol_Object"="{5828227c-20cf-4408-b73f-73ab70b8849f}"
"UserAuthentication"=dword:00000001
"fDisableCam"=dword:00000000
"fInheritAutoLogon"=dword:00000001
"InteractiveDelay"=dword:00000032
"Domain"=""
"fInheritReconnectSame"=dword:00000001
"SelectTransport"=dword:00000000
"MinEncryptionLevel"=dword:00000002
"fInheritShadow"=dword:00000001
"WFProfilePath"=""
"fReconnectSame"=dword:00000000
"PdDLL"="tdtcp"
"PortNumber"=dword:00000d3e
"PdFlag1"=dword:00000000
"WdName"="Microsoft RDP 8.0"
"fInheritMaxSessionTime"=dword:00000001
"WdFlag"=dword:00000036
"SelectNetworkDetect"=dword:00000000
"fLogonDisabled"=dword:00000000
"MaxDisconnectionTime"=dword:00000000
"Callback"=dword:00000000
"PdDLL1"="tssecsrv"
"NWLogonServer"=""
"MaxIdleTime"=dword:00000000
"fDisableEncryption"=dword:00000001
"fInheritCallback"=dword:00000000
"fDisableCcm"=dword:00000000
"ColorDepth"=dword:00000003
"PdName"="tcp"
"fEnableWinStation"=dword:00000001
"OutBufLength"=dword:00000212
"PdFlag"=dword:0000004e
"CallbackNumber"=""
"CdClass"=dword:00000000
"Shadow"=dword:00000001
"fDisableCdm"=dword:00000000
"PdName1"="tssecsrv"
"fInheritSecurity"=dword:00000000
"CdDLL"=""
"LanAdapter"=dword:00000000
"fInheritResetBroken"=dword:00000001
"CfgDll"="RDPCFGEX.DLL"
"InitialProgram"=""
"fDisableClip"=dword:00000000
"InputBufferLength"=dword:00000800
"fAllowSecProtocolNegotiation"=dword:00000001
"fDisableAudioCapture"=dword:00000000
"Password"=""
"CdName"=""
"fDisableLPT"=dword:00000000
"CdFlag"=dword:00000000
"PdClass1"=dword:0000000b
"fAutoClientLpts"=dword:00000001
"fAutoClientDrives"=dword:00000001
"fInheritCallbackNumber"=dword:00000001
"OutBufCount"=dword:00000006
"fInheritMaxDisconnectionTime"=dword:00000001
"MaxInstanceCount"=dword:ffffffff
"KeyboardLayout"=dword:00000000
"fDisableExe"=dword:00000000
"AudioEnumeratorDll"="rdpendp.dll"
"Username"=""
"KeepAliveTimeout"=dword:00000000
"fUseDefaultGina"=dword:00000000
"fHomeDirectoryMapRoot"=dword:00000000
"fInheritColorDepth"=dword:00000000
"fForceClientLptDef"=dword:00000001
"WorkDirectory"=""
"SecurityLayer"=dword:00000001
"DrawGdiplusSupportLevel"=dword:00000001
"WdPrefix"="RDP"
"fInheritAutoClient"=dword:00000001
"fDisableCpm"=dword:00000000
"Comment"=""
"OutBufDelay"=dword:00000064
"fInheritInitialProgram"=dword:00000001
"MaxConnectionTime"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp-3390\VideoRemotingWindowNames]
"AGFullScreenWinClass"="*"
"MacromediaFlashPlayerActiveX"="*"
"EVRVideoHandler"="*"
"MicrosoftSilverlight"="*"
"ShockwaveFlashFullScreen"="*"

Additional 2012 R2 values:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
"UserAuthenticationBackup"=dword:00000000
"MaxMonitors"=dword:00000004
"MaxXResolution"=dword:00000a00
"MaxYResolution"=dword:00000640




Quick Tips content is self-published by the Dell Support Professionals who resolve issues daily. In order to achieve a speedy publication, Quick Tips may represent only partial solutions or work-arounds that are still in development or pending further proof of successfully resolving an issue. As such Quick Tips have not been reviewed, validated or approved by Dell and should be used with appropriate caution. Dell shall not be liable for any loss, including but not limited to loss of data, loss of profit or loss of revenue, which customers may incur by following any procedure or advice set out in the Quick Tips.

Identificación del artículo: SLN286475

Última fecha de modificación: 09/25/2014 12:31 PM


Califique este artículo

Preciso
Útil
Fácil de comprender
¿Este artículo fue útil?
No
Envíenos sus comentarios
Los comentarios no pueden contener estos caracteres especiales: <>"(", ")", "\"
Disculpe, nuestro sistema de comentarios está actualmente inactivo. Vuelva a intentarlo más tarde.

Muchas gracias por sus comentarios.