To remove any KB in Windows 7 using a command line has changed from XP
Old Win XP command for removeing silently and force restart was:
%windir%\$NtUninstallKBXXXXXX$\spuninst\spuninst.exe /quiet /norestart
If you run this as part of a Task sequence make sure you select continue on error and add a Reboot to Currently installed OS as a next step as you want the Task sequence to control restarts.
For Windows 7 however it is:
%windir%\system32\wusa.exe /uninstall /kb:XXXXXX /quiet /norestart
If you run this as part of a Task sequence make sure you select continue on error and add a Reboot to Currently installed OS as a next step as you want the Task sequence to control restarts.
Friday, 19 March 2010
Subscribe to:
Post Comments (Atom)
Hi, thanks for the article. Can you confirm that WUSA definately can uninstall security patches? Microsoft's security patch documentation suggests that it can't?
ReplyDeleteThanks, Steve
Steve - it definatly works for me in conjuction with the Task Sequence
ReplyDelete