Enforce Removal of Remote Desktop Wallpaper
Forcer la suppression du papier peint du Bureau à distance
Explanation
Specifies whether desktop wallpaper is displayed to remote clients connecting via Remote Desktop Services.
You can use this setting to enforce the removal of wallpaper during a Remote Desktop Services session. By default, Windows XP Professional 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 2003 do not display wallpaper by default to Remote Desktop Services sessions.
If the status is set to Enabled, wallpaper never appears in a Remote Desktop Services session.
If the status is set to Disabled, wallpaper might appear in a Remote Desktop Services session, depending on the client configuration.
If the status is set to Not Configured, the default behavior applies.
Spécifie si le papier peint du Bureau s'affiche pour les clients distants qui se connectent via les services Bureau à distance.
Vous pouvez utiliser ce paramètre pour appliquer la suppression du papier peint lors d'une session de services Bureau à distance. Par défaut, Windows XP Professionnel affiche le papier peint pour les clients distants qui se connectent par l'intermédiaire du Bureau à distance, en fonction de la configuration du client (pour plus d'informations, consultez l'onglet Avancé dans les options de Connexion Bureau à distance). Les serveurs qui exécutent Windows Server 2003 n'affichent pas le papier peint par défaut pour les sessions de services Bureau à distance.
Si vous activez ce paramètre, le papier peint ne s'affiche jamais dans une session de services Bureau à distance.
Si vous désactivez ce paramètre, le papier peint peut s'afficher dans une session de services Bureau à distance, en fonction de la configuration du client.
Si vous ne configurez pas ce paramètre, le comportement par défaut s'applique.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services- Value name
fNoRemoteDesktopWallpaper
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: TerminalServer/TS_DISABLE_REMOTE_DESKTOP_WALLPAPER
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'fNoRemoteDesktopWallpaper' -Value 1 -Type DWordDisable
# Disable: TerminalServer/TS_DISABLE_REMOTE_DESKTOP_WALLPAPER
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'fNoRemoteDesktopWallpaper' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": TerminalServer/TS_DISABLE_REMOTE_DESKTOP_WALLPAPER
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
Remove-ItemProperty -Path $k -Name 'fNoRemoteDesktopWallpaper' -ErrorAction SilentlyContinue