Windows update troubleshoot windows 10

If you get an error code while downloading and installing Windows updates, the Update Troubleshooter can help resolve the problem. 

Select Start  > Settings  > System  > Troubleshoot  > Other troubleshooters. Next, under Most frequent, select Windows Update > Run.

When the troubleshooter is finished running, it’s a good idea to restart your device.

Next, check for new updates. Select Start  > Settings  > Windows Update  > Check for updates and then install any available updates.

If the problems aren’t all resolved, try running the troubleshooter again to check for additional errors, or see Fix Windows Update errors and follow the troubleshooting steps.

For more Windows Update troubleshooting info, see Troubleshoot problems updating Windows. 

Check for Windows updates

If you get an error code while downloading and installing Windows updates, the Update Troubleshooter can help resolve the problem. 

Select Start  > Settings  > Update & Security   > Troubleshoot > Additional troubleshooters. Next, under Get up and running, select Windows Update > Run the troubleshooter.

When the troubleshooter is finished running, it’s a good idea to restart your device.

Next, check for new updates. Select Start  > Settings  > Update & Security  > Windows Update  > Check for updates and then install any available updates.

If the problems aren’t all resolved, try running the troubleshooter again to check for additional errors, or see Fix Windows Update errors and follow the troubleshooting steps.

For more Windows Update troubleshooting info, see Troubleshoot problems updating Windows. 

Check for Windows updates

In Windows 11, you decide when and how to get the latest updates to keep your device running smoothly and securely. This article will help you answer questions and troubleshoot common problems with your Windows 11 update.

If you’re looking for info on how to activate Windows 11 or to verify that your installation of Windows 11 is activated, see
Activate Windows
.

Have issues installing Windows updates? Start here.

Your device may not be able to update to the latest version of Windows 11 for a few reasons. The following tips can help you pinpoint the issue affecting your device.

Before you begin, make sure your device is plugged into a power source and connected to the internet. Then, try the steps listed below to get your PC to update.

Some updates require administrator access. If your account doesn’t have administrator access, see
Create a local user or administrator account in Windows
. Or if someone else at home or in your office has an administrator account on your device, try asking them to install the updates.

Important: 

  • Before trying any of the solutions below, make sure you back up your personal files. You can back up your Windows PC, or insert a USB drive and use File Explorer to drag and copy important files to the USB drive. If you’re signing into Windows with a Microsoft account, your system settings will be automatically restored after updating, once you’re connected to the internet.

  • You can also back up your files with OneDrive. For more info, go to
    Back up your Documents, Pictures, and Desktop folders with OneDrive
    .

  • Learn more about Windows Update


Make sure that your device has enough space.

Your device requires at least 16 GB of free space to upgrade a 32-bit OS, or 20 GB for a 64-bit OS. If your device has a small hard drive, you may need to insert a USB drive to update it.

If your PC is running low on storage, try the techniques at
Free up drive space in Windows
.

Many updates require you to restart your device. Save your work and close all open applications. Then, select

Start

>

Power

, and select either

Update and restart

or

Update and shut down

.

Even if you have downloaded some updates, there may be more available. After trying the preceding steps, run Windows Update again by selecting

Start

>

Settings

>

Windows Update

>

Check for updates

. Download and install any new updates.

Check for updates in Settings

Remove any external storage devices and drives, docks, and other hardware plugged into your device that aren’t needed for basic functionality. Then try to run updates again and see if this resolved your issue. If it didn’t, continue to the next tip.

If you’ve added hardware to your device, check for third-party driver updates and installation instructions on the hardware manufacturer’s website. Update any drivers, then try to run updates again and see if this resolved your issue. If it didn’t, continue to the next tip.

  1. In the search box on the taskbar, type

    device manager

    , then select

    Device Manager

    from the list of results.

  2. In the window that appears, look for any device with a yellow exclamation mark next to it. (You may have to select each category to view the list of devices.) Select the device name.

  3. Select

    Action

    , and then choose either

    Update driver

    or

    Uninstall

    to correct the errors.

Common troubleshooting questions

The time required to download and install updates depends on connection speed, network settings, and the size of the update. If the installation remains stuck at the same percentage, try checking for updates again or running the
Windows Update Troubleshooter
.

To check for updates, select

Start

>

Settings

>

Windows Update

>

Check for updates

.

To get help, in the search box on the taskbar, type

get help

, then select

Get Help

from the list of results. To leave feedback if you run into further problems, in the search box on the taskbar, type

feedback hub

, then select

Feedback Hub

from the list of results.

You will only receive a notification when it’s time to restart your computer to apply the installed updates.

Monthly quality updates on Windows 11 are quite small and have a minimal impact on data usage. Feature updates typically happen twice per year, and you can control when to install them. They require more data but are less frequent.

If you’re on a metered connection, some updates for Windows won’t be installed automatically.
Metered connections in Windows

Your computer might be slow for a number of reasons, but updating to the latest version of Windows 11 can improve its performance. For help with a slow computer, see
Tips to improve PC performance in Windows
.

Advanced

Warning: 
Microsoft only recommends trying the procedures in this section if you’re comfortable working in the command line. These procedures require administrator permissions on your device.

  1. In the search box on the taskbar, type

    command prompt

    , then select

    Run as administrator

    from the list of options. Select

    Yes

    . Next, in the window that appears, type the following commands one at a time, including the spaces as shown. After you type each command, press

    Enter

    . Then let each command complete before you type the next command.


    net stop bits


    net stop wuauserv


    ren %systemroot%\softwaredistribution softwaredistribution.bak


    ren %systemroot%\system32\catroot2 catroot2.bak


    net start bits


    net start wuauserv

  2. After all these commands are completed, close the Command Prompt window and restart your computer.

In some instances, third-party antivirus or security software can cause errors when you try to update to the latest version of Windows 11. You can temporarily uninstall this software, update your PC, and then reinstall the software after your device is up to date. We recommend using third-party antivirus or security software that’s compatible with the latest version of Windows 11. You can check compatibility by visiting the software manufacturer’s website.

Note: 
Before uninstalling software, make sure you know how to reinstall your programs and that you have any necessary product keys.

In the search box on the taskbar, type

command prompt,

and then select

Run as administrator

from the list of options. Select

Yes

. In the window that appears, type the following command, including the space as shown:


chkdsk/f C:

and then press

Enter

. Repairs will automatically start on your hard drive, and you’ll be asked to restart your device.

A clean restart starts Windows with a minimal set of drivers and startup programs. This helps eliminate software conflicts that occur when you install a program or an update that may cause issues updating your PC.

Learn how to do a clean restart

  1. In the search box on the taskbar, type

    command prompt

    , then select

    Run as administrator

    from the list of options.

  2. In the window that appears, type this command including spaces as shown:


    DISM.exe /Online /Cleanup-image /Restorehealth

  3. Press

    Enter

    . When the command operation has run successfully, you’ll see a confirmation message from Command Prompt that says, “The restore operation completed successfully” or “The operation completed successfully”.

    Note: If you don’t see a confirmation message, retype the command and try again.

  4. Next, type this command, including the space as shown:


    sfc /scannow

  5. Press

    Enter

    . Wait until the

    sfc

    scan verification reaches 100% completion, and then close Command Prompt.

  6. Try running the Windows Update again.

The command prompt showing: DISM/Onlin /Cleanup-Image/RestoreHealth

Learn how to repair a Windows image

Go to
the software download page
and select

Download tool now

to download the clean installation tool. Make sure to carefully read the notes on the software download page before using the tool.

In Windows 10, you decide when and how to get the latest updates to keep your device running smoothly and securely. This article will help you answer questions and troubleshoot common problems with your Windows 10 update.

If you’re looking for info on how to activate Windows 10 or to verify that your installation of Windows 10 is activated, see
Activate Windows
.

Have issues installing Windows updates? Start here.

Your device may not be able to update to the latest version of Windows 10 for a few reasons. The following tips can help you pinpoint the issue affecting your device.

Before you begin, make sure your device is plugged into a power source and connected to the internet. Then, try the steps listed below to get your PC to update.

Some updates require administrator access. If your account doesn’t have administrator access, see
Create a local user or administrator account in Windows
. Or if someone else at home or in your office has an administrator account on your device, try asking them to install the updates.

Important: 

  • Before trying any of the solutions below, make sure you back up your personal files. You can back up your Windows PC, or insert a USB drive and use File Explorer to drag and copy important files to the USB drive. If you’re signing into Windows with a Microsoft account, your system settings will be automatically restored after updating, once you’re connected to the internet.

  • You can also back up your files with OneDrive. For more info, go to
    Back up your Documents, Pictures, and Desktop folders with OneDrive
    .

  • Learn more about Windows Update

  • Serviced versions of Windows 10: Frequently asked questions


Make sure that your device has enough space.

Your device requires at least 16 GB of free space to upgrade a 32-bit OS, or 20 GB for a 64-bit OS. If your device has a small hard drive, you may need to insert a USB drive to update it.

If your PC is running low on storage, try the techniques at
Free up drive space in Windows
.

Many updates require you to restart your device. Save your work and close all open applications. Then, select

Start

>

Power

, and select either

Update and restart

or

Update and shut down

.

Even if you have downloaded some updates, there may be more available. After trying the preceding steps, run Windows Update again by selecting

Start

>

Settings

>

Update & Security

>

Windows Update

>

Check for updates

. Download and install any new updates.

Check for updates in Settings

Remove any external storage devices and drives, docks, and other hardware plugged into your device that aren’t needed for basic functionality. Then try to run updates again and see if this resolved your issue. If it didn’t, continue to the next tip.

If you’ve added hardware to your device, check for third-party driver updates and installation instructions on the hardware manufacturer’s website. Update any drivers, then try to run updates again and see if this resolved your issue. If it didn’t, continue to the next tip.

  1. In the search box on the taskbar, type

    device manager

    , then select

    Device Manager

    from the list of results.

  2. In the window that appears, look for any device with a yellow exclamation mark next to it. (You may have to select each category to view the list of devices.) Select the device name.

  3. Select

    Action

    , and then choose either

    Update driver

    or

    Uninstall

    to correct the errors.

Common troubleshooting questions

The time required to download and install updates depends on connection speed, network settings, and the size of the update. If the installation remains stuck at the same percentage, try checking for updates again or running the
Windows Update Troubleshooter
.

To check for updates, select

Start

>

Settings

>

Update & Security

>

Windows Update

>

Check for updates.

To get help, in the search box on the task bar, type

get help

, then select

Get Help

from the list of results. To leave feedback if you run into further problems, in the search box on the taskbar, type

feedback hub

, then select

Feedback Hub

from the list of results.

You will only receive a notification when it’s time to restart your computer to apply the installed updates.

Tips: 

  • If you need to know where you left off in your work after an update, use Timeline to jump back in.

  • To get started with Timeline, select

    Task View

    on the taskbar, or press the Windows logo key

    +Tab and select the activity you want to resume.

Monthly quality updates on Windows 10 are quite small and have a minimal impact on data usage. Feature updates typically happen twice per year, and you can control when to install them. They require more data but are less frequent.

If you’re on a metered connection, some updates for Windows won’t be installed automatically.
Metered connections in Windows

Your computer might be slow for a number of reasons, but updating to the latest version of Windows 10 can improve its performance. For help with a slow computer, see
Tips to improve PC performance in Windows
.

Advanced

Warning: 
Microsoft only recommends trying the procedures in this section if you’re comfortable working in the command line. These procedures require administrator permissions on your device.

  1. In the search box on the taskbar, type

    command prompt

    , then select

    Run as administrator

    from the list of options. Select

    Yes

    . Next, in the window that appears, type the following commands one at a time, including the spaces as shown. After you type each command, press

    Enter

    . Then let each command complete before you type the next command.


    net stop bits


    net stop wuauserv


    ren %systemroot%\softwaredistribution softwaredistribution.bak


    ren %systemroot%\system32\catroot2 catroot2.bak


    net start bits


    net start wuauserv

  2. After all these commands are completed, close the Command Prompt window and restart your computer.

In some instances, third-party antivirus or security software can cause errors when you try to update to the latest version of Windows 10. You can temporarily uninstall this software, update your PC, and then reinstall the software after your device is up to date. We recommend using third-party antivirus or security software that’s compatible with the latest version of Windows 10. You can check compatibility by visiting the software manufacturer’s website.

Note: 
Before uninstalling software, make sure you know how to reinstall your programs and that you have any necessary product keys.

In the search box on the taskbar, type

command prompt,

and then select

Run as administrator

from the list of options. Select

Yes

.

In the window that appears, type the following command, including the space as shown:


chkdsk/f C:

and then press

Enter

. Repairs will automatically start on your hard drive, and you’ll be asked to restart your device.

A clean restart starts Windows with a minimal set of drivers and startup programs. This helps eliminate software conflicts that occur when you install a program or an update that may cause issues updating your PC.

Learn how to do a clean restart

  1. In the search box on the taskbar, type

    command prompt

    , then select

    Run as administrator

    from the list of options.

  2. In the window that appears, type this command including spaces as shown:


    DISM.exe /Online /Cleanup-image /Restorehealth

  3. Press

    Enter

    . When the command operation has run successfully, you’ll see a confirmation message from Command Prompt that says, “The restore operation completed successfully” or “The operation completed successfully”.

    Note: If you don’t see a confirmation message, retype the command and try again.

  4. Next, type this command, including the space as shown:


    sfc /scannow

  5. Press

    Enter

    . Wait until the

    sfc

    scan verification reaches 100% completion, and then close Command Prompt.

  6. Try running the Windows Update again.

The command prompt showing: DISM/Onlin /Cleanup-Image/RestoreHealth

Learn how to repair a Windows image

Go to
the software download page
and select

Download tool now

to download the clean installation tool. Make sure to carefully read the notes on the software download page before using the tool.

Still stuck?

Contact
Microsoft support
if you continue to have problems with your Windows updates.

Recommended articles

Activate Windows

How to use the PC Health Check app

Windows Update: FAQ

Create a local user or administrator account in Windows

Windows Update troubleshooter

Free up drive space in Windows

Если служба обновлений Windows работает не корректно, обновления не загружаются или не устанавливаются, то самый простой и эффективней способ решить проблему со службой Windows Update – восстановить ее исходные настройки. В этой статье мы покажем, как сбросить конфигурацию агента и службы обновлений Windows Update.

Содержание:

  • Средство устранения неполадок Центра обновления Windows
  • Сброс настроек Windows Update с помощью PowerShell
  • Утилита Reset Windows Update Tool
  • Восстановление исходных настроек Windows Update из командной строки

Обычно для отладки и дебага ошибок службы обновления Windows администратору необходимо проанализировать коды ошибок в файле журнала обновлений %windir%\WindowsUpdate.log (в Windows 10 и 11 получить файл WindowsUpdate.log можно таким способом). Количество возможных ошибок, с которыми может столкнуться администратор при анализе журнала обновлений исчисляется десятками (список всех ошибок Windows Update) и процесс их разрешения в основном нетривиальный. В некоторых случаях вместо детального анализа ошибок Windows Update гораздо быстрее и проще сначала произвести полный сброс настроек службы Windows Update. После сброса Windows Update вы можете выполнить сканирование и поиск обновлений.

windows update error

Средство устранения неполадок Центра обновления Windows

Прежде чем перейти к сбросу конфигурации центра обновления Windows, настоятельно рекомендуем сначала попробовать более встроенное средство для автоматического исправления проблем в службе обновления Windows – средство устранения неполадок Центра обновления Windows (Windows Update Troubleshooter).

В Windows 10 и 11 Windows Update Troubleshooter уже встроен в современную панель Settings. Для предыдущих версий Windows его придется скачать вручную по ссылкам ниже:

  • Windows 11 — Settings -> System -> Troubleshooter -> Other Troubleshooter -> Windows Update; windows 11 исправление ошибок в windows update troubleshooter
  • Windows 10 – скачите wu10.diagcab по ссылке https://aka.ms/wudiag , либо запустите локальную версию инструмента: Пуск -> Параметры -> Обновления и безопасность -> Устранение неполадок -> Центр обновлений Windows (Start -> Settings -> Updates and Security -> Troubleshoot -> Additional Troubleshooters-> Windows Updates – resolve problems that prevent you from updating windows); Windows10 средство устранения неполадок Центра обновления Windows (Windows Update Troubleshooter

    Для быстрого доступа к средствам исправления неполадок Windows можно использовать команду ms-settings:
    ms-settings:troubleshoot

  • Windows 7 и Windows 8.1 — WindowsUpdate.diagcab (https://aka.ms/diag_wu).

Дождитесь пока средство устранения неполадок Центра обновления Windows просканирует систему и попытается автоматически исправить все ошибки в службе Windows Update и связанных компонентах.

исправить ошибки в windows upadate встроенной утилитой

исправить ошибкт Windows Update автоматически

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

Сброс настроек Windows Update с помощью PowerShell

Вы можете использовать PowerShell модуль PSWindowsUpdate для сброса настроек агента и службы Windows Update.

Установите модуль на свой компьютер из галереи скриптов PSGallery:

Install-Module -Name PSWindowsUpdate

Разрешите запуск PowerShell скриптов:

Set-ExecutionPolicy –ExecutionPolicy RemoteSigned -force

Выполните команду:

Reset-WUComponents –verbose

сброс настройки службы обновлений windows Reset-WUComponents powershell команда

Команда Reset-WUComponents выполняет действия, по остановке служб, перерегистрации dll и очистке каталога C:\Windows\SoftwareDistribution, что и описанный чуть ниже bat скрипт.

VERBOSE: Background Intelligent Transfer Service (BITS)
VERBOSE: Windows Update (wuauserv)
VERBOSE: Application Identity (appidsvc)
VERBOSE: Cryptographic Services (cryptsvc)
Step 2: Delete the qmgr*.dat files
Step 3: Backup software distribution folders
VERBOSE: Renaming Software Distribution folder to C:\Windows\SoftwareDistribution.bak
VERBOSE: Renaming CatRoot  folder to C:\Windows\System32\Catroot2.bak
 Step 4: Remove old Windows Update logs
VERBOSE: Deleting the C:\Windows\WindowsUpdate.log files.
Step 5: Reset Windows Update services
VERBOSE: Reset BITS service
VERBOSE: Reset Windows Update service
Step 6: Reregister dll's
VERBOSE: regsvr32.exe / s atl.dll
VERBOSE: regsvr32.exe / s urlmon.dll
VERBOSE: regsvr32.exe / s mshtml.dll
VERBOSE: regsvr32.exe / s shdocvw.dll
VERBOSE: regsvr32.exe / s browseui.dll
VERBOSE: regsvr32.exe / s jscript.dll
VERBOSE: regsvr32.exe / s vbscript.dll
VERBOSE: regsvr32.exe / s scrrun.dll
VERBOSE: regsvr32.exe / s msxml.dll
VERBOSE: regsvr32.exe / s msxml3.dll
VERBOSE: regsvr32.exe / s msxml6.dll
VERBOSE: regsvr32.exe / s actxprxy.dll
VERBOSE: regsvr32.exe / s softpub.dll
VERBOSE: regsvr32.exe / s wintrust.dll
VERBOSE: regsvr32.exe / s dssenh.dll
VERBOSE: regsvr32.exe / s rsaenh.dll
 VERBOSE: regsvr32.exe / s gpkcsp.dll
VERBOSE: regsvr32.exe / s sccbase.dll
VERBOSE: regsvr32.exe / s slbcsp.dll
VERBOSE: regsvr32.exe / s cryptdlg.dll
VERBOSE: regsvr32.exe / s oleaut32.dll
VERBOSE: regsvr32.exe / s ole32.dll
VERBOSE: regsvr32.exe / s shell32.dll
VERBOSE: regsvr32.exe / s initpki.dll
VERBOSE: regsvr32.exe / s wuapi.dll
VERBOSE: regsvr32.exe / s wuaueng.dll
VERBOSE: regsvr32.exe / s wuaueng1.dll
VERBOSE: regsvr32.exe / s wucltui.dll
VERBOSE: regsvr32.exe / s wups.dll
VERBOSE: regsvr32.exe / s wups2.dll
VERBOSE: regsvr32.exe / s wuweb.dll
VERBOSE: regsvr32.exe / s qmgr.dll
VERBOSE: regsvr32.exe / s qmgrprxy.dll
VERBOSE: regsvr32.exe / s wucltux.dll
VERBOSE: regsvr32.exe / s muweb.dll
VERBOSE: regsvr32.exe / s wuwebv.dll
Step 7: Reset WinSock
VERBOSE: netsh winsock reset
Step 8: Reset Proxy
VERBOSE: netsh winhttp reset proxy
Step 9: Start Windows Update services
VERBOSE: Cryptographic Services (cryptsvc)
VERBOSE: Application Identity (appidsvc)
VERBOSE: Windows Update (wuauserv)
VERBOSE: Background Intelligent Transfer Service (BITS)
Step 10: Start Windows Update services
VERBOSE: wuauclt /resetauthorization /detectnow

Запустите поиск обновлений из панели управления или выполните поиск доступных обновлений с помощью команды PowerShell:

Get-WUList

powershell проверить обновления в windows

Утилита Reset Windows Update Tool

Есть еще одни полезный и простой инструмент для сброса настроек Windows Update — Reset Windows Update Tool. Раньше это скрипт был доступен на TechNet. Сейчас автор ведет репозиторий на GitHub (м https://github.com/ManuelGil/Script-Reset-Windows-Update-Tool ).

Для загрузки предлагается скомпилированный exe файл (C++) или обычный скрипт. Я предпочитаю использовать cmd скрипт.

  1. Скачайте ResetWUEng.zip и распакуйте на диск;
  2. Запустите файл ResetWUEng.cmd с правами администратора;
  3. Скрипт определит вашу версию ОС (в моем примере это Windows 10) и предложит 18 различных опций. Некоторые из них напрямую не относятся к сбросу настроек агента WU, но могут быть полезны для исправления различных неисправностей в Windows (проверка диска chkdsk, исправление ошибок в образе Windows с помощью DISM, сброс Winsock, очистка временных файлов и т.д.);утилита сброса настроек обновлений Reset Windows Update Agent
  4. Для сброса настроек Windows Update достаточно использовать опцию 2 — Resets the Windows Update Components (Сбросить компоненты службы обновления Windows). Нажмите 2 и Enter;
  5. Скрипт автоматически выполнит все действия, которые мы описали выше при выполнении ручного сброса агента обновлений Windows из командной строки. скрипт для сброса компонентов windows update

    Вы можете самостоятельно посмотреть, что делает скрипт, открыв в файл ResetWUEng.cmd в любом текстовом редакторе и изучив его содержимое. Например, опция 2 отправляет на процедуру components. ResetWUEng.cmd

  6. После окончания работы скрипта Reset Windows Update Agent перезагрузите компьютер и проверьте работу службы обновлений.

Скрипт ResetWUEng.cmd универсальный и подходит для всех версий Windows: начиная с Windows XP и вплоть до Windows 11.

Восстановление исходных настроек Windows Update из командной строки

Процесс сброса настроек агента и службы обновления Windows состоит из нескольких этапов. Все описанные операции выполняются в командной строке и собраны в один bat файл (готовый скрипт можно скачать по ссылке ниже).

С помощью данного скрипта можно полностью сбросить конфигурацию службы Центра обновлений Windows, и очистить локальный кэш обновлений. Скрипт является универсальный и будет работать как в Windows 11/10/8.1/7, так и в Windows Server 2022/2019/2016/2012 R2/2008 R2. Скрипт помогает устранить большинство типовых ошибок в работе службы Windows Update, когда центр обновлений перестает загружать новые обновления или пишет, что при установке обновления возникают ошибки.

Убедитесь, что настройки Windows Update на вашем компьютере на задаются с помощью доменных или локальных политик. Для вывода результирующих настроек GPO можно воспользоваться утилитой gpresult или rsop.msc. Можно сбросить настройки локальной GPO по этой инструкции.

Итак, по порядку о том, что делает скрипт:

  1. Остановить службы Windows Update (Центр обновлений Windows), BITS и службы криптографии:
    net stop bits
    net stop wuauserv
    net stop appidsvc
    net stop cryptsvc
    taskkill /im wuauclt.exe /f
  2. Удалить служебных файлы qmgr*.dat в каталоге %ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\:
    Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
  3. Переименовать служебные каталоги, в которых хранятся конфигурационные файлы и кэш обновлений (в случае необходимости их можно будет использовать как резервные копии). После перезапуска службы обновления, эти каталоги автоматически пересоздадутся:
    Ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak
    Ren %systemroot%\system32\catroot2 catroot2.bak
  4. Удаление старого журнала windowsupdate.log
    del /f /s /q %windir%\windowsupdate.log
  5. Сброс разрешений на службы BITS и Windows Update (в случае, если права на службы были изменены)
    sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY) (A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA) (A;;CCLCSWLOCRRC;;;AU) (A;;CCLCSWRPWPDTLOCRRC;;;PU)

    sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY) (A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA) (A;;CCLCSWLOCRRC;;;AU) (A;;CCLCSWRPWPDTLOCRRC;;;PU)
    sc.exe sdset cryptsvc D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
    sc.exe sdset trustedinstaller D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
  6. Перерегистрация файлов системных динамических библиотек (dll), связанных со службами BITS и Windows Update:
    cd /d %windir%\system32
    regsvr32.exe /s atl.dll
    regsvr32.exe /s urlmon.dll
    regsvr32.exe /s mshtml.dll
    regsvr32.exe /s shdocvw.dll
    regsvr32.exe /s browseui.dll
    regsvr32.exe /s jscript.dll
    regsvr32.exe /s vbscript.dll
    regsvr32.exe /s scrrun.dll
    regsvr32.exe /s msxml.dll
    regsvr32.exe /s msxml3.dll
    regsvr32.exe /s msxml6.dll
    regsvr32.exe /s actxprxy.dll
    regsvr32.exe /s softpub.dll
    regsvr32.exe /s wintrust.dll
    regsvr32.exe /s dssenh.dll
    regsvr32.exe /s rsaenh.dll
    regsvr32.exe /s gpkcsp.dll
    regsvr32.exe /s sccbase.dll
    regsvr32.exe /s slbcsp.dll
    regsvr32.exe /s cryptdlg.dll
    regsvr32.exe /s oleaut32.dll
    regsvr32.exe /s ole32.dll
    regsvr32.exe /s shell32.dll
    regsvr32.exe /s initpki.dll
    regsvr32.exe /s wuapi.dll
    regsvr32.exe /s wuaueng.dll
    regsvr32.exe /s wuaueng1.dll
    regsvr32.exe /s wucltui.dll
    regsvr32.exe /s wups.dll
    regsvr32.exe /s wups2.dll
    regsvr32.exe /s wuweb.dll
    regsvr32.exe /s qmgr.dll
    regsvr32.exe /s qmgrprxy.dll
    regsvr32.exe /s wucltux.dll
    regsvr32.exe /s muweb.dll
    regsvr32.exe /s wuwebv.dll
  7. Сброс параметров Winsock
    netsh winsock reset
  8. Сброс параметров системного прокси
    netsh winhttp reset proxy
  9. Опционально. При использовании локального сервера WSUS, возможно дополнительно сбросить текущую привязку клиента к серверу WSUS путем удаления следующих параметров в ветке реестра HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate:
    REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v AccountDomainSid /f
    REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v PingID /f
    REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v SusClientId /f
    REG DELETE "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v TargetGroup /f
    REG DELETE "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v WUServer /f
    REG DELETE "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v WUStatusServer /f
  10. Запуск остановленных служб:

    sc.exe config wuauserv start= auto
    sc.exe config bits start= delayed-auto
    sc.exe config cryptsvc start= auto
    sc.exe config TrustedInstaller start= demand
    sc.exe config DcomLaunch start= auto
    net start bits
    net start wuauserv
    net start appidsvc
    net start cryptsvc
  11. Опционально. Для Windows 7 и 8.1 можно установить/переустановить последнюю версию агента Windows Update Agent (WUA). Скачать актуальную версию агента можно со страницы https://support.microsoft.com/en-us/kb/949104. Нужно скачать файл для вашей версии WindowsСкачать последнюю версию агента Windows UpdateАктуальная версия агента WUA для Windows 7 SP1 x64 — 7.6. Принудительная переустановка агента WindowsUpdate выполняется следующими командами:
    • для Windows 7 x86:
      WindowsUpdateAgent-7.6-x86.exe /quiet /norestart /wuforce
    • для Windows 7 x64:
      WindowsUpdateAgent-7.6-x64.exe /quiet /norestart /wuforce

    Совет. Текущую версию агента Windows Update Agent (WUA) в Windows 7 можно узнать в свойствах файла %windir%\system32\Wuaueng.dll. В нашем примере это 7.6.7600.256.Как узнать версию агента WUA (библиотека Wuaueng.dll)

Осталось перезагрузить компьютер и запустить синхронизацию с сервером Windows Update /WSUS.

wuauclt /resetauthorization /detectnow

Затем зайдите в Центр обновления и проверьте, пропали ли проблемы при поиске, скачивании и установке обновлений.

Сам скрипт reset_win_update.bat можно скачать по ссылке reset_win_update.zip (пункты 9 и 11 в скрипте не выполняются, т.к. являются опциональными). Скрипт нужно скачать, распаковать и запустить с правами администратора. run-as-admin

После этого перезагрузите компьютер, затем зайдите в Центр обновлений и проверьте, пропали ли проблемы при поиске, скачивании и установке обновлений.

Если обновления Windows стали скачиваться и устанавливать корректно, можно удалить папки резервные копии папок:

Ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak
Ren %systemroot%\system32\catroot2 catroot2.bak

Если ничего не помогло, попробуйте вручную скачать и установить последнее кумулятивное обновление для вашей версии Windows из каталога обновлений Microsoft Update Catalog.

Как исправить ошибки центра обновлений WindowsВ этой инструкции о том, как исправить большинство типичных ошибок обновления Windows 11 или Windows 10, 8.1 и Windows 7 несколькими способами: путем использования утилиты с сайта Майкрософт, вручную в командной строке или с помощью простого скрипта, который полностью сбрасывает и очищает настройки Центра обновлений и другими методами.

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

Использование средства устранения неполадок обновлений в Windows 11 и Windows 10

В Windows предусмотрено встроенное средство устранения неполадок при установке обновлений, это же средство можно скачать и с официального сайта Майкрософт.

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

  1. В Windows 11 зайдите в Параметры — Система — Устранение неполадок — Другие средства устранения неполадок — Центр обновления Windows и нажмите кнопку «Запуск». Устранение неполадок центра обновлений в параметрах Windows 11
  2. В Windows 10 средство устранения неполадок находится в Параметры — Обновление и безопасность — Устранение неполадок — Дополнительные средства устранения неполадок — Центр обновления Windows.
  3. Если доступа к Параметрам нет, вы можете скачать средство устранения неполадок обновлений Windows с официального сайта https://aka.ms/wudiag и запустить файл.

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

Средство устранения неполадок центра обновлений Windows

После выполнения проверки и устранения неполадок можно попробовать установить обновления снова.

Очистка кэша обновлений Windows вручную

Этот способ срабатывает для большого количества ошибок при скачивании и установке обновлений в Windows 11, Windows 10 и Windows 8.1. Порядок действий следующий:

  1. Запустите командную строку от имени администратора. Для этого можно использовать поиск на панели задач: начните вводить «Командная строка», нажмите правой кнопкой мыши по результату и выберите пункт «Запуск от имени администратора».
  2. По порядку введите следующие команды, нажимая Enter после каждой:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
    ren C:\Windows\System32\catroot2 catroot2.old
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver
  3. Закройте командную строку и попробуйте повторить поиск, скачивание и установку обновлений через Центр обновлений. Если проблема была решена, удалите папки catroot2.old в C:\Windows\System32 и SoftwareDistribution.old в C:\Windows.

Утилита Reset Windows Update Tool

Ранее на сайте Microsoft TechNet была доступна специальная утилита для полного сброса параметров центра обновлений Windows 10, 8.1 и Windows 7 — Reset Windows Update Tool, выполняющая полный набор действий, каждое из которых направлено на исправление различных моментов, способных мешать скачиванию и установке обновлений через Центр обновлений. Сейчас официальный сайт инструмента изменился, но эффективность — нет.Перед использованием утилиты рекомендую создать точку восстановления системы. Следующие шаги будут выглядеть следующим образом:

  1. Скачайте Reset Windows Update Tool в нужной разрядности с сайта https://wureset.com/downloads
  2. После установки, запустите Reset Windows Update Tool от имени администратора (правый клик — запуск от имени администратора) и выберите нужный язык, русский в наличии, но в моем случае отображается в неправильной кодировке, поэтому далее показаны действия на английском языке. Выбор языка в Reset Windows Update Tool
  3. Вам будет предложено согласиться с тем, что гарантий исправной работы утилиты не дается и ввести «Y», если вы согласны.
  4. Вы увидите меню, в котором можно выбрать, какие действия следует выполнить для исправления работы центра обновлений. Рекомендую следующий порядок: 2, 3, 6, 11, 12, 13 с последующей перезагрузкой компьютера. Доступные исправления в Reset Windows Update Tool

Полный список доступных опций в утилите текущей версии:

  1. Открыть параметры защиты системы.
  2. Сброс компонентов Центра обновлений Windows.
  3. Удаление временных файлов.
  4. Открыть параметры Internet Explorer.
  5. Запуск chkdsk на системном разделе (проверка диска на ошибки).
  6. Запуск проверки целостности системных файлов.
  7. Проверка целостности хранилища компонентов.
  8. Проверка образа на наличие отметки «поврежденный».
  9. Автоматическое восстановление хранилища компонентов с помощью dism.exe
  10. Очистка устаревших компонентов.
  11. Удаление записей реестра с ошибками.
  12. Сброс и исправление параметров Winsock.
  13. Принудительное обновление локальных групповых политик.
  14. Запуск поиска обновлений Windows.
  15. Поиск ключа продукта Windows.
  16. Поиск других локальных исправлений (открывает устранение неполадок Windows).
  17. Поиск дополнительных способов исправления онлайн (открывает справку на сайте Майкрософт в браузере).
  18. Перезапуск ПК.

Подробно об использовании утилиты в отдельной статье: Как исправить ошибки обновлений с помощью Reset Windows Update Tool.

Сброс центра обновлений Windows для исправления ошибок с помощью bat-файла

Для того, чтобы исправить многие ошибки при установке и загрузке обновлений Windows 10, 8.1 и Windows 7, бывает достаточно полностью сбросить параметры центра обновлений. Я покажу, как сделать это автоматически. В дополнение к сбросу, предложенный скрипт запустит необходимую службу, если вы получаете сообщение о том, что Центр обновления не запущен.

Кратко о том, что происходит при выполнении нижеследующих команд:

  1. Останавливаются службы: Центр обновления Windows, Фоновая интеллектуальная служба передачи BITS, Службы криптографии.
  2. Служебные папки центра обновления catroot2, SoftwareDistribution, downloader переименовываются в catroot2.old и т.д. (которые, если что-то пошло не так, можно использовать как резервные копии).
  3. Все ранее остановленные службы снова запускаются.

Для того, чтобы использовать скрипт, откройте блокнот Windows и скопируйте в него команды, представленные ниже. После этого сохраните файл с расширением .bat — это и будет сценарий для остановки, сброса и перезапуска Центра обновлений Windows (подробнее: Как создать BAT-файл).

@ECHO OFF
echo Sbros Windows Update
echo.
PAUSE
echo.
attrib -h -r -s %windir%\system32\catroot2
attrib -h -r -s %windir%\system32\catroot2\*.*
net stop wuauserv
net stop CryptSvc
net stop BITS
ren %windir%\system32\catroot2 catroot2.old
ren %windir%\SoftwareDistribution SoftwareDistribution.old
ren "%ALLUSERSPROFILE%\application data\Microsoft\Network\downloader" downloader.old
net Start BITS
net start CryptSvc
net start wuauserv
echo.
echo Gotovo
echo.
PAUSE

После того, как файл создан, кликните по нему правой кнопкой мыши и выберите пункт «Запуск от имени администратора», вам будет предложено нажать любую клавишу для начала, после чего по порядку будут выполнены все необходимые действия (еще раз нажимаем любую клавишу и закрываем командную строку).

Запуск bat файла от имени Администратора

И, наконец, обязательно перезагрузите компьютер. Сразу после перезагрузки снова зайдите в Центр обновления и посмотрите, исчезли ли ошибки при поиске, скачивании и установке обновлений Windows.

Выполнение сброса Центра обновлений

На сайте Майкрософт также приводятся шаги для выполнения всех необходимых действий по сбросу вручную: Сброс центра обновлений Windows вручную.

Скачивание и установка обновлений вручную

Если ошибки возникают при установке какого-то одного обновления, вы можете попробовать вручную скачать его из каталога центра обновления Майкрософт:

  1. Перейдите на страницу https://www.catalog.update.microsoft.com/Home.aspx
  2. В поле поиска на странице введите номер обновления, отображаемый в центре обновлений в формате: KB1234567 Скачать обновления из каталога обновлений Windows
  3. Посмотрите, есть ли в результатах поиска доступное для загрузки обновление с этим номером для вашей версии операционной системы. При наличии — скачайте и установите его.

Быстрая переустановка системы с исправлением системных файлов и параметров, но без удаления программ и данных

Если простые способы не помогают, вы можете выполнить быструю переустановку системы с исправлением всех системных файлов и параметров, при этом все ваши программы и данные останутся на месте. Способ подходит для Windows 11 и Windows 10:

  1. Если у вас имеется ISO-файл с образом текущей ОС, просто смонтируйте его в системе и запустите файл setup.exe, а затем пройдите все этапы установки. Переустановка Windows с сохранением всех файлов и данных
  2. Если файла образа нет, то для Windows 11 — скачайте оригинальный ISO Windows 11, смонтируйте в системе и запустите файл setup.exe с него. Для Windows 10 — зайдите на страницу https://www.microsoft.com/ru-ru/software-download/windows10 и нажмите кнопку «Скачать средство сейчас». Запустите скачанную программу и на экране «Что вы хотите сделать?» нажмите «Обновить этот компьютер сейчас», далее пройдите все необходимые шаги для установки системы.

К сожалению, не все возможные ошибки обновления Windows можно решить вышеописанным способом (хотя и многие). Если способ вам не помог, то обратите внимание на следующие возможные варианты:

  • Попробуйте использовать сторонние программы управления обновлениями Windows для их загрузки и установки.
  • Если ранее для отключения обновлений вы использовали какую-то стороннюю программу, попробуйте с помощью неё же вновь включить их.
  • Если вы использовали какие-то утилиты для отключения слежки Windows 10, они могли заблокировать доступ к серверам Майкрософт, например, в файле hosts и брандмауэре.
  • При наличии сторонних антивирусов на компьютере, попробуйте отключить антивирус и проверить, решило ли это проблему.
  • Попробуйте установить DNS 8.8.8.8 и 8.8.4.4 в параметры Интернет-соединения. О том как это сделать: Как изменить адрес DNS-сервера в Windows.
  • Отсутствие свободного места (или малое его количество) на системном разделе жесткого диска или SSD также может приводить к ошибкам при скачивании и установке обновлений. Здесь может быть полезным: Как очистить диск C от ненужных файлов.
  • Проверьте, запущены ли все необходимые службы (их список приводился ранее).
  • Выполните поиск в Интернете по сообщаемому коду ошибки, чтобы узнать о возможных причинах появления ошибки.
  • Выполните проверку и восстановление целостности системных файлов Windows. Подробные инструкции: для Windows 11 и для Windows 10.
  • Использование VPN или прокси также может влиять на возможность скачивания и установки обновлений.
  • Попробуйте выполнить чистую загрузку Windows. Если при чистой загрузке ошибки пропадают, можно сделать вывод, что ошибки вызваны каким-либо сторонним ПО на компьютере.

На самом деле, разных причин, по которым не ищутся, не загружаются и не устанавливаются обновления, может быть множество, но, по моему опыту, представленная информация сможет помочь в большинстве случаев.

Sometimes, you may encounter errors such as 0x80244007, 0x8024a105 or other errors when installing updates via the Windows Update channel. Here are some sample error messages:

There were problems downloading some updates, but we’ll try again later. If you keep seeing this, try searching the web or contacting support for help. This error code might help: (0x8024a105)

Note: Especially for error 0x8024a105, restart Windows and attempt to install updates. Also, try a different internet service provider just in case if this is a DNS issue or a problem reaching out Microsoft Update’s CDN in your region.

Here are some other error messages that may occur when attempting to install updates.

There were some problems installing updates, but we’ll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x8024a223)

There were some problems installing updates, but we’ll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x80244007)

There were some problems installing updates, but we’ll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x80080005)

There were some problems installing updates, but we’ll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x80070422)

There were some problems installing updates, but we’ll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x80248007)

windows update error 80248007

This article has the troubleshooting steps required to fix most of the Windows Update errors in Windows 10 and 11.

1) Run Windows Update Troubleshooter

Run Windows Update troubleshooter and let it automatically fix the problems. The troubleshooter checks for various problems and attempts to fix them automatically.

The troubleshooter automatically registers the following core system DLLs:

atl.dll, urlmon.dll, mshtml.dll, shdocvw.dll, browseui.dll, jscript.dll, vbscript.dll, scrrun.dll, msxml.dll, msxml3.dll, msxml6.dll, actxprxy.dll, softpub.dll, wintrust.dll, dssenh.dll, rsaenh.dll, gpkcsp.dll, sccbase.dll, slbcsp.dll, cryptdlg.dll, oleaut32.dll, ole32.dll, shell32.dll, initpki.dll, wuapi.dll, wuaueng.dll, wuaueng1.dll, wucltui.dll, wups.dll, wups2.dll, wuweb.dll, qmgr.dll, qmgrprxy.dll, wucltux.dll, muweb.dll, wuwebv.dll

2) Check your Services configuration

Launch the Services MMC (services.msc) and make sure that the following services are configured correctly:

  • Update Orchestrator Service  – Automatic (Delayed Start)
  • Windows Modules Installer  – Manual
  • Windows Update  – Manual (Trigger Start) Local System
  • Windows Update Medic Service  – Manual

Also, make sure that each of the above services is able to start. Click on the Start button in the service’s properties to see if they can start correctly.

For example, to check if the Windows Modules Installer (TrustedInstaller) service is started and running, do this:

  1. Right-click Start and click on Computer Management
  2. Expand Services and Applications, and then select Services
  3. Locate Windows Modules Installer in the list. Right-click on it and select Properties, and select the General tab.
  4. Set the Start type to Manual
  5. Click Apply and click OK.
  6. Click the Start button to check that the service can be started.

Restart Windows and try installing updates now.

References:

  • Windows 11 Default Services Configuration
  • Windows 10 Default Services Configuration

3) Rename the SoftwareDistribution & Catroot2 folders

The SoftwareDistribution folder is a temporary storage location for updates. Sometimes, renaming the SoftwareDistribution and Catroot2 folders works. To do so, use the following steps:

  1. Open an elevated Command Prompt window.
  2. Type the following commands one by one and press ENTER after each line:
    net stop bits
    net stop wuauserv
    net stop appidsvc
    net stop cryptsvc

    This stops Windows Update, Application Identity, and Cryptographic Services temporarily.

  3. Then, type the following commands:
    ren %systemroot%\softwaredistribution softwaredistribution.bak
    ren %systemroot%\system32\catroot2 catroot2.bak
    net start bits
    net start wuauserv
    net start appidsvc
    net start cryptsvc
  4. Restart Windows, and see if you can install Windows Updates now.

4) Disable IPv6 temporarily (fix for error 0x80070422)

This fix is especially for error 0x80070422.

  1. Right-click Start, click Run
  2. Type ncpa.cpl and press ENTER
  3. Right-click on your internet connection and then select Properties.
  4. In the list of items, uncheck Internet Protocol Version 6 (TCP/IPv6).
  5. Click OK and restart the computer.

After installing the update(s), re-enable IPv6.

5) Repair Windows Update by running DISM or System Update Readiness tool

If none of the above steps help, then repair the system components using DISM (for Windows 10 & 8), or System Update Readiness Tool (Checksur) for Windows 7 & Windows Vista.

dism online restorehealth

For more information, see Microsoft article Fix Windows Update errors by using the DISM or System Update Readiness tool.

Workaround: Download Standalone Update from MU Catalog and Install it

If the error occurs only for a particular update, you can download the standalone version of the update (.msu or .cab) directly from Microsoft Update Catalog and install it rather than installing it from the regular Windows Update channel.

microsoft windows update catalog

I hope one of the above fixes helps you resolve Windows Update errors.


One small request: If you liked this post, please share this?

One «tiny» share from you would seriously help a lot with the growth of this blog.
Some great suggestions:

  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!

So thank you so much for your support. It won’t take more than 10 seconds of your time. The share buttons are right below. :)


  • Windows update stuck at downloading
  • Windows update powershell module download
  • Windows update service по русски
  • Windows update pack win 7
  • Windows update standalone installer скачать