Disable System Restore through WMI

If you are sure about what you are doing and you want to speed up the installation of multiple security patches or applications, you can use the following WMI command to disable Windows XP system restore. on error resume next set sr=GetObject(“winmgmts:\\.\root\default:SystemRestore”) e=sr.disable(“”) To turn on System Restore again, use the following command: on error resume next set sr=GetObject(“winmgmts:\\.\root\default:SystemRestore”) e=sr.enable(“”)

Scripting XP quicklaunchbar

I posted this a couple of years ago into the MyITforum site and received plenty of replies on this, as at that stage it was an unknown trick. Below the trick how to enable the Windows XP quicklaunch bar by using a registry hack. copy the reg key “HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop\Default Taskbar” to: “HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop\Taskbar” (for XP RTM) “HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop\TaskbarWinXP” (for XP SP1) (to be safe copy it to both locations)