I'm doing an internship project for a local community college. We are running Windows 7 virtual machines and have created pools for the different rooms. When a computer is logged onto in one of these rooms the vbscript will look at the pool and decide which desktop wallpaper to assign to that virtual machine.
I am curious on how to get the desktop wallpaper to refresh without having to log off.
I tried using SendKeys to "f5" the desktop but that doesn't seem to work. Also, when I taskkill explorer.exe, it doesn't restart.
Any suggestions?