I constantly use registry changes in login scripts but sometimes if you make changes to the wallpaper or other display properties through the registry they don’t appear until you restart or logoff/login. At the end of a registry import or change you can simply run this little command to make the screen/desktop refresh with the new changes.


%SystemRoot%\System32\RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters