fDenyTSConnections

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

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 Passes

offlineServicing

generalize

specialize

Parent Hierarchy

Microsoft-Windows-TerminalServices-LocalSessionManager | 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>

See Also

Concepts

Microsoft-Windows-TerminalServices-LocalSessionManager