...
The following procedure should force a desktop wallpaper image to be displayed for all users regardless of whether or not the Desktop Background option is selected in the .rdp file. This could be useful if you want a logo or an image containing instructions for the user to always be displayed. There are some local group policy settings which can be configured to force a wallpaper to be shown and prevent users from changing it. However, this only seems to work if the Desktop Background option is selected in the .rdp file.
You may encounter difficulty getting the wallpaper to be displayed under all situations. One known situation is when a user connects with the Desktop Background option disabled. The wallpaper should be displayed initially. If the user disconnects from the remote computer (but does not log out) and then reconnects, the wallpaper will probably not appear.
Add
the following to the file:
set WALLPAPER_PATH=%1 reg.exe ADD "HKEY_CURRENT_USER\Remote\2\Control Panel\Desktop" /v Wallpaper /d "%WALLPAPER_PATH%" /f reg.exe ADD "HKEY_CURRENT_USER\Remote\2\Control Panel\Desktop" /v WallpaperStyle /d 0 /f reg.exe ADD "HKEY_CURRENT_USER |
---|
\Control Panel\Desktop" /v Wallpaper /d "%WALLPAPER_PATH%" /f reg.exe ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\General" /v WallpaperSource /d "%WALLPAPER_PATH%" /f |
---|
...