GPO tool

Group Policy made searchable

A free ADMX browser or comparison tool for IT administrators. Search policies, find registry keys, and see exactly what each setting writes to the Windows Registry. Or compare two GPO backups to see exactly what has changed between them.

Select a product
  • Select a category.

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.

Registry Information

VendorMicrosoft
ProductTerminalserver Server
CategoryTS SESSIONS
Applies toUser Configuration
Supported onWindows Server2008
Registry Key[HKCU]SOFTWAREPoliciesMicrosoftWindows NTTerminal Services
Value NamefTurnOffSingleAppMode
TypeREG_DWORD
Enabled value1
Disabled value0

Registry File (.reg)

Windows Registry Editor Version 5.00

; Enable the policy
[HKEY_CURRENT_USERSOFTWAREPoliciesMicrosoftWindows NTTerminal Services]
"fTurnOffSingleAppMode"=dword:00000001

; Disable the policy
[HKEY_CURRENT_USERSOFTWAREPoliciesMicrosoftWindows NTTerminal Services]
"fTurnOffSingleAppMode"=dword:00000000

PowerShell

# Enable the policy
Set-ItemProperty -Path "HKCU:SOFTWAREPoliciesMicrosoftWindows NTTerminal Services" -Name "fTurnOffSingleAppMode" -Value 1 -Type DWord

# Disable the policy
Set-ItemProperty -Path "HKCU:SOFTWAREPoliciesMicrosoftWindows NTTerminal Services" -Name "fTurnOffSingleAppMode" -Value 0 -Type DWord