fDenyTSConnections

fDenyTSConnections specifies whether Remote Desktop connections are enabled.

There are several settings that must be configured to enable Remote Desktop connections during an unattended installation. First, you must enable Remote Desktop connections by using the fDenyTSConnections setting. You must also enable the Remote Desktop group in Windows Firewall. For more information, see "Enable Remote Desktop" in the Windows Assessment and Deployment Kit (Windows ADK).

Values

true

Specifies that remote desktop connections are denied. This is the default value.

false

Specifies that remote desktop connections are enabled.

Valid Configuration Passes

offlineServicing

generalize

specialize

Parent Hierarchy

[Microsoft-Windows-TerminalServices-LocalSessionManager]microsoft-windows-terminalservices-localsessionmanager.md) | fDenyTSConnections

Applies To

For a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-TerminalServices-LocalSessionManager.

XML Example

The following XML output shows how to set this element so that remote terminal service connections are enabled.

<fDenyTSConnections>false</fDenyTSConnections>

Microsoft-Windows-TerminalServices-LocalSessionManager