Uninstall all windows updates

Applies ToWindows 11 Windows 10

If you’ve recently installed a Windows Update and the update is causing your device to have errors or other issues, uninstall the update to try to resolve the issue. 

Uninstall an update from Settings

  1. Select Start Settings Windows Update . Under Related settings, select Update history> Uninstall updates or use the following shortcut:View update history

    Note: In Windows 10, you can access from Update & Security > Windows Update >​​​​​​​ View your update history Uninstall updates​​​​​​​

  2. From the list, select update you want to remove, and then select Uninstall.

Note: Some updates cannot be uninstalled.

Uninstall an update from Windows RE

If you can’t access Windows and you want to uninstall an update, you can do so from Windows RE. Here are the steps:

  1. Access the Windows Recovery Environment.

  2. Once in Windows RE, select Troubleshoot > Advanced options > Uninstall Updates.

  3. Select either Uninstall latest quality update or Uninstall latest quality update.

​​​​​​​

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Если после установки обновлений Windows на компьютере наблюдаются проблемы или ошибки, допустимо удалить конкретное обновление или все последние установленные обновления, чтобы попытаться устранить проблему. Рассмотрим, как удалить установленные обновления в Windows из командной строки или PowerShell.

Удалить обновление из командной строки Windows

Для вывода списка обновлений из командной строки можно использовать команду:

wmic qfe list brief /format:table

wmic qfe list brief вывести установленные обновления

Вывод команды содержит номера обновлений (KB, HotFixID) и дату установки. Для удаления определенного обновления, скопируйте его ID и выполните команду:

wusa /uninstall /kb:5048667

Подтвердите удаление обновления.

В случае успешного удаления обновления в журнале Setup в Event Viewer появится событие от WUSA с EventID 7 и описанием:

Windows update "Security Update for Microsoft Windows (KB5048667)" was successfully uninstalled. (Command line: ""C:\Windows\system32\wusa.exe" /uninstall /kb:5048667")

WUSA Event ID 7

Чтобы Windows не пыталась повторно установить удаленное обновление, можно поставить обновления на паузу на срок до 35 дней.

В предыдущих версиях Windows команду wusa можно было использовать для удаления обновлений в фоновом (тихом режиме) без подтверждения и с отложенной перезагрузкой. Использовалась такая команда:

wusa.exe /uninstall /KB:5048161 /norestart /quiet

Однако фоновый режим удаления обновлений был отключен начиная с Windows 10 1507. Теперь команда wusa.exe игнорирует параметр
/quiet
. При этом в журнале событий появляется ошибка Event ID 8:

Windows update could not be uninstalled because of error 2147942487 "The parameter is incorrect." (Command line: ""C:\Windows\system32\wusa.exe" /uninstall /KB:5048161 /norestart /quiet")

wusa /quiet - ошибка при тихом удалении обновления 2147942487 "The parameter is incorrect."

PowerShell: удаление установленных обновлений

Для более гибкого удаления обновлений можно использовать PowerShell. Следующие команды выведут список установленных обновлений Windows, отсортированных начиная с последних.

Get-CimInstance -ClassName Win32_QuickFixEngineering| select HotFixID, InstalledOn | sort InstalledOn -Descending

Или

Get-HotFix | Select-Object HotFixID, InstalledOn, Description| sort InstalledOn -Desc

Get-HotFix - вывести список установленных обновлений из PowerShell

С помощью следующих команд можно удалить все обновления Windows, установленные в определенную дату:

$Update_Date="12/13/2024"
Get-CimInstance -ClassName Win32_QuickFixEngineering | ? InstalledOn -Match $Update_Date | %{start "wusa.exe" @("/uninstall", "/kb:$($_.HotFixID.Substring(2))") -Wait}

PowerShell: удалить все обновления за указанную даты

Также для удаления обновлений можно исопльзовать PowerShell модуль PSWindowsUpdate. Установите модуль на компьютер:

Install-Module -Name PSWindowsUpdate

Выведите список 10 последних установленных обновлений:

Get-WUHistory | Select-Object -First 10| select KB,OperationName,Date,Result,title|ft

Get-WUHistory - список последних обновлений

Чтобы удалить обновление, укажите его номер в команде (в этом примере используется тихий режим с подавлением запроса на подтверждение удаления):

Remove-WindowsUpdate -KBArticleID KB5048667 -Confirm:$false -Verbose

Remove-WindowsUpdate

Если команда Remove-WindowsUpdate вернет код
-2145124318
, это означает что такое обновление удалить нельзя.

Чтобы предотвратить автоматическую установку этого обновления, нужно скрыть его от службы Windows Update:

Hide-WindowsUpdate -KBArticleID KB5048667

Если нужно удалить обновление с удаленного компьютера, можно использовать:

  • Утилиту PSExec:
    psexec \\192.168.158.100 -u root -s cmd.exe /c "dism /online /remove-package /packagename:Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9290.1 /quiet /norestart"
  • Или PowerShell Remoting:
    Invoke-Command -ComputerName 192.168.158.100 -ScriptBlock { Remove-WindowsUpdate -UpdateID KB5048161 -Force -Confirm:$false }

Удаление обновлений из образа Windows (DISM, Remove-WindowsPackage)

При удалении некоторых обновлений может появится ошибка:

Windows Update Standalone Installer
Servicing Stack 10.0.26100.2592 is required by your computer and cannot be uninstalled.

Дело в том, что это обновление служебного стека (Servicing Stack Update, SSU). Microsoft указывает, что обновления SSU нельзя удалить после установки, т.к. это критический компонент системы, без которого вы не сможете установить последующие кумулятивные обновления (Latest Cumulative Update, LCU)

Однако есть обходной способ, позволяющий удалить LCU после установки Servicing Stack Update.

Способ потенциально опасный, которые может привести вашу Windows в неработоспособное состояние. Поэтому используйте его на свой страх и риск, понимая последствия.

Выведите список установленных компонентов обновлений в образе Windows:

Get-WindowsPackage -Online | where ReleaseType -like "*Update*"|ft

Чтобы удалить пакет обновления из образа, скопируйте его имя и выполните команду:

Remove-WindowsPackage -Online -NoRestart -PackageName Package_for_RollupFix~31bf3856ad364e35~amd64~~26100.2314.1.10

Удаление обновлений с помощью Remove-WindowsPackage

We all prefer to keep our Windows operating system updated. But sometimes, some Windows Updates may make your PC go crazy. Maybe your Windows computer has gone in an endless loop! In this post, we will see how to remove or uninstall Windows Updates and troubleshoot & fix problems caused by them in Windows 11/10/8/7 using Settings, Command Prompt, PowerShell, or Recovery Environment.

If you find yourself in one of these situations while dealing with Windows Updates, then try some of the solutions provided here. These are some of the most common solutions to the most common problems. In some cases, you may have to enter the Safe Mode to be able to carry out the suggestions.

Updates are meant to enhance the security of your computer; it’s best not to remove an update unless you’re certain that it is causing a problem. Take these steps to be certain you want to remove an update:

How to Uninstall Windows Updates in Windows 11

To uninstall Windows Updates in Windows 11, do the following:

  1. From the Start or WinX Menu, open Windows 11 Settings
  2. Click on Windows Update on the left side
  3. Click on Update History
  4. Now scroll down till you see Uninstall updates under Related settings
  5. Click on the button on the right side
  6. The Installed Updates Control Panel applet will open
  7. Right-click on the Update and select Uninstall.

uninstall update windows 11

Uninstall Windows Updates in Windows 10

To remove a particular Windows Update in Windows 10, open Settings > Update and Security > Windows Update > View update history and then click on Uninstall Updates.

Uninstall Windows 10 Updates

This will open a window showing the list of all the installed updates on your computer. Then, you can select the update you want to uninstall and click on the Uninstall button on the lower right corner of the window.

It is important to mention that if you have used the Disk Cleanup Tool to delete the  Windows Update Cleanup option, then you might not be able to uninstall the Update.

In Windows 7, click Start and then click All Programs and select Windows Update from the list of programs.

In Windows 8, open the WinX menu and click open Control Panel. Now open the Windows Update applet.

From the View update history, select the update that you want to remove, and note down its KB number. I suggest you go here first as it offers some description too.

Now open the Program and Features applet of the Control Panel, and from the left side click on View Installed Updates. Right-click on the Update you wish to uninstall and click on Uninstall. The update will get installed. You may be required to reboot your computer.

Uninstall Windows Updates

Related: How to uninstall the latest Quality Update or Feature Update.

Uninstall Windows Updates from Command Prompt

Run the following command to see the Windows Update History:

wmic qfe list brief /format:table

To uninstall Windows Updates using the command line, open an elevated command prompt window, type the following, and hit Enter:

wusa /uninstall /kb:1234567

Here 1234567 should be the number of the Update you wish to uninstall. Here we are using the built-in WUSA or Windows Update Standalone Installer tool.

Uninstall Windows Updates using PowerShell

The first step is to launch PowerShell using administrator rights. Click on the Windows Search icon and type ‘powershell’. Windows PowerShell will show up as the best match in search results. On the right side under the Windows PowerShell app, click on the Run as Administrator option.

A User Account Control prompt will appear. Click on the Yes button in the UAC prompt to launch PowerShell.

Next, we have to list all updates installed on your system

Command to list all updates

In the PowerShell window, execute the following command:

get-hotfix

The above command will list all Windows updates installed on your system. The list will show the following columns:

  • Description: The type of update (security update/ update).
  • HotFixID: The KB Number of the update.
  • InstalledBy: The user account through which the update was installed.
  • InstalledOn: Date on which the update was installed.

Note down the HotfixID for the update you want to remove

Windows updates with HotFixID

Recall the time when you start getting issues on your system. Some updates may have been installed around the same time. When you identify the problematic update, note down its HotFixID.

Now we will uninstall the update using Windows Update Standalone Installer

Command to uninstall update

Execute the following command in the PowerShell window:

wusa /uninstall /kb:[updateID]

Replace [updateID] with the HotFixID you’ve noted.

The above command will use Windows Update Standalone Installer (Wusa.exe) to uninstall the required update.

A confirmation popup will appear for uninstalling the update. Click on the Yes button in the popup to confirm your action. The update will be uninstalled within a few seconds. On the next screen, click on the Restart Now button. Your PC will reboot to apply changes to the OS.

Note: Certain Windows updates can’t be uninstalled using PowerShell, since these updates are crucial for your system. For example, Servicing Stack Updates are required for the installation of future quality updates and feature updates. So they can’t be uninstalled using PowerShell.

Uninstall Windows Updates via Advanced Startup Options screen

uninstall windows updates windows 11

You can also uninstall Windows Updates via the Advanced Startup Options screen in Windows 11 or Windows 10.

Open the Advanced Startup Options screen > Troubleshoot > Advanced options > Uninstall Updates.

Read: How to delete Downloaded, Failed & Pending Windows Updates.

How do I force uninstall a Windows update?

Click on the Start button icon and select Settings. Go to Windows Update > Update history. Scroll down to the Related settings section and click on Uninstall updates. Locate the update you want to uninstall. Click on the Uninstall option next to the update. Alternatively, use the command line options as discussed in this post.

Read Next: An error has occurred, Not all of the updates were successfully uninstalled.

Read: Show or Hide Updates Tool will block unwanted Windows Updates.

Windows Update General Troubleshooting Tips

1. A recently installed update is causing the problem:

If you are sure enough that a recently installed update is causing the problem then only try these steps, or before uninstalling it, try to find information about any problems that have occurred on the computer by checking for a solution. If no solutions are available, check the Windows Update history to learn more about recently installed updates.

  • Click Start and then click All Programs and select Windows Update from the list of programs.
  • In the left pane, click View update history.
  • To view more information about an update, double-click it.

2. You are not able to remove an update:

You may face this error because you might be connected to a network where Group Policy manages updates. These network-wide settings can prevent you from removing an update. In other cases, you might not be able to remove an update because it applies to a security-related area of the operating system. If you think an update that you can’t remove is causing problems, contact the system administrator of your organization.

3. A removed update is getting reinstalled automatically:

Your computer is probably connected to a network where Group Policy settings determine which updates must be installed on each computer. These network-wide settings can reinstall any required updates that you’ve removed.

You might also have Windows set to automatically install updates, which is the recommended setting for your computer. If you don’t want Windows to install an update, you need to hide it.

  • Click Start and then click All Programs and select Windows Update from the list of programs.
  • In the left pane, click Check for updates.
  • When Windows finds updates for your computer, do one of the following:
    • Click on important updates links if you have important updates to hide.
    • Click on optional updates links if you have optional updates to hide.
  • Right-click the update you don’t want to install, and then click Hide update. The next time you check for updates, the update won’t be automatically selected or installed.

The same steps are also applied if you want to stops Windows Updates from offering an update that you don’t want to install like Language packs.

4. Your Device or Hardware is not working after updating its device drivers from Windows Update:

You might need to revert to a previous version of the driver for that device. Check the manufacturer’s website for a more recent driver version, or remove the driver and restart your computer.

5. No Uninstall option?

This post shows how to uninstall Windows Updates marked as Permanent without Uninstall option.

6. Cannot boot to Desktop

If you cannot normally to your desktop, press the F5 key while restarting your PC to boot to the blue Advanced Startup Options screen or boot into safe mode. Once here, you can use the command line to uninstall the problematic update.

I hope this helps!

Read next: Troubleshoot Windows Update problems.

While it’s generally not recommended to remove Windows Updates, sometimes they cause performance problems or privacy concerns. Microsoft will generally fix problematic updates in a timely fashion, but you can remove them manually if you’d like. You can remove individual updates using the Programs and Features window, or your can roll back your computer with System Restore, which can remove multiple updates at once.

  1. Step 1 Boot into Safe Mode.

    You’ll have the best success removing Windows updates if you are running Safe Mode:

    • Windows 7 and earlier — Reboot your computer and hold F8. Select «Safe Mode» from the menu that appears.
    • Windows 8 and later — Click the Power button in the Start menu or screen. Hold Shift and click «Restart.» Select «Troubleshoot» → «Advanced options» → «Windows Startup settings» and then click «Restart.» Select «Safe Mode» from the menu.
  2. Step 2 Open the "Programs and Features" window.

    Once you’re in Safe Mode, you’ll need to open the Programs and Features window from the Control Panel:

    • Windows 7 and earlier — Open the Start menu and select «Control Panel.» Select «Programs» or «Programs and Features» (depending on your view settings).
    • Windows 8 and later — Right-click on the Windows button and select «Programs and Features.»
  3. Step 3 Click the "View installed updates" link.

    This can be found in the left menu. A list of installed updates will be displayed.

  4. Step 4 Find the update you want to remove.

    The «Installed on» column can help you find the update that started causing your computer troubles. Windows updates are listed in the «Microsoft Windows» section towards the bottom of the list.

  5. Step 5 Select the update and click "Uninstall."

    You’ll be prompted to confirm that you want to remove the update. After confirming, the update will be removed. You can repeat this for any other updates you want to get rid of.[1]

    • If Windows is set to update automatically, the updates you delete will likely download and install on their own again. You’ll need to disable automatic updates in Windows Update to prevent installing these specific updates.
  1. Step 1 Open the System Restore tool.

    You can use System Restore to roll your system back to a point before the update was installed. You won’t lose any personal files, but any programs installed or uninstalled in the interim will be reverted.

    • Open the Control Panel and select «Recovery.» If you don’t see the «Recovery» option, select «Large icons» or «Small icons» from the «View by» menu.
    • Select «Open System Restore» to open the System Restore utility.
  2. Step 2 Select the restore point you want to roll back to.

    Restore points are created automatically when new programs or updates are installed. Depending on your System Restore settings, you may have many restore points or just a few. Old restore points are deleted automatically to make room for new ones.

    • You may be able to check a box in the lower-left corner to view all available restore points.
  3. Step 3 Click "Scan for affected programs."

    This will generate a list of all of the programs, drivers, and updates that will be removed or restored when rolling back. Programs and drivers that are restored may need to be re-installed to function properly.

  4. Step 4 Confirm that you want to perform the restore process.

    Once you click «Finish,» your computer will reboot and roll back to the restore point. This may take a little while to complete. After your computer successfully rolls back, Windows will start and a dialog will appear indicating that the restore is complete.

  5. Step 5 Test your computer.

    After restoring, see if getting rid of the update file fixed your problems. You’ll likely need to re-install or uninstall any programs or drivers that were restored during the roll back process.

  6. Step 6 Undo the system restore if problems occur.

    If the system restore process doesn’t work, or makes things worse, you can undo it and revert your computer to how it was before restoring. Open the System Restore tool again and select «Undo System Restore» to undo the last system restore you performed.

Add New Question

  • Question

    How can I select custom updates?

    Turn off all automatic updates and select the ones you want to update manually.

  • Question

    How can I uninstall Windows 7 from my computer?

    Save any files that you may want to keep on a separate hard drive, or an external hard drive, then format the drive with Windows 7 installed.

  • Question

    I’m removing several updates that require reboot. Should I reboot each time an update requires one, or can I choose to reboot later when it’s all done?

    Krytanox

    Community Answer

    It’s better to reboot after each update to ensure that it applies correctly. It’s possible that you could install them all and reboot later, but this could cause more issues further down the line.

See more answers

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

  • If you’re using Windows 7 and want to remove updates that force Windows 10’s potential privacy-compromising features, remove the following updates:[2]

    • KB2952664
    • KB2990214
    • KB3021917
    • KB3022345
    • KB3035583
    • KB3068708
    • KB3075249
    • KB3080149

References

About this article

Thanks to all authors for creating a page that has been read 322,587 times.

Is this article up to date?

,

In a previous tutorial I mentioned the way to uninstall Windows 10 updates from the Windows GUI environment. In this tutorial I ‘ll show to you, how to uninstall Windows updates from the command line (command prompt) using the WUSA command, or by using the  DISM (Deployment Image Servicing and Management) tool.

How to Uninstall Updates from the Command Line  with WUSA & DISM (Windows 10/8/7)

Part 1. Uninstall Windows Updates using WUSA command.

Part 2. Uninstall Windows Updates using the DISM command from Windows GUI.

Part 1. Remove Windows Updates using WUSA command.

1. Open Command Prompt as Administrator.

2. Display the configuration of the operating system and view a list of the installed updates, with this command:

  • systeminfo.exe

3. At Hotfix(s) section, locate the number of the KB update that you want to uninstall. (e.g. «4058702»)

image

3. Finally give the following command to remove the desired update. (e.g. the KB «4058702»)

  • wusa /uninstall /kb:4058702 /quiet /norestart

* Note: If you receive an «Error: 5 Access is denied», after executing the above command then make sure that you have open an Administrative Command Prompt window and temporarily disable your Antivirus Protection.

image

Part 2. Remove Windows Updates using the DISM tool from the Windows GUI. *

* Note: The advantage of the DISM tool is that you can use it to remove updates. from either the Windows GUI (if Windows boot normally) or the Windows recovery environment. This is useful if Windows fails to start after an unsuccessful update installation.

1. Open Command Prompt as Administrator.

2. First, view a list with the installed updates with the DISM command:

  • dism /online /get-packages /format:table

image

3. At the «Package Identity» column, find out the Package Name of the update that you want to remove. *

* e.g. To remove the «Package_for_KB4058702~31bf3856ad364e35~amd64~~16299.188.1.0»

Tip: If you want to view more details for an installed package then give this command:

  • dism /online /get-packageinfo /packagename:PackageName

e.g: dism /online /get-packageinfo /packagename:Package_for_KB4058702~31bf3856ad364e35~amd64~~16299.188.1.0


image

4. Finally, type the following command to remove the desired update package and press Enter: *

  • dism /Online /Remove-Package /PackageName:PackageName

* e.g. To remove the «Package_for_KB4058702~31bf3856ad364e35~amd64~~16299.188.1.0», give this command:

  • dism /Online /Remove-Package /PackageName:Package_for_KB4058702~31bf3856ad364e35~amd64~~16299.188.1.0

Tip: To easy type the above command:

1. Copy and Paste the first part (with the bold characters), of the above DISM command, in command prompt window.
2. Then highlight the full package name from the list of installed packages (above) and press the Ctrl + C keys (to copy the full package name on the clipboard).
3.  Finally press the Ctrl + V keys (to paste the full package name on the DISM command.)

image

That’s all folks! Did it work for you?

Please leave a comment in the comment section below or even better: like and share this blog post in the social networks to help spread the word about this solution.

If this article was useful for you, please consider supporting us by making a donation. Even $1 can a make a huge difference for us.

  • Author
  • Recent Posts

Konstantinos is the founder and administrator of Repairwin.com. Since 1995 he works and provides IT support as a computer and network expert to individuals and large companies. He is specialized in solving problems related to Windows or other Microsoft products (Windows Server, Office, Microsoft 365, etc.).

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Directx software development kit windows 10
  • Если установить windows 10 на mbr
  • Windows defender offline update
  • Как сделать автовход в windows 10 без пароля
  • Какой программой можно удалить обновления windows 7