1.    03 May 2017 #1
    Join Date : May 2017
    Posts : 3
    Windows 10

    Silently Uninstalling Windows Updates via Command Line in Windows 10


    After reviewing the following tutorial thread:
    Uninstall Windows Update in Windows 10 - Windows 10 Windows Update Activation Tutorials

    I've decided that the information contained within is not entirely accurate (at a minimum, it is no longer accurate). The tutorial states that you can use the following to remove an update via the command line:

    wusa.exe /uninstall /kb:XXXXXX /quiet

    I'm not entirely sure this command line was vetted when the tutorial was created, because /quiet is not an option via the command line in Windows 10 (in fact, you will receive an error 87 - the parameter is incorrect).

    I then considered using DISM /online /get-packages to find the specific KB article I'm looking for, then use DISM.exe /Online /Remove-Package /PackageName: /quiet /norestart to remove the update in question. However, this particular update (KB3210721) was not listed in the DISM packages, even though it is listed when using the PowerShell Get-Hotfix cmdlet or by using wmic qfe list brief /format:table.

    Anyone know of an actual method to remove Windows Updates on Windows 10 silently EVERYTIME? Thanks in advance!

    (Oh, and thank you, Microsoft, for removing the /quiet switch. Unnecessary change that screws the administrator, truly worthy of your brand).
      My ComputerSystem Spec
  2.    03 May 2017 #2
    Join Date : Oct 2013
    Posts : 25,170
    64-bit Windows 10 Pro build 17040

    Hello wkizzlejr, and welcome to Ten Forums.

    The "/quiet" switch is still showing as being valid on my system. I'm not sure why you're getting an invalid parameter error. Could you post a screenshot showing the command in the command prompt to see if anything may stand out?

    https://support.microsoft.com/en-us/...ler-in-windows

    Click image for larger version. 

Name:	quiet.jpg 
Views:	30 
Size:	58.0 KB 
ID:	133362
      My ComputersSystem Spec
  3.    06 May 2017 #3
    Join Date : May 2017
    Posts : 3
    Windows 10
    Thread Starter

    Quote Originally Posted by Brink View Post
    Hello wkizzlejr, and welcome to Ten Forums.

    The "/quiet" switch is still showing as being valid on my system. I'm not sure why you're getting an invalid parameter error. Could you post a screenshot showing the command in the command prompt to see if anything may stand out?

    https://support.microsoft.com/en-us/...ler-in-windows

    Click image for larger version. 

Name:	quiet.jpg 
Views:	30 
Size:	58.0 KB 
ID:	133362
    Apologies for the time between responses. I did isolate the issue:

    Apparently, Microsoft allows for a /quiet uninstall from the command line still - but ONLY when you provide the actual update file. If you attempt to uninstall by KB article, you cannot use the /quiet switch. In fact, if you look at your screen shot above, you'll see that the /quiet switch is not present when providing /uninstall / KB:

    This differs from Windows 7, which allowed /quiet in both cases.

    I would love to hear Microsoft's explanation regarding this.
      My ComputerSystem Spec
  4.    06 May 2017 #4
    Join Date : Oct 2013
    Posts : 25,170
    64-bit Windows 10 Pro build 17040

    I don't have any updates to uninstall yet to test this with, but it did work with the /quiet parameter at the time the tutorial was created.

    If KB3210721 wasn't listed using the command below, then that could be why you got the error when trying to uninstall that KB number.

    wmic qfe list brief /format:table
      My ComputersSystem Spec
  5.    08 May 2017 #5
    Join Date : May 2017
    Posts : 3
    Windows 10
    Thread Starter

    Quote Originally Posted by Brink View Post
    I don't have any updates to uninstall yet to test this with, but it did work with the /quiet parameter at the time the tutorial was created.

    If KB3210721 wasn't listed using the command below, then that could be why you got the error when trying to uninstall that KB number.

    wmic qfe list brief /format:table
    Thanks for your assistance, Brink. It wouldn't surprise me in the slightest that it worked in the past. Honestly, this feels like such an unnecessary and unfortunate change that it begs the question whether or not Microsoft is even aware of it.

    I will say that if you log into a Windows 7 asset and type Wusa.exe from the command line, you'll notice that the help prompt shows /uninstall for both file and KB article on the same line with the /quiet parameter listed, rather than the two separate listings shown by Windows 10. Unfortunately, this might suggest that the change is deliberate.
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Run a scheduled task via command line via command line
i want start a Run a scheduled task via command line like this: Code: %SystemRoot%\system32\taskschd.msc /Run /TN "RegIdleBackup" when i run the cmd in the prompt as admin the shedular task GUI pop up but the task not start. Is there a...
General Support
Solved Launch Windows Update from Command line?
Need to open windows update, but it's not where it used to be and I can't use the start button....... How can I open it?
Windows Updates and Activation
Windows Version Edition Command line?
Guys I'm looking for a way to find the Windows Edition (not only version) such as Home or Pro from Recovery Console command line. "Ver" gives the version only "Systeminfo" command doesn't work in recovery console. Any other ways?
General Support
Solved How to get more from Windows Defender by using its command-line tool
How to get more from Windows Defender by using its command-line tool - TechRepublic
AntiVirus, Firewalls and System Security
Opening windows store apps from command line
How do I open windows store apps like Hulu from the command prompt?
Software and Apps
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 16:21.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums