Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008 R2
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\VirtualIP |
|---|
| Value name | PromptOnIPLeaseFail |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting specifies whether a session uses the IP address of the Remote Desktop Session Host server if a virtual IP address is not available.
If you enable this policy setting, the IP address of the RD Session Host server is not used if a virtual IP is not available. The session will not have network connectivity.
If you disable or do not configure this policy setting, the IP address of the RD Session Host server is used if a virtual IP is not available.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Application Compatibility > Do not use Remote Desktop Session Host server IP address when virtual IP address is not available
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\VirtualIP' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\VirtualIP' -Name 'PromptOnIPLeaseFail' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
Remote Desktop and RDSStartup, Run keys and servicesFile Explorer and desktopADMX: terminalserver-server.admx · policy name TS_NOT_USE_SERVER_IP_WITH_IP_VIRTUALIZATION
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008 R2
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\VirtualIP |
|---|
| Option | Value | Type | Allowed values |
|---|
| Define IP address and network mask corresponding to the network adapter to be used for Remote Desktop IP Virtualization: | VIPAdapter | REG_SZ | Text |
What it does (vendor explanation)
This policy setting specifies the IP address and network mask that corresponds to the network adapter used for virtual IP addresses. The IP address and network mask should be entered in Classless Inter-Domain Routing notation; for example, 192.0.2.96/24.
If you enable this policy setting, the specified IP address and network mask are used to select the network adapter used for the virtual IP addresses.
If you disable or do not configure this policy setting, Remote Desktop IP Virtualization is turned off. A network adapter must be configured for Remote Desktop IP Virtualization to work.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Application Compatibility > Select the network adapter to be used for Remote Desktop IP Virtualization
PowerShell equivalent (generated from the template)
# Define IP address and network mask corresponding to the network adapter to be used for Remote Desktop IP Virtualization:
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\VirtualIP' -Name 'VIPAdapter' -Value <value> -PropertyType String -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
Remote Desktop and RDSStartup, Run keys and servicesFile Explorer and desktopADMX: terminalserver-server.admx · policy name TS_NET_ID_IP_VIRTUALIZATION
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008 R2
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\TSMSI |
|---|
| Value name | Enable |
|---|
| Enabled writes | 0 (REG_DWORD) |
|---|
| Disabled writes | 1 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting specifies whether Windows Installer RDS Compatibility runs on a per user basis for fully installed applications. Windows Installer allows one instance of the msiexec process to run at a time. By default, Windows Installer RDS Compatibility is turned on.
If you enable this policy setting, Windows Installer RDS Compatibility is turned off, and only one instance of the msiexec process can run at a time.
If you disable or do not configure this policy setting, Windows Installer RDS Compatibility is turned on, and multiple per user application installation requests are queued and handled by the msiexec process in the order in which they are received.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Application Compatibility > Turn off Windows Installer RDS Compatibility
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\TSMSI' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\TSMSI' -Name 'Enable' -Value 0 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
Remote Desktop and RDSStartup, Run keys and servicesInstalled software and uninstallFile Explorer and desktopADMX: terminalserver-server.admx · policy name TS_DISABLE_MSI
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008 R2
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\VirtualIP |
|---|
| Value name | EnableVirtualIP |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
| Option | Value | Type | Allowed values |
|---|
| Turn on Remote Desktop IP Virtualization mode: | VirtualMode | | 1 (REG_DWORD) = Per Program 0 (REG_DWORD) = Per Session |
| Assign virtual IP addresses to these programs: | PerApp | REG_MULTI_SZ | Text |
What it does (vendor explanation)
This policy setting specifies whether Remote Desktop IP Virtualization is turned on.
By default, Remote Desktop IP Virtualization is turned off.
If you enable this policy setting, Remote Desktop IP Virtualization is turned on. You can select the mode in which this setting is applied. If you are using Per Program mode, you must enter a list of programs to use virtual IP addresses. List each program on a separate line (do not enter any blank lines between programs). For example:
explorer.exe
mstsc.exe
If you disable or do not configure this policy setting, Remote Desktop IP Virtualization is turned off.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Application Compatibility > Turn on Remote Desktop IP Virtualization
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\VirtualIP' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\VirtualIP' -Name 'EnableVirtualIP' -Value 1 -PropertyType DWord -Force
# Turn on Remote Desktop IP Virtualization mode:
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\TSAppSrv\VirtualIP' -Name 'VirtualMode' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
Remote Desktop and RDSStartup, Run keys and servicesFile Explorer and desktopADMX: terminalserver-server.admx · policy name TS_ENABLE_IP_VIRTUALIZATION
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services |
|---|
| Value name | fAllowUnlistedRemotePrograms |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting allows you to specify whether remote users can start any program on the RD Session Host server when they start a Remote Desktop Services session, or whether they can only start programs that are listed in the RemoteApp programs list.
You can control which programs on an RD Session Host server can be started remotely by using the RemoteApp Manager on Windows Server 2008 R2 and Windows Server 2008. If you are using Windows Server 2012, you can configure this in the Collection properties sheet by using Server Manager.
By default, only programs in the RemoteApp Programs list can be started when a user starts a Remote Desktop Services session.
If you enable this policy setting, remote users can start any program on the RD Session Host server when they start a Remote Desktop Services session.
For example, a remote user can do this by specifying the program's executable path at connection time by using the Remote Desktop Connection client.
If you disable or do not configure this policy setting, remote users can only start programs that are listed in the RemoteApp programs list when they start a Remote Desktop Services session.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections > Allow remote start of unlisted programs
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'fAllowUnlistedRemotePrograms' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
Remote Desktop and RDSFile Explorer and desktopADMX: terminalserver-server.admx · policy name TS_ALLOW_APPS
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008 R2
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\SOFTWARE\Policies\Microsoft\Windows\Session Manager\Quota System |
|---|
| Value name | EnableCpuQuota |
|---|
| Enabled writes | 0 (REG_DWORD) |
|---|
| Disabled writes | 1 (REG_DWORD) |
|---|
What it does (vendor explanation)
Fair Share CPU Scheduling dynamically distributes processor time across all Remote Desktop Services sessions on the same RD Session Host server, based on the number of sessions and the demand for processor time within each session.
If you enable this policy setting, Fair Share CPU Scheduling is turned off.
If you disable or do not configure this policy setting, Fair Share CPU Scheduling is turned on.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections > Turn off Fair Share CPU Scheduling
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Session Manager\Quota System' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Session Manager\Quota System' -Name 'EnableCpuQuota' -Value 0 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
Remote Desktop and RDSFile Explorer and desktopADMX: terminalserver-server.admx · policy name TS_ENABLE_DFSS
Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services |
|---|
| Value name | fEnableTimeZoneRedirection |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting allows you to specify whether the client computer redirects its time zone settings to the Remote Desktop Services session.
If you enable this policy setting, clients that are capable of time zone redirection send their time zone information to the server. The server base time is then used to calculate the current session time (current session time = server base time + client time zone).
If you disable or do not configure this policy setting, the client computer does not redirect its time zone information and the session time zone is the same as the server time zone.
Note: Time zone redirection is possible only when connecting to at least a Microsoft Windows Server 2003 terminal server with a client using RDP 5.1 or later.
Group Policy path: User Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resource Redirection > Allow time zone redirection
PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'fEnableTimeZoneRedirection' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
Remote Desktop and RDSFile Explorer and desktopADMX: terminalserver-server.admx · policy name TS_TIME_ZONE
Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services |
|---|
| Value name | fDisableClip |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting specifies whether to prevent the sharing of Clipboard contents (Clipboard redirection) between a remote computer and a client computer during a Remote Desktop Services session.
You can use this setting to prevent users from redirecting Clipboard data to and from the remote computer and the local computer. By default, Remote Desktop Services allows Clipboard redirection.
If you enable this policy setting, users cannot redirect Clipboard data.
If you disable this policy setting, Remote Desktop Services always allows Clipboard redirection.
If you do not configure this policy setting, Clipboard redirection is not specified at the Group Policy level.
Group Policy path: User Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resource Redirection > Do not allow Clipboard redirection
PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'fDisableClip' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
Remote Desktop and RDSFile Explorer and desktopADMX: terminalserver-server.admx · policy name TS_CLIENT_CLIPBOARD
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services |
|---|
| Value name | RedirectOnlyDefaultClientPrinter |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting allows you to specify whether the default client printer is the only printer redirected in Remote Desktop Services sessions.
If you enable this policy setting, only the default client printer is redirected in Remote Desktop Services sessions.
If you disable or do not configure this policy setting, all client printers are redirected in Remote Desktop Services sessions.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Printer Redirection > Redirect only the default client printer
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RedirectOnlyDefaultClientPrinter' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
Remote Desktop and RDSFile Explorer and desktopPrintingADMX: terminalserver-server.admx · policy name TS_REDIRECT_CLIENT_PRN_ONLY
Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services |
|---|
| Value name | RedirectOnlyDefaultClientPrinter |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting allows you to specify whether the default client printer is the only printer redirected in Remote Desktop Services sessions.
If you enable this policy setting, only the default client printer is redirected in Remote Desktop Services sessions.
If you disable or do not configure this policy setting, all client printers are redirected in Remote Desktop Services sessions.
Group Policy path: User Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Printer Redirection > Redirect only the default client printer
PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RedirectOnlyDefaultClientPrinter' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
Remote Desktop and RDSFile Explorer and desktopPrintingADMX: terminalserver-server.admx · policy name TS_REDIRECT_CLIENT_PRN_ONLY_User
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services |
|---|
| Value name | ParticipateInLoadBalancing |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting allows you to specify whether to use the RD Connection Broker load balancing feature to balance the load between servers in an RD Session Host server farm.
If you enable this policy setting, RD Connection Broker redirects users who do not have an existing session to the RD Session Host server in the farm with the fewest sessions. Redirection behavior for users with existing sessions is not affected. If the server is configured to use RD Connection Broker, users who have an existing session are redirected to the RD Session Host server where their session exists.
If you disable this policy setting, users who do not have an existing session log on to the first RD Session Host server to which they connect.
If you do not configure this policy setting, you can configure the RD Session Host server to participate in RD Connection Broker load balancing by using the Remote Desktop Session Host Configuration tool or the Remote Desktop Services WMI provider.
Note: If you enable this policy setting, you must also enable the Join RD Connection Broker, the Configure RD Connection Broker farm name, and the Configure RD Connection Broker server name policy settings.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > RD Connection Broker > Use RD Connection Broker load balancing
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'ParticipateInLoadBalancing' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
Remote Desktop and RDSFile Explorer and desktopADMX: terminalserver-server.admx · policy name TS_SB_LOAD_BALANCING
Per machine Windows 11
Supported on: Windows Server 2008 R2 only
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services |
|---|
| Value name | fAllowDesktopCompositionOnServer |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting allows you to specify whether desktop composition is allowed for remote desktop sessions. This policy setting does not apply to RemoteApp sessions.
Desktop composition provides the user interface elements of Windows Aero, such as translucent windows, for remote desktop sessions. Because Windows Aero requires additional system and bandwidth resources, allowing desktop composition for remote desktop sessions can reduce connection performance, particularly over slow links, and increase the load on the remote computer.
If you enable this policy setting, desktop composition will be allowed for remote desktop sessions. On the client computer, you can configure desktop composition on the Experience tab in Remote Desktop Connection (RDC) or by using the "allow desktop composition" setting in a Remote Desktop Protocol (.rdp) file. In addition, the client computer must have the necessary hardware to support Windows Aero features.
Note: Additional configuration might be necessary on the remote computer to make Windows Aero features available for remote desktop sessions. For example, the Desktop Experience feature must be installed on the remote computer, and the maximum color depth on the remote computer must be set to 32 bits per pixel. Also, the Themes service must be started on the remote computer.
If you disable or do not configure this policy setting, desktop composition is not allowed for remote desktop sessions, even if desktop composition is enabled in RDC or in the .rdp file.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Remote Session Environment > Allow desktop composition for remote desktop sessions
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'fAllowDesktopCompositionOnServer' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
Remote Desktop and RDSFile Explorer and desktopADMX: terminalserver-server.admx · policy name TS_ALLOW_DESKTOPCOMPOSITION
Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services |
|---|
| Value name | fTurnOffSingleAppMode |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
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.
Group Policy path: User Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Remote Session Environment > Always show desktop on connection
PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'fTurnOffSingleAppMode' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
Remote Desktop and RDSFile Explorer and desktopADMX: terminalserver-server.admx · policy name TS_TURNOFF_SINGLEAPP
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008 R2
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services |
|---|
| Value name | fNoFontSmoothing |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting allows you to specify whether font smoothing is allowed for remote connections.
Font smoothing provides ClearType functionality for a remote connection. ClearType is a technology for displaying computer fonts so that they appear clear and smooth, especially when you are using an LCD monitor. Because font smoothing requires additional bandwidth resources, not allowing font smoothing for remote connections can improve connection performance, particularly over slow links.
By default, font smoothing is allowed for remote connections. You can configure font smoothing on the Experience tab in Remote Desktop Connection (RDC) or by using the "allow font smoothing" setting in a Remote Desktop Protocol (.rdp) file.
If you enable this policy setting, font smoothing will not be allowed for remote connections, even if font smoothing is enabled in RDC or in the .rdp file.
If you disable or do not configure this policy setting, font smoothing is allowed for remote connections.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Remote Session Environment > Do not allow font smoothing
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'fNoFontSmoothing' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
Remote Desktop and RDSFile Explorer and desktopADMX: terminalserver-server.admx · policy name TS_DISALLOW_FONT_SMOOTHING
Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services |
|---|
| Value name | fNoRemoteDesktopWallpaper |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting allows you to specify whether desktop wallpaper is displayed to clients when they are connected to a remote server using RDP.
You can use this setting to enforce the removal of wallpaper during a Remote Desktop Services session.
If you enable this policy setting, wallpaper is not displayed in a Remote Desktop Services session.
If you disable this policy setting, wallpaper is displayed in a Remote Desktop Services session, depending on the client configuration.
If you do not configure this policy setting, Windows Vista displays wallpaper to remote clients connecting through Remote Desktop, depending on the client configuration (see the Experience tab in the Remote Desktop Connection options for more information). Servers running Windows Server 2008 do not display wallpaper by default to Remote Desktop Services sessions.
Group Policy path: User Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Remote Session Environment > Remove remote desktop wallpaper
PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'fNoRemoteDesktopWallpaper' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
Remote Desktop and RDSFile Explorer and desktopADMX: terminalserver-server.admx · policy name TS_DISABLE_REMOTE_DESKTOP_WALLPAPER
Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services |
|---|
| Disabled also writes | SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services RemoteAppLogoffTimeLimit = 0 (REG_SZ) |
|---|
| Option | Value | Type | Allowed values |
|---|
| RemoteApp session logoff delay: | RemoteAppLogoffTimeLimit | | 0 (REG_DWORD) = Immediately 60000 (REG_DWORD) = 1 minute 300000 (REG_DWORD) = 5 minutes 600000 (REG_DWORD) = 10 minutes 900000 (REG_DWORD) = 15 minutes 1800000 (REG_DWORD) = 30 minutes 3600000 (REG_DWORD) = 1 hour 7200000 (REG_DWORD) = 2 hours 10800000 (REG_DWORD) = 3 hours 21600000 (REG_DWORD) = 6 hours 28800000 (REG_DWORD) = 8 hours 43200000 (REG_DWORD) = 12 hours 57600000 (REG_DWORD) = 16 hours 64800000 (REG_DWORD) = 18 hours 86400000 (REG_DWORD) = 1 day 172800000 (REG_DWORD) = 2 days 259200000 (REG_DWORD) = 3 days 345600000 (REG_DWORD) = 4 days 432000000 (REG_DWORD) = 5 days |
What it does (vendor explanation)
This policy setting allows you to specify how long a user's RemoteApp session will remain in a disconnected state after closing all RemoteApp programs before the session is logged off from the RD Session Host server.
By default, if a user closes a RemoteApp program, the session is disconnected from the RD Session Host server, but it is not logged off.
If you enable this policy setting, when a user closes the last running RemoteApp program associated with a session, the RemoteApp session will remain in a disconnected state until the time limit that you specify is reached. When the time limit specified is reached, the RemoteApp session will be logged off from the RD Session Host server. If the user starts a RemoteApp program before the time limit is reached, the user will reconnect to the disconnected session on the RD Session Host server.
If you disable or do not configure this policy setting, when a user closes the last RemoteApp program, the session will be disconnected from the RD Session Host server but it is not logged off.
Note: This policy setting appears in both Computer Configuration and User Configuration. If both policy settings are configured, the Computer Configuration policy setting takes precedence.
Group Policy path: User Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits > Set time limit for logoff of RemoteApp sessions
PowerShell equivalent (generated from the template)
# RemoteApp session logoff delay:
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -Value 0 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
Remote Desktop and RDSFile Explorer and desktopLanguage, region and inputADMX: terminalserver-server.admx · policy name TS_SESSIONS_RemoteApp_End_Timeout
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services |
|---|
| Disabled also writes | SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services RemoteAppLogoffTimeLimit = 0 (REG_SZ) |
|---|
| Option | Value | Type | Allowed values |
|---|
| RemoteApp session logoff delay: | RemoteAppLogoffTimeLimit | | 0 (REG_DWORD) = Immediately 60000 (REG_DWORD) = 1 minute 300000 (REG_DWORD) = 5 minutes 600000 (REG_DWORD) = 10 minutes 900000 (REG_DWORD) = 15 minutes 1800000 (REG_DWORD) = 30 minutes 3600000 (REG_DWORD) = 1 hour 7200000 (REG_DWORD) = 2 hours 10800000 (REG_DWORD) = 3 hours 21600000 (REG_DWORD) = 6 hours 28800000 (REG_DWORD) = 8 hours 43200000 (REG_DWORD) = 12 hours 57600000 (REG_DWORD) = 16 hours 64800000 (REG_DWORD) = 18 hours 86400000 (REG_DWORD) = 1 day 172800000 (REG_DWORD) = 2 days 259200000 (REG_DWORD) = 3 days 345600000 (REG_DWORD) = 4 days 432000000 (REG_DWORD) = 5 days |
What it does (vendor explanation)
This policy setting allows you to specify how long a user's RemoteApp session will remain in a disconnected state after closing all RemoteApp programs before the session is logged off from the RD Session Host server.
By default, if a user closes a RemoteApp program, the session is disconnected from the RD Session Host server, but it is not logged off.
If you enable this policy setting, when a user closes the last running RemoteApp program associated with a session, the RemoteApp session will remain in a disconnected state until the time limit that you specify is reached. When the time limit specified is reached, the RemoteApp session will be logged off from the RD Session Host server. If the user starts a RemoteApp program before the time limit is reached, the user will reconnect to the disconnected session on the RD Session Host server.
If you disable or do not configure this policy setting, when a user closes the last RemoteApp program, the session will be disconnected from the RD Session Host server but it is not logged off.
Note: This policy setting appears in both Computer Configuration and User Configuration. If both policy settings are configured, the Computer Configuration policy setting takes precedence.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits > Set time limit for logoff of RemoteApp sessions
PowerShell equivalent (generated from the template)
# RemoteApp session logoff delay:
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -Value 0 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
Remote Desktop and RDSFile Explorer and desktopLanguage, region and inputADMX: terminalserver-server.admx · policy name TS_SESSIONS_RemoteApp_End_Timeout_1