A tip from member MyItGuy is ...

SetFocus("Program Manager")
SendKeys("{F5}")

Using NT/2000/XP your desktop settings such as wallpaper, tile, stretch etc. should be dynamic when changing registry values because USER environment is in place BEFORE login process is started, but Wintendo will need a forced refresh (as above) or second login because USER (HKCU)environment is not set in place until AFTER login process has finished.

Get around this by placing entry to run login script AFTER login process has finished into HKLM\...\RunOnce location.

rgds kyosei
_________________________
KYOSEI. There are only three groups of people that can count. Those that can, and those that can't.