Fix Windows Update errors
What does this guided walk-through do?
This guided walk-through provides steps to fix problems with Windows Updates for Windows 8.1 and 7, such as taking a long time to scan, or error codes while installing updates.
For help with Windows Update issues in Windows 10, see Troubleshoot problems updating Windows 10 instead.
A common cause of errors is inadequate drive space. If you need help freeing up drive space, see Tips to free up drive space on your PC.
Common error codes
The steps in this guided walk-through should help with all Windows Update errors and other issues— you don’t need to search for the specific error to solve it. As an example, here are some commonly seen error codes: 0x0xc1900223223; 0x80240034; 0x8007000E, 0x80242006, 0x80244018, 0x80D02002, 0x80246017, 0x80240438, 0x80070070, 0x8007000D, 0x80246008, 0x80096004, 0x80070020.
The steps provided here should help fix any errors that come up during the Windows Update process.
How does it work?
We’ll begin by asking you questions about the Windows version you’re using and the issue you’re experiencing. Next, we’ll take you through a series of troubleshooting steps that are specific to your situation. At the end of each step, you’ll be asked “Did this resolve the issue?” If it’s resolved, select Yes, and you’re done! If it isn’t resolved, select No and continue with the guided walk-through.
Коды ошибок обновления Upgrade error codes
Относится к: Applies to
Это тема уровня 400 (расширенный). This is a 400 level topic (advanced).
Полный список тем в этой статье см. в разделе Устранение ошибок при обновлении до Windows 10. See Resolve Windows 10 upgrade errors for a full list of topics in this article.
Если обновление завершается с ошибкой, программа установки Windows возвращает два кода. If the upgrade process is not successful, Windows Setup will return two codes:
- Код результата: этот код соответствует определенной ошибке Win32 или NTSTATUS. A result code: The result code corresponds to a specific Win32 or NTSTATUS error.
- Код расширения: этот код содержит сведения об этапе, на котором возникла ошибка, и об операции, при выполнении которой возникла ошибка. An extend code: The extend code contains information about both the phase in which an error occurred, and the operation that was being performed when the error occurred.
Например, код результата 0xC1900101 с кодом расширения 0x4000D возвращается как 0xC1900101 — 0x4000D. For example, a result code of 0xC1900101 with an extend code of 0x4000D will be returned as: 0xC1900101 — 0x4000D.
Примечание. Если возвращается только код результата, это может быть вызвано тем, что используемое средство не может получить код расширения. Note: If only a result code is returned, this can be because a tool is being used that was not able to capture the extend code. Например, если вы используете помощник по обновлению Windows 10, может возвращаться только код результата. For example, if you are using the Windows 10 Upgrade Assistant then only a result code might be returned.
Если вам не удается найти коды результата и расширения ошибок, можно попытаться найти эти коды с помощью средства просмотра событий. If you are unable to locate the result and extend error codes, you can attempt to find these codes using Event Viewer. Дополнительные сведения см. в разделе Отчеты об ошибках Windows. For more information, see Windows Error Reporting.
Коды результата Result codes
Код результата 0xC1900101 является универсальным и указывает, что произошел откат. A result code of 0xC1900101 is generic and indicates that a rollback occurred. В большинстве случаев причина заключается в проблеме с совместимостью драйверов. In most cases, the cause is a driver compatibility issue.
Чтобы устранить сбой обновления, вернув код результатов 0xC1900101, проанализируйте расширенный код для определения фазы установки Windows и см. в разделе Процедуры разрешения в этой статье. To troubleshoot a failed upgrade that has returned a result code of 0xC1900101, analyze the extend code to determine the Windows Setup phase, and see the Resolution procedures section later in this article.
Следующий набор кодов результатов связан с предупреждениями о совместимости Windows Setup: The following set of result codes are associated with Windows Setup compatibility warnings:
Код результата Result code | Сообщение Message | Описание Description |
---|---|---|
0xC1900210 0xC1900210 | MOSETUP_E_COMPAT_SCANONLY MOSETUP_E_COMPAT_SCANONLY | Настройка не находит проблем с компатом Setup did not find any compat issue |
0xC1900208 0xC1900208 | MOSETUP_E_COMPAT_INSTALLREQ_BLOCK MOSETUP_E_COMPAT_INSTALLREQ_BLOCK | Настройка обнаружила проблему компатов, которая может быть действий, например несовместимое приложение. Setup found an actionable compat issue, such as an incompatible app |
0xC1900204 0xC1900204 | MOSETUP_E_COMPAT_MIGCHOICE_BLOCK MOSETUP_E_COMPAT_MIGCHOICE_BLOCK | Выбранный выбор переноса не доступен (например: Enterprise to Home) The migration choice selected is not available (ex: Enterprise to Home) |
0xC1900200 0xC1900200 | MOSETUP_E_COMPAT_SYSREQ_BLOCK MOSETUP_E_COMPAT_SYSREQ_BLOCK | Компьютер не имеет права на Windows 10 The computer is not eligible for Windows 10 |
0xC190020E 0xC190020E | MOSETUP_E_INSTALLDISKSPACE_BLOCK MOSETUP_E_INSTALLDISKSPACE_BLOCK | Компьютеру не хватает свободного места для установки The computer does not have enough free space to install |
Список ошибок современной установки (mosetup) с описаниями в диапазоне доступен в разделе Процедуры разрешения в этой статье. A list of modern setup (mosetup) errors with descriptions in the range is available in the Resolution procedures topic in this article.
Другие коды результатов могут соответствовать определенному типу ошибки. Other result codes can be matched to the specific type of error encountered. Сопоставление кода результата с ошибкой To match a result code to an error:
- Определите тип кода ошибки либо Win32, либо NTSTATUS по первому шестнадцатеричному разряду: Identify the error code type as either Win32 or NTSTATUS using the first hexadecimal digit:
8 = код ошибки Win32 (например, 0x80070070); 8 = Win32 error code (ex: 0x80070070)
C = значение NTSTATUS (например, 0xC1900107). C = NTSTATUS value (ex: 0xC1900107) - Запишите последние 4 разряда кода ошибки (например: 0x80070070 = 0070). Write down the last 4 digits of the error code (ex: 0x80070070 = 0070). Эти цифры относятся к фактическому типу кода ошибки согласно определению в структуре HRESULT или NTSTATUS. These digits are the actual error code type as defined in the HRESULT or the NTSTATUS structure. Другие цифры в коде идентифицируют такие аспекты, как тип устройства, которое вызвало ошибку. Other digits in the code identify things such as the device type that produced the error.
- В зависимости от типа кода ошибки, определенного на первом этапе (Win32 or NTSTATUS), сопоставьте 4 разряда, полученных на втором этапе, с кодом ошибки Win32 или значением NTSTATUS, используя следующие ссылки. Based on the type of error code determined in the first step (Win32 or NTSTATUS), match the 4 digits derived from the second step to either a Win32 error code or NTSTATUS value using the following links:
- Код ошибки Win32 Win32 error code
- Значение NTSTATUS NTSTATUS value
- 0x80070070 0x80070070
- По наличию «8» можно понять, что это код ошибки Win32 Based on the «8» this is a Win32 error code
- Последние четыре цифры — 0070, поэтому ищем 0x00000070 в таблице код ошибки Win32 The last four digits are 0070, so look up 0x00000070 in the Win32 error code table
- Ошибка: ERROR_DISK_FULL The error is: ERROR_DISK_FULL
- 0xC1900107 0xC1900107
- По наличию «C» можно понять, что это код ошибки NTSTATUS Based on the «C» this is an NTSTATUS error code
- Последние четыре цифры — 0107, поэтому ищем 0x00000107 в таблице значение NTSTATUS The last four digits are 0107, so look up 0x00000107 in the NTSTATUS value table
- Ошибка: STATUS_SOME_NOT_MAPPED The error is: STATUS_SOME_NOT_MAPPED
Некоторые коды результатов не требуют разъяснений , тогда как другие носят более обобщенный характер и требуют дальнейшего анализа. Some result codes are self-explanatory, whereas others are more generic and require further analysis. В примерах выше ERROR_DISK_FULL означает, что жесткий диск переполнен и требуется дополнительное место для завершения обновления Windows. In the examples shown above, ERROR_DISK_FULL indicates that the hard drive is full and additional room is needed to complete Windows upgrade. Сообщение STATUS_SOME_NOT_MAPPED более неоднозначно и означает, что действие находится в состоянии ожидания. The message STATUS_SOME_NOT_MAPPED is more ambiguous, and means that an action is pending. Этим действием часто служит операция очистки из предыдущей попытки установки, которую можно устранить с помощью перезагрузки системы. In this case, the action pending is often the cleanup operation from a previous installation attempt, which can be resolved with a system reboot.
Коды расширения Extend codes
Расширенные коды отражают текущий процесс обновления Windows 10 и могут изменяться в будущих выпусках Windows 10. Extend codes reflect the current Windows 10 upgrade process, and might change in future releases of Windows 10. Коды, приведенные в этом разделе, применяются к Windows 10 версии 1607, которую также называют юбилейным обновлением. The codes discussed in this section apply to Windows 10 version 1607, also known as the Anniversary Update.
Коды расширения могут быть сопоставлены с этапом и операции, во время которой возникла ошибка. Extend codes can be matched to the phase and operation when an error occurred. Сопоставление кода расширения с этапом и операцией To match an extend code to the phase and operation:
- Используйте первый разряд для определения этапа (например, 0x4000D = 4). Use the first digit to identify the phase (ex: 0x4000D = 4).
- С помощью двух последних разрядов определите операцию (например, 0x4000D = 0D). Use the last two digits to identify the operation (ex: 0x4000D = 0D).
- Сопоставьте этап и операцию со значениями в таблицах ниже. Match the phase and operation to values in the tables provided below.
В следующих таблицах представлены соответствующие этапы и операции для значений кода расширения: The following tables provide the corresponding phase and operation for values of an extend code:
Код расширения: этап Extend code: phase | |
Шестнадцатеричное значение Hex | Этап Phase |
0 0 | SP_EXECUTION_UNKNOWN SP_EXECUTION_UNKNOWN |
1 1 | SP_EXECUTION_DOWNLEVEL SP_EXECUTION_DOWNLEVEL |
2 2 | SP_EXECUTION_SAFE_OS SP_EXECUTION_SAFE_OS |
3 3 | SP_EXECUTION_FIRST_BOOT SP_EXECUTION_FIRST_BOOT |
4 4 | SP_EXECUTION_OOBE_BOOT SP_EXECUTION_OOBE_BOOT |
5 5 | SP_EXECUTION_UNINSTALL SP_EXECUTION_UNINSTALL |
Код расширения: операция Extend code: operation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Например: код расширения 0x4000D означает проблему, возникшую на этапе 4 (0x4) с переносом данных (000D). For example: An extend code of 0x4000D, represents a problem during phase 4 (0x4) with data migration (000D).