Windows 10: Silently Uninstalling Windows Updates via Command Line in Windows 10

Discus and support Silently Uninstalling Windows Updates via Command Line in Windows 10 in Windows 10 Updates and Activation to solve the problem; After reviewing the following tutorial thread: Uninstall Windows Update in Windows 10 - Windows 10 Windows Update Activation Tutorials I've... Discussion in 'Windows 10 Updates and Activation' started by wkizzlejr, May 3, 2017.

  1. wkizzlejr Win User

    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).

    :)
     
    wkizzlejr, May 3, 2017
    #1

  2. 1709 and java

    Can't install java 8 to windows 10 Pro v1709 after update. Java Installers starts and closes without any reports!!! Java 9 installer works fine! What is the problem

    -------------------

    issue is resolved. the reason was that old version of java was not correctly uninstalled.

    sollution was found here: JAVA COMMAND-LINE SILENT UNINSTALL - CAGED RAT

    manual clearing registry helps
     
    ОлегКударенко, May 3, 2017
    #2
  3. The installer cannot run in this UI mode. To specify the interface mode, use the -i command-line option, followed by the UI mode identifier. The valid UI modes identifiers are GUI, Console, and Silent

    Which command to enter on the command line to activate the gui, console or silent option?
     
    CatherineCamus, May 3, 2017
    #3
  4. Brink
    Brink New Member

    Silently Uninstalling Windows Updates via Command Line in Windows 10

    Hello wkizzlejr, and welcome to Ten Forums. *Smile

    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


    Silently Uninstalling Windows Updates via Command Line in Windows 10 [​IMG]
     
    Brink, May 3, 2017
    #4
  5. wkizzlejr Win User
    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.
     
    wkizzlejr, May 5, 2017
    #5
  6. Brink
    Brink New Member
    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
     
    Brink, May 5, 2017
    #6
  7. wkizzlejr Win User
    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.
     
    wkizzlejr, Apr 5, 2018
    #7
Thema:

Silently Uninstalling Windows Updates via Command Line in Windows 10

Loading...
  1. Silently Uninstalling Windows Updates via Command Line in Windows 10 - Similar Threads - Silently Uninstalling Updates

  2. Update 3D Viewer from command line and in silent mode

    in Windows 10 Gaming
    Update 3D Viewer from command line and in silent mode: Good morning, following vulnerabilities found on this application, I wanted to update the software via command and silently, since I have to keep the clients updated without interfering with the users. I can't find any guide on this, can you give me directions. Thank you...
  3. Update 3D Viewer from command line and in silent mode

    in Windows 10 Software and Apps
    Update 3D Viewer from command line and in silent mode: Good morning, following vulnerabilities found on this application, I wanted to update the software via command and silently, since I have to keep the clients updated without interfering with the users. I can't find any guide on this, can you give me directions. Thank you...
  4. Update Windows 10, Office, Edge and Windows Store Apps via command line

    in Windows 10 Gaming
    Update Windows 10, Office, Edge and Windows Store Apps via command line: Hello,I have some family members father and brother that are PC noobs, so I have to set up a weekly remote session and update their system Windows, Office, Windows-Store Apps, etc manually.I want to automate this process, so they can start it themselves.Winget not an...
  5. Update Windows 10, Office, Edge and Windows Store Apps via command line

    in Windows 10 Software and Apps
    Update Windows 10, Office, Edge and Windows Store Apps via command line: Hello,I have some family members father and brother that are PC noobs, so I have to set up a weekly remote session and update their system Windows, Office, Windows-Store Apps, etc manually.I want to automate this process, so they can start it themselves.Winget not an...
  6. Update Windows 10, Office, Edge and Windows Store Apps via command line

    in Windows 10 Installation and Upgrade
    Update Windows 10, Office, Edge and Windows Store Apps via command line: Hello,I have some family members father and brother that are PC noobs, so I have to set up a weekly remote session and update their system Windows, Office, Windows-Store Apps, etc manually.I want to automate this process, so they can start it themselves.Winget not an...
  7. uninstall silently google chrome by command line

    in Windows 10 Customization
    uninstall silently google chrome by command line: Hi all,my chrome has some trouble, I can see any page, blank page.I can't even uninstall it by control panel since after the uninstall procedure starts, a chrome page opens and I don't see anything...then I can't click or read anything...I definitively need a command to force...
  8. Speed test via command line

    in Windows 10 Network and Sharing
    Speed test via command line: I need to test the speed of an Internet connection.I can test it by connecting to sites line fast.com or speedtest.net, but I want to perform a continuous test and to save the results on a file.I created a PowerShell script to run ping every 30 seconds and it works fine, but...
  9. Windows Command-Line: The Evolution of the Windows Command-Line

    in Windows 10 News
    Windows Command-Line: The Evolution of the Windows Command-Line: Welcome to the second post in this "Windows Command-Line" series. In this post we'll discuss some of the background & history behind the Windows Command-Line. Specifically, we’ll explore its humble origins in MS-DOS, to its modern-day incarnation supporting tools like...
  10. Run a scheduled task via command line via command line

    in Windows 10 Support
    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 solution? Is the...