Windows update problem solve

Исправление ошибок обновления Windows с помощью средства готовности к обновлению системы или DISM

Оригинальная версия продукта: Windows 10, версия 1809 и более поздние версии, Windows 8.1, Windows Server 2012 R2, Windows 7 Пакет обновления 1, Windows Server 2008 R2 Пакет обновления 1
Исходный номер КБ: 947821

Симптом

Обновления и пакеты служб Windows могут не устанавливаться при ошибках коррупции. Например, обновление может не установиться, если системный файл поврежден. Средство готовности к обновлению DISM или system update может помочь вам устранить некоторые ошибки с повреждениями Windows.

Эта статья предназначена для агентов поддержки и ИТ-специалистов. Если вы домашние пользователи и ищете дополнительные сведения о исправлении ошибок обновления Windows, см. в руб. Исправление ошибок обновления Windows.

Разрешение для Windows 8.1, Windows 10 и Windows Server 2012 R2

Чтобы устранить эту проблему, используйте средство обслуживания и управления изображениями для развертывания в почтовых ящиках (DISM). Затем снова установите обновление Windows или пакет служб.

Откройте окно командной строки с повышенными полномочиями. Для этого откройте меню «Пуск» или «Пуск», введите командную подсказку, выберите командную подсказку справа и выберите Выполнить в качестве администратора. Если вам предложен пароль администратора или подтверждение, введите пароль или выберите Разрешить.

Введите следующую команду и нажмите кнопку Ввод. Для завершения командной операции может потребоваться несколько минут.

При запуске этой команды DISM использует Windows Update для предоставления файлов, необходимых для устранения коррупции. Однако если клиент Windows Update уже нарушен, используйте запущенную установку Windows в качестве источника восстановления или используйте папку Windows из сетевой доли или из съемного носителя, например DVD Windows, в качестве источника файлов. Для этого запустите следующую команду:

Замените местообладатель C:\RepairSource\Windows расположением источника ремонта. Дополнительные сведения об использовании средства DISM для восстановления Windows можно найти в справке Ремонт образа Windows.

Введите sfc /scannow команду и нажмите кнопку Ввод. Для завершения командной операции может потребоваться несколько минут.

Закрой командную подсказку и снова запустите обновление Windows.

DISM создает файл журнала (%windir%/Logs/CBS/CBS.log), который фиксирует все проблемы, найденные или исправленные инструментом. %windir% — это папка, в которой установлена Windows. Например, папка %windir% — C:\Windows.

Разрешение для Windows 7 Пакет обновления 1 (SP1) и Windows Server 2008 R2 SP1

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

Скачайте средство готовности к обновлению системы.

выберите ссылку на скачивание в следующей таблице, соответствующую версии Windows, запущенной на компьютере. Дополнительные сведения о том, как найти установленную версию Windows, см. в дополнительных сведениях о том, работает ли компьютер с 32-битной или 64-битнойверсией Windows.

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

Операционная система Ссылка для скачивания
x86-based (32-bit) versions of Windows 7 SP1 значок Скачать пакет прямо сейчас.
x64-based (64-bit) versions of Windows 7 SP1 значок Скачать пакет прямо сейчас.
x64-based (64-bit) версии Windows Server 2008 R2 SP1 значок Скачать пакет прямо сейчас.
Итаниумовые версии Windows Server 2008 R2 SP1 значок Скачать пакет прямо сейчас.

Установите и запустите средство.

Выберите скачивание на веб-странице Центра скачивания, а затем сделайте одно из следующих:

  • Чтобы немедленно установить средство, выберите Open или Run, а затем выполните инструкции на экране.
  • Чтобы установить средство позже, выберите Сохранить, а затем скачать файл установки на компьютер. Когда вы будете готовы установить средство, дважды выберите файл.

В диалоговом окне Автономный установщик обновления Windows выберите Да.

При установке средства он автоматически запускается. Хотя для запуска обычно требуется менее 15 минут, на некоторых компьютерах это может занять гораздо больше времени. Даже если планка прогресса, как представляется, останавливается, сканирование по-прежнему запущено, поэтому не выберите Отмена.

Когда вы увидите полное завершение установки, выберите Закрыть.

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

Чтобы вручную устранить ошибки коррупции, которые обнаруживает средство, но не может быть исправлено, см. в статью Как устранить ошибки, обнаруженные в файле журнала CheckSUR.

Разрешение — скачайте пакет из каталога обновлений Майкрософт напрямую

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

Например, при попытке установки обновлений из Windows Update могут возникнуть проблемы. В этой ситуации можно скачать пакет обновления и попытаться установить обновление вручную. Для этого выполните следующие действия:

В поле поиска ввести номер обновления, который необходимо скачать. В этом примере ввод 3006137. Затем выберите Поиск.

Найдите обновление, которое применимо к операционной системе надлежащим образом в результатах поиска, а затем выберите Добавить, чтобы добавить обновление в корзину.

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

Выберите Скачать, чтобы скачать обновление в корзине.

Выберите Просмотр, чтобы выбрать место для скачивания обновления, а затем выберите Продолжить.

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

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

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

Описание распространенных ошибок коррупции

В следующей таблице перечислены возможные коды ошибок с обновлением Windows для вашей справки:

Код Ошибка Описание
0x80070002 ERROR_FILE_NOT_FOUND Не удается найти указанный файл.
0x8007000D ERROR_INVALID_DATA Данные недействительны.
0x800F081F CBS_E_SOURCE_MISSING Источник пакета или файла не найден.
0x80073712 ERROR_SXS_COMPONENT_STORE_CORRUPT Хранилище компонентов находится в несогласованном состоянии.
0x800736CC ERROR_SXS_FILE_HASH_MISMATCH Файл компонента не соответствует сведениям проверки, представленным в манифесте компонента.
0x800705B9 ERROR_XML_PARSE_ERROR Невозможно сделать анализ запрашиваемой XML-данных.
0x80070246 ERROR_ILLEGAL_CHARACTER Был встречен недействительный символ.
0x8007370D ERROR_SXS_IDENTITY_PARSE_ERROR Строка удостоверений имеет неправильное формы.
0x8007370B ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME Имя атрибута в удостоверении не находится в допустимом диапазоне.
0x8007370A ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE Значение атрибута в удостоверении не находится в допустимом диапазоне.
0x80070057 ERROR_INVALID_PARAMETER Параметр неправильный.
0x800B0100 TRUST_E_NOSIGNATURE В субъекте не было подписи.
0x80092003 CRYPT_E_FILE_ERROR Ошибка произошла во время чтения или записи обновления Windows в файл.
0x800B0101 CERT_E_EXPIRED Необходимый сертификат не находится в пределах срока действия при проверке на текущих системных часах или на отметке времени в подписаном файле.
0x8007371B ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE Один или несколько необходимых участников транзакции не присутствуют.
0x80070490 ERROR_NOT_FOUND Windows не может искать новые обновления.
0x800f0984 PSFX_E_MATCHING_BINARY_MISSING Существует каталог компонентов, но двоичный отсутствует
0x800f0986 PSFX_E_APPLY_FORWARD_DELTA_FAILED Применение перепада вперед не удалось
0x800f0982 PSFX_E_MATCHING_COMPONENT_NOT_FOUND Не удалось определить соответствие компонента для гидратации

Что делает средство готовности к обновлению системы

Проверка целостности ресурсов

Средство готовности к обновлению системы проверяет целостность следующих ресурсов:

  • Файлы, расположенные в следующих каталогах:
    • %SYSTEMROOT%\Servicing\Packages
    • %SYSTEMROOT%\WinSxS\Manifests
  • Данные реестра, расположенные в следующих подкайлах реестра:
    • HKEY_LOCAL_MACHINE\Components
    • HKEY_LOCAL_MACHINE\Schema
    • HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing

Этот список может быть обновлен в любое время.

Когда средство готовности к обновлению системы обнаруживает неправильные манифесты, кабмины или данные реестра, он может заменить неправильные данные исправленной версией.

Ведение журнала

Средство готовности к обновлению системы создает файл журнала, который фиксирует все проблемы, найденные или исправленные инструментом. Файл журнала расположен здесь:

Устранение ошибок, найденных в файле журнала CheckSUR

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

%SYSTEMROOT% — это переменная среды, которая сохраняет папку, в которой установлена Windows. Например, обычно папка %SYSTEMROOT% — это C:\Windows.

Определите пакеты, которые средство не может исправить. Например, в файле журнала можно найти следующее:

В этом случае поврежден пакет KB958690.

Скопируйте пакет (.msu) в %SYSTEMROOT%\CheckSUR\packages каталог. По умолчанию этот каталог не существует, и необходимо создать каталог.

Перезахоранить средство готовности к обновлению системы.

Windows Update troubleshooting

If you run into problems when using Windows Update, start with the following steps:

Run the built-in Windows Update troubleshooter to fix common issues. Navigate to Settings > Update & Security > Troubleshoot > Windows Update.

Install the most recent Servicing Stack Update (SSU) that matches your version of Windows from the Microsoft Update Catalog. See Servicing stack updates for more details on servicing stack updates.

Make sure that you install the latest Windows updates, cumulative updates, and rollup updates. To verify the update status, refer to the appropriate update history for your system:

Advanced users can also refer to the log generated by Windows Update for further investigation.

You might encounter the following scenarios when using Windows Update.

Why am I offered an older update?

The update that is offered to a device depends on several factors. The following are some of the most common attributes:

  • OS Build
  • OS Branch
  • OS Locale
  • OS Architecture
  • Device update management configuration

If the update you’re offered isn’t the most current available, it might be because your device is being managed by a WSUS server, and you’re being offered the updates available on that server. It’s also possible, if your device is part of a deployment group, that your admin is intentionally slowing the rollout of updates. Since the deployment is slow and measured to begin with, all devices will not receive the update on the same day.

My device is frozen at scan. Why?

The Settings UI communicates with the Update Orchestrator service that in turn communicates with to Windows Update service. If these services stop unexpectedly, then you might see this behavior. In such cases, follow these steps:

Close the Settings app and reopen it.

Start Services.msc and check if the following services are running:

  • Update State Orchestrator
  • Windows Update

Feature updates are not being offered while other updates are

Devices running Windows 10, version 1709 through Windows 10, version 1803 that are configured to update from Windows Update (including Windows Update for Business) are able to install servicing and definition updates but are never offered feature updates.

Checking the WindowsUpdate.log reveals the following error:

The 0x80070426 error code translates to:

Microsoft Account Sign In Assistant (MSA or wlidsvc) is the service in question. The DCAT Flighting service (ServiceId: 855E8A7C-ECB4-4CA3-B045-1DFA50104289) relies on MSA to get the global device ID for the device. Without the MSA service running, the global device ID won’t be generated and sent by the client and the search for feature updates never completes successfully.

To resolve this issue, reset the MSA service to the default StartType of «manual.»

Windows Update uses WinHttp with Partial Range requests (RFC 7233) to download updates and applications from Windows Update servers or on-premises WSUS servers. Therefore proxy servers on the network must support HTTP RANGE requests. If a proxy was configured in Internet Explorer (User level) but not in WinHTTP (System level), connections to Windows Update will fail.

To fix this issue, configure a proxy in WinHTTP by using the following netsh command:

You can also import the proxy settings from Internet Explorer by using the following command: netsh winhttp import proxy source=ie

If downloads through a proxy server fail with a 0x80d05001 DO_E_HTTP_BLOCKSIZE_MISMATCH error, or if you notice high CPU usage while updates are downloading, check the proxy configuration to permit HTTP RANGE requests to run.

You might choose to apply a rule to permit HTTP RANGE requests for the following URLs:

*.download.windowsupdate.com
*.dl.delivery.mp.microsoft.com *.delivery.mp.microsoft.com

If you can’t allow RANGE requests, you’ll be downloading more content than needed in updates (as delta patching will not work).

The update is not applicable to your computer

The most common reasons for this error are described in the following table:

Cause Explanation Resolution
Update is superseded As updates for a component are released, the updated component will supersede an older component that is already on the system. When this occurs, the previous update is marked as superseded. If the update that you’re trying to install already has a newer version of the payload on your system, you might receive this error message. Check that the package that you are installing contains newer versions of the binaries. Or, check that the package is superseded by another new package.
Update is already installed If the update that you’re trying to install was previously installed, for example, by another update that carried the same payload, you may encounter this error message. Verify that the package that you are trying to install was not previously installed.
Wrong update for architecture Updates are published by CPU architecture. If the update that you’re trying to install does not match the architecture for your CPU, you may encounter this error message. Verify that the package that you’re trying to install matches the Windows version that you are using. The Windows version information can be found in the «Applies To» section of the article for each update. For example, Windows Server 2012-only updates cannot be installed on Windows Server 2012 R2-based computers.
Also, verify that the package that you are installing matches the processor architecture of the Windows version that you are using. For example, an x86-based update cannot be installed on x64-based installations of Windows.
Missing prerequisite update Some updates require a prerequisite update before they can be applied to a system. If you are missing a prerequisite update, you may encounter this error message. For example, KB 2919355 must be installed on Windows 8.1 and Windows Server 2012 R2 computers before many of the updates that were released after April 2014 can be installed. Check the related articles about the package in the Microsoft Knowledge Base (KB) to make sure that you have the prerequisite updates installed. For example, if you encounter the error message on Windows 8.1 or Windows Server 2012 R2, you may have to install the April 2014 update 2919355 as a prerequisite and one or more pre-requisite servicing updates (KB 2919442 and KB 3173424).
To determine if these prerequisite updates are installed, run the following PowerShell command:
get-hotfix KB3173424,KB2919355, KB2919442 .
If the updates are installed, the command will return the installed date in the InstalledOn section of the output.

Error that you might see in Windows Update logs:

Go to Services.msc and ensure that Windows Firewall Service is enabled. Stopping the service associated with Windows Firewall with Advanced Security is not supported by Microsoft. For more information, see I need to disable Windows Firewall.

Issues arising from configuration of conflicting policies

Windows Update provides a wide range configuration policy to control the behavior of the Windows Update service in a managed environment. While these policies let you configure the settings at a granular level, misconfiguration or setting conflicting policies may lead to unexpected behaviors.

Device cannot access update files

Ensure that devices can reach necessary Windows Update endpoints through the firewall. For example, for Windows 10, version 2004, the following protocols must be able to reach these respective endpoints:

Protocol Endpoint URL
TLS 1.2 *.prod.do.dsp.mp.microsoft.com
HTTP emdl.ws.microsoft.com
HTTP *.dl.delivery.mp.microsoft.com
HTTP *.windowsupdate.com
HTTPS *.delivery.mp.microsoft.com
TLS 1.2 *.update.microsoft.com
TLS 1.2 tsfe.trafficshaping.dsp.mp.microsoft.com

Be sure not to use HTTPS for those endpoints that specify HTTP, and vice versa. The connection will fail.

The specific endpoints can vary between Windows 10 versions. See, for example, Windows 10 2004 Enterprise connection endpoints. Similar articles for other Windows 10 versions are available in the table of contents nearby.

Updates aren’t downloading from the intranet endpoint (WSUS or Configuration Manager)

Windows 10 devices can receive updates from a variety of sources, including Windows Update online, a Windows Server Update Services server, and others. To determine the source of Windows Updates currently being used on a device, follow these steps:

  1. Start Windows PowerShell as an administrator.
  2. Run $MUSM = New-Object -ComObject «Microsoft.Update.ServiceManager».
  3. Run $MUSM.Services.

Check the output for the Name and OffersWindowsUPdates parameters, which you can interpret according to this table.

Output Meaning
— Name: Microsoft Update
-OffersWindowsUpdates: True
— The update source is Microsoft Update, which means that updates for other Microsoft products besides the operating system could also be delivered.
— Indicates that the client is configured to receive updates for all Microsoft Products (Office, etc.)
— Name: DCat Flighting Prod
— OffersWindowsUpdates: True
— Starting with Windows 10 1709, feature updates are always delivered through the DCAT service.
— Indicates that the client is configured to receive feature updates from Windows Update.
— Name: Windows Store (DCat Prod)
— OffersWindowsUpdates: False
-The update source is Insider Updates for Store Apps.
— Indicates that the client will not receive or is not configured to receive these updates.
— Name: Windows Server Update Service
— OffersWindowsUpdates: True
— The source is a Windows Server Updates Services server.
— The client is configured to receive updates from WSUS.
— Name: Windows Update
— OffersWindowsUpdates: True
— The source is Windows Update.
— The client is configured to receive updates from Windows Update Online.

You have a bad setup in the environment

In this example, per the Group Policy set through registry, the system is configured to use WSUS to download updates (note the second line):

From Windows Update logs:

In the above log snippet, we see that the Criteria = «IsHidden = 0 AND DeploymentAction=*» . «*» means there is nothing specified from the server. So, the scan happens but there is no direction to download or install to the agent. So it just scans the update and provides the results.

As shown in the following logs, automatic update runs the scan and finds no update approved for it. So it reports there are no updates to install or download. This is due to an incorrect configuration. The WSUS side should approve the updates for Windows Update so that it fetches the updates and installs them at the specified time according to the policy. Since this scenario doesn’t include Configuration Manager, there’s no way to install unapproved updates. You’re expecting the operational insight agent to do the scan and automatically trigger the download and installation but that won’t happen with this configuration.

High bandwidth usage on Windows 10 by Windows Update

Users might see that Windows 10 is consuming all the bandwidth in the different offices under the system context. This behavior is by design. Components that might consume bandwidth expand beyond Windows Update components.

The following group policies can help mitigate this situation:

Other components that connect to the internet:

Читайте также:  Ida kali linux install
Оцените статью