2008 R2 Remote Desktop Services - How to change the desktop background for each user

advserver
advserver used Ask the Experts™
on
We have (2) 2008 R2 Remote Desktop Services Session Hosts that users Remote Desktop to through Connection Broker Load Balancing.

There is a need to be able to control each users desktop background as the background will need to change on a pretty regular basis.  

What is the best way to control this as each user represents a store and there will be 600+ remoting in.  

Is this something that can be controlled through the USRLOGON script?  The users will not have permissions to change the desktop background themselves.

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
ITIL Problem Manager
Commented:
It would be easier to answer this question if we knew exactly what type of specific background you want for your remote users.  The generic answer is that the RDP shortcut has to have background images enabled (this is off by default).  You will then have to script the user's background change.  You can't do a simple file overwrite if you want all users to have different background images, so you are talking registry manipulation at that point.

Justin

Author

Commented:
The specific background type will be a jpg that will vary depending on the store.

I found where the wallpaper registry key was located and added the command pasted below into the usrlogon script but it was unsuccessful.  Am I on the right track?

reg ADD "HKEY_CURRENT_USER\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "c:\all.bmp"
Justin OwensITIL Problem Manager
Commented:
If you have verified that your command actually make the registry change, then add this line to your batch file:
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters
It has to be a BMP, by the way....
Justin
 

Author

Commented:
Justin,

Default wallpaper options are JPG and not BMP.  It also works when you change the registry to point to a non Windows default JPG.

I added the line that you suggested and it worked perfectly.  Thank you very much for your help!
 

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial