WUSA.exe /uninstall and SCCM
I'm fairly new to SCCM and currently I am working to setup Software Updates to deploy monthly updates for Windows 7. I've been testing uninstalling updates using wusa.exe, and I am able to successfully uninstall updates when running this command locally on a PC from an elevated command prompt. However, when I try to deploy a package that uses this same command I am receiving the following error in the Event Viewer of the machine receiving the advertisement:

"Windows update could not be uninstalled because of error 2147549183 "Catastrophic failure" (Command line: ""C:\windows\system32\wusa.exe" /uninstall /kb:######)

I need to be able to automate the rollback process since we have a large environment. I've tried multiple methods of deploying, including deploying through a task sequence via a command line, deploying a batch file with the command, or simply entering the command into the command line field of my package program properties. All of these efforts have been met with the same results.

I'm wondering if anyone else has seen this same issue or if anyone can tell me how they handle the rollback of updates in Windows 7 when using a SUP.

Thanks
October 24th, 2011 11:33pm

you will not be able to roll back updates using a SUP. What we have done, is creating a tool where you select the update and the nwe have automated the process of creating a "normal" package. You need to be aware that the different Operating Systems er using different methods to uninstall an update.
Free Windows Admin Tool Kit Click here and download it now
October 24th, 2011 11:54pm

First of all, thank you for your response.

I'm thinking I may need to be more clear in what I'm trying to do. I realize I cannot roll back updates through the SUP, but what I was trying to do was deploy the "wusa.exe /uninstall /kb:###### /quiet" command through an advertisement. As I said before, I can run this command locally on a machine and it works as it should, however when I try to advertise it, I receive the error I posted above.

If anyone handles this process by using other methods I'd love to see some examples or discuss.

October 25th, 2011 3:57pm

Any chance that the target OS is Win7 x64 (or any x64 OS)? ConfigMgr is a 32bit application that would call the 32bit version of wusa.exe which would fail on 64bit OSes.
If so: try using a tasksequence using a "run command line" step (that contains the command line you already posted) and disable the 64bit redirection.
Free Windows Admin Tool Kit Click here and download it now
October 25th, 2011 4:04pm

As Kent mentioned you need to create seperate package for this KB and then advertise that with uninstall program.

There is a blog post re: the same (I've not tried it). May be you can give try?

http://trevorsullivan.net/2011/05/31/powershell-removing-software-updates-from-windows/

October 25th, 2011 4:12pm

Thanks Torsten. I had tried a task sequence but didn't disable 64-bit redirection. Checking that one little box cured all my ills. :)
Free Windows Admin Tool Kit Click here and download it now
October 25th, 2011 5:11pm

you need to call the Sysnative version of WUSA:

%WINDIR%\SysNative\wusa.exe /kb:2592687 /uninstall /quiet /norestart

November 21st, 2012 10:44pm

I'm trying to use the WUSA.exe /uninstall, but it keeps saying the update isn't installed. HOWEVER, when I look in the installed update section in the Control Panel, I can clearly see it's installed.

What do I do from here?

Free Windows Admin Tool Kit Click here and download it now
February 20th, 2015 10:24pm

I'm trying to use the WUSA.exe /uninstall, but it keeps saying the update isn't installed. HOWEVER, when I look in the installed update section in the Control Panel, I can clearly see it's installed.

What do I do from here?

A few thoughts;

Windows7 or later ? (wusa doesn't apply to earlier OS versions)

show us your syntax, might be able to see the problem.

checked the logs ?

have you tried the exact commandline yourself manually ?

wusa only works for Windows updates (MSU files), not for Office and other updates..

February 22nd, 2015 12:22pm

you need to call the Sysnative version of WUSA:

%WINDIR%\SysNative\wusa.exe /kb:2592687 /uninstall /quiet /nor

March 13th, 2015 6:43am

I find a solutions with dism tool:

Works on Windows Server 2008R2, 7, 8 and higher
1. Find the list of packages installed on the machine with the issue by performing this command Code: dism /online /get-packages /format:table
  for ease of reading I did the following: Code: dism /online /get-packages /format:table > patches.txt

2. From the list get the Package Identity Name Code: Package_for_KB2870699~31bf3856ad364e35~amd64~~6.2.1.1

3. Run this command to uninstall the update silently Code:

DISM.exe /Online /Remove-Package /PackageName:Package_for_KB2870699~31bf3856ad364e35~amd64~~6.2.1.1 /quiet /norestart

Source: http://arstechnica.com/civis/viewtopic.php?t=1217819

Free Windows Admin Tool Kit Click here and download it now
March 13th, 2015 7:34am

I find a solutions with dism tool:

Works on Windows Server 2008R2, 7, 8 and higher
1. Find the list of packages installed on the machine with the issue by performing this command Code: dism /online /get-packages /format:table
  for ease of reading I did the following: Code: dism /online /get-packages /format:table > patches.txt

2. From the list get the Package Identity Name Code: Package_for_KB2870699~31bf3856ad364e35~amd64~~6.2.1.1

3. Run this command to uninstall the update silently Code:

DISM.exe /Online /Remove-Package /PackageName:Package_for_KB2870699~31bf3856ad364e35~amd64~~6.2.1.1 /quiet /norestart

Source: http://arstechnica.com/civis/viewtopic.php?t=1217819

March 13th, 2015 11:33am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics