unable to use wusa to uninstall updates in quiet mode on server 2016/2019. older os removal works.`

Christopher 106 Reputation points
2021-11-22T15:45:22.22+00:00

if i run wusa.exe from a command prompt without the quiet switch; the update will remove with interaction; but with /quiet mode; it fails on 2016/2019 devices.

Failed to run the last action: 64bitCommand_to_remove_KB5007192. Result 87. Execution of task sequence failed.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,461 questions
Microsoft Configuration Manager
{count} votes

Accepted answer
  1. Christopher 106 Reputation points
    2021-11-29T17:43:13.32+00:00

    Thanks for responding.

    The first command gave me an error message for some reason. but, i was able to find the package information by slightly altering what i typed in.

    I used this to find the package info: dism /online /get-packages /format:table | findstr /i "package_for"

    Then i used the last command you referenced to remove it silently. and it worked. going to try using it with sccm as a custom task sequence next to confirm it works if we need to deploy it out to multiple devices.

    153426-success1.png153463-failure1.png

    1 person found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. RLWA32 42,161 Reputation points
    2021-11-22T16:11:21.37+00:00

    This feature was deprecated and the ability to uninstall updates in quiet mode was removed. Refer to windows-10-deprecated-features which says "The wusa usage to quietly uninstall an update has been deprecated. The uninstall command with /quiet switch fails with event ID 8 in the Setup event log. Uninstalling updates quietly could be a security risk because malicious software could quietly uninstall an update in the background without user intervention." and "Applies to Windows Server 2016 and Windows Server 2019 as well."

    1 person found this answer helpful.

  2. Juan Sobrado - MSFT 411 Reputation points Microsoft Employee
    2021-11-29T20:46:22.597+00:00

    Hello @Christopher

    Have you tried removing from cmd with: "dism /online /remove-package /packagename:NameOfPackageHere

    Regards,

    Juan Sobrado

    0 comments No comments

  3. rbish 81 Reputation points
    2022-08-04T17:19:11.387+00:00

    Still confused on the expected command to run, as most returned results dont display that actual KB number.
    In screenshots ahared by Christopher-4960, it looks like the KB you want to uninstall of 5007192, yet that is not listed anywhere in the powershell command that was supposed to list all installed KBs. Uninstall command you are running is to remove KB5005698.
    How are we supposed to silently uninstall a KB that the DISM command does not list out??

    0 comments No comments