I need to force a reload of a Windows 7 Desktop and Start Menu through the use of a script or executable. In Windows XP I did it with 3 lines of code in a vbscript
Set objWshShell = CreateObject("WScript.Shell")
objWshShell.Run "%windir%\System32\RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters", 0, True
This doesn't work in Windows 7. Does anyone have a solution?