Policy

Always show desktop on connection

This policy setting allows you to specify whether the desktop is always displayed after a client connects to a remote computer or whether an initial program can run. It can require that the desktop be displayed after a client connects to a remote computer, even if an initial program is already specified in the default user profile, Remote Desktop Connection, or through Group Policy. If you enable this policy setting, the desktop is always displayed when a client connects to a remote computer. This policy setting overrides any initial program policy settings. If you disable or do not configure this policy setting, an initial program can be specified that runs on the remote computer after the client connects to the remote computer. If an initial program is not specified, the desktop is always displayed on the remote computer after the client connects to the remote computer. Note: If this policy setting is enabled, then the "Start a program on connection" policy setting is ignored.

Policy
Pack Microsoft Windows
Category Windows Components / Remote Desktop Services / Remote Desktop Session Host / Remote Session Environment
Policy ID 376618edad92
Internal name TS_TURNOFF_SINGLEAPP

Registry

Copy registry mappings

HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\fTurnOffSingleAppMode (enabled) = 1
HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\fTurnOffSingleAppMode (disabled) = 0

Policy notes

This policy setting allows you to specify whether the desktop is always displayed after a client connects to a remote computer or whether an initial program can run. It can require that the desktop be displayed after a client connects to a remote computer, even if an initial program is already specified in the default user profile, Remote Desktop Connection, or through Group Policy. If you enable this policy setting, the desktop is always displayed when a client connects to a remote computer. This policy setting overrides any initial program policy settings. If you disable or do not configure this policy setting, an initial program can be specified that runs on the remote computer after the client connects to the remote computer. If an initial program is not specified, the desktop is always displayed on the remote computer after the client connects to the remote computer. Note: If this policy setting is enabled, then the "Start a program on connection" policy setting is ignored.

Related policies