I've written a script that successfully edits the user's background within Windows. I wrote the script using the RegWrite property to edit the HKEY_USERS registry value for Wallpaper.
The problem with the script is that it doesn't take affect until the next time the user logs onto Windows. It updates the registry successfully and these values are saved to the user's roaming profile upon Window's exit and the next time they log onto the domain the changes appear.
Is it possible to script this change to update the desktop immediately? If so, how would it be done?
Thanks in advance.
The problem with the script is that it doesn't take affect until the next time the user logs onto Windows. It updates the registry successfully and these values are saved to the user's roaming profile upon Window's exit and the next time they log onto the domain the changes appear.
Is it possible to script this change to update the desktop immediately? If so, how would it be done?
Thanks in advance.