Use the following Switches to Uninstall Windows Patches:
Windows XP: For example if the patch KB2849470 is installed and now have to uninstall it silently then goto,
C:\Windows\$NtUninstallKB2849470$\spuninst\spuninst.exe /quiet /norestart
Windows 7: For example if the patch KB2718704-x64 is installed, download it to C:\Temp
C:\Windows\System32\wusa.exe C:\Temp\Windows6.1-KB2718704-x64.msu /uninstall /quiet /norestart
During troubleshooting Windows desktops we come across a need to verify if the system has rebooted. Below are the commands we use in XP as well as in Windows Vista/7.
In Windows XP operating Systems, we can get System Up Time.
Type CMD in the run command
in the command prompt type
[code] systeminfo | find "System Up Time" [/code]
Please note that the command is “System Up Time” is Case Sensitive.