Во время апдейта до Windows 10 через Media Creation Tool некоторые пользователи могут сталкиваться с ошибкой 0x8007001f – 0x20006. В сообщении ошибки может содержаться следующая информация:
Не удалось установить Windows 10
Компьютер возвращен к тому состоянию, в котором он находился перед началом установки Windows 10.0x8007001f – 0x20006
Ошибка на этапе установки SAFE_OS во время операции REPLICATE_OC
Во время этапа SAFE_OS запускается установка всех необходимых для операционной системы обновлений, тем не менее в какой-то момент что-то идет не так и Media Creation Tool показывает пользователю ошибку 0x8007001f – 0x20006. Этим «что-то» может являться прерванная загрузка файлов апдейта, проблемы с интернет-подключением и многое другое.
Содержание
- Как избавиться от ошибки 0x8007001f – 0x20006?
- Решение №1 Запуск средства устранения неполадок
- Решение №2 Сброс компонентов Центра обновления
- Решение №3 Отключение брандмауэра и антивируса
- Решение №4 Чистая загрузка системы
Как избавиться от ошибки 0x8007001f – 0x20006?

Решение №1 Запуск средства устранения неполадок
Первым делом вы должны попробовать запустить средство устранения неполадок с Центром обновления и посмотреть, получится ли у него устранить вашу проблему. Перейдите по следующей ссылке для загрузки файла WindowsUpdate.diagcab. Запустите скачанный файл, после чего перед вами должно появиться следующее окошко:

Нажмите на пункт «Дополнительно» в нижнем левом углу окна и поставьте галочку возле опции «Автоматически применять исправления». Далее нажмите на кнопку «Далее» и следуйте последующим инструкциям на экране.
Решение №2 Сброс компонентов Центра обновления
В некоторых случаях для решения ошибки 0x8007001f – 0x20006 может потребоваться сброс всех компонентов Центра обновления Windows. Благо, уже давно существуют способы автоматизации данного процесса — вам не придется с полчаса сидеть за Командной строкой, вручную прописывая каждую команду.
Предлагаем вам воспользоваться скриптом смышленного пользователя-энтузиаста, способного полностью сбросить все компоненты вашего Центра обновления. Нажмите Win+R, после чего выполните значение notepad.exe. Далее вставьте в окно Блокнота следующий скрипт:
:: Run the reset Windows Update components.
:: void components();
:: /*************************************************************************************/
:components
:: —— Stopping the Windows Update services ——
call :print Stopping the Windows Update services.
net stop bitscall :print Stopping the Windows Update services.
net stop wuauservcall :print Stopping the Windows Update services.
net stop appidsvccall :print Stopping the Windows Update services.
net stop cryptsvccall :print Canceling the Windows Update process.
taskkill /im wuauclt.exe /f
:: —— Checking the services status ——
call :print Checking the services status.sc query bits | findstr /I /C:»STOPPED»
if %errorlevel% NEQ 0 (
echo. Failed to stop the BITS service.
echo.
echo.Press any key to continue . . .
pause>nul
goto :eof
)call :print Checking the services status.sc query wuauserv | findstr /I /C:»STOPPED»
if %errorlevel% NEQ 0 (
echo. Failed to stop the Windows Update service.
echo.
echo.Press any key to continue . . .
pause>nul
goto :eof
)call :print Checking the services status.
sc query appidsvc | findstr /I /C:»STOPPED»
if %errorlevel% NEQ 0 (
sc query appidsvc | findstr /I /C:»OpenService FAILED 1060″
if %errorlevel% NEQ 0 (
echo. Failed to stop the Application Identity service.
echo.
echo.Press any key to continue . . .
pause>nul
if %family% NEQ 6 goto :eof
)
)call :print Checking the services status.
sc query cryptsvc | findstr /I /C:»STOPPED»
if %errorlevel% NEQ 0 (
echo. Failed to stop the Cryptographic Services service.
echo.
echo.Press any key to continue . . .
pause>nul
goto :eof
):: —— Delete the qmgr*.dat files ——
call :print Deleting the qmgr*.dat files.del /s /q /f «%ALLUSERSPROFILE%Application DataMicrosoftNetworkDownloaderqmgr*.dat»
del /s /q /f «%ALLUSERSPROFILE%MicrosoftNetworkDownloaderqmgr*.dat»:: —— Renaming the softare distribution folders backup copies ——
call :print Deleting the old software distribution backup copies.cd /d %SYSTEMROOT%
if exist «%SYSTEMROOT%winsxspending.xml.bak» (
del /s /q /f «%SYSTEMROOT%winsxspending.xml.bak»
)
if exist «%SYSTEMROOT%SoftwareDistribution.bak» (
rmdir /s /q «%SYSTEMROOT%SoftwareDistribution.bak»
)
if exist «%SYSTEMROOT%system32Catroot2.bak» (
rmdir /s /q «%SYSTEMROOT%system32Catroot2.bak»
)
if exist «%SYSTEMROOT%WindowsUpdate.log.bak» (
del /s /q /f «%SYSTEMROOT%WindowsUpdate.log.bak»
)call :print Renaming the software distribution folders.
if exist «%SYSTEMROOT%winsxspending.xml» (
takeown /f «%SYSTEMROOT%winsxspending.xml»
attrib -r -s -h /s /d «%SYSTEMROOT%winsxspending.xml»
ren «%SYSTEMROOT%winsxspending.xml» pending.xml.bak
)
if exist «%SYSTEMROOT%SoftwareDistribution» (
attrib -r -s -h /s /d «%SYSTEMROOT%SoftwareDistribution»
ren «%SYSTEMROOT%SoftwareDistribution» SoftwareDistribution.bak
if exist «%SYSTEMROOT%SoftwareDistribution» (
echo.
echo. Failed to rename the SoftwareDistribution folder.
echo.
echo.Press any key to continue . . .
pause>nul
goto :eof
)
)
if exist «%SYSTEMROOT%system32Catroot2» (
attrib -r -s -h /s /d «%SYSTEMROOT%system32Catroot2»
ren «%SYSTEMROOT%system32Catroot2» Catroot2.bak
)
if exist «%SYSTEMROOT%WindowsUpdate.log» (
attrib -r -s -h /s /d «%SYSTEMROOT%WindowsUpdate.log»
ren «%SYSTEMROOT%WindowsUpdate.log» WindowsUpdate.log.bak
):: —— Reset the BITS service and the Windows Update service to the default security descriptor ——
call :print Reset the BITS service and the Windows Update service to the default security descriptor.sc.exe sdset wuauserv D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
sc.exe sdset bits D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
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):: —— Reregister the BITS files and the Windows Update files ——
call :print Reregister the BITS files and the Windows Update files.cd /d %SYSTEMROOT%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:: —— Resetting Winsock ——
call :print Resetting Winsock.
netsh winsock reset:: —— Resetting WinHTTP Proxy ——
call :print Resetting WinHTTP Proxy.if %family% EQU 5 (
proxycfg.exe -d
) else (
netsh winhttp reset proxy
):: —— Set the startup type as automatic ——
call :print Resetting the services as automatics.
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:: —— Starting the Windows Update services ——
call :print Starting the Windows Update services.
net start bitscall :print Starting the Windows Update services.
net start wuauservcall :print Starting the Windows Update services.
net start appidsvccall :print Starting the Windows Update services.
net start cryptsvccall :print Starting the Windows Update services.
net start DcomLaunch:: —— End process ——
call :print The operation completed successfully.echo.Press any key to continue . . .
pause>nul
goto :eof
:: /*************************************************************************************/
Нажмите на пункт «Файл» в строке меню окна и выберите «Сохранить как…». Задайте файлу имя WUReset.cmd (обязательно выставьте расширение cmd!) и сохраните его в удобное для вас место на ПК, например, на рабочем столе. Создав файл, дважды кликните на него ЛКМ и наблюдайте за сбросом Центра обновления. Как только все закончится, перезагрузите компьютер и проверьте наличие ошибки 0x8007001f – 0x20006.
Решение №3 Отключение брандмауэра и антивируса
Бывают случаи, когда процессу установки Windows 10 могут мешать активный фаервол или антивирус. Чтобы отключить брандмауэр Windows, вам нужно сделать следующее:
- нажмите Win+R;
- напишите control и нажмите Enter;
- перейдите в раздел «Брандмауэр Защитника Windows»;
- кликните на ссылку «Включение и отключение брандмауэра Защитника Windows»;
- поставьте галочки возле отключения брандмауэра для каждого типа сети;
- сохраните изменения.
Для деактивации Защитника Windows, необходимо сделать следующее:
- нажмите Win+S;
- напишите запрос «Параметры Защитника Windows» и выберите найденный результат;
- далее кликните на пункты «Защита от вирусов и угроз→Управление настройками»;
- выставьте переключатель «Защита в режиме реального времени» в положение «Откл.»;
- сохраните изменения и перезагрузите компьютер.
Запустите обновление до «десятки» еще раз и посмотрите, покажется ли ошибка 0x8007001f – 0x20006.
Решение №4 Чистая загрузка системы
Возможно, какое-то программное обеспечение на вашем компьютере мешает установке Windows 10. Это легко проверить, начисто загрузив свою ОС. Делается это следующим образом:
- нажмите Win+R;
- пропишите msconfig и нажмите Enter;
- перейдите во вкладку «Службы»;
- поставьте галочку возле опции «Не отображать службы Майкрософт» и нажмите кнопку «Отключить все»;
- перейдите во вкладку «Автозагрузка»;
- кликните на ссылку «Открыть диспетчер задач»;
- деактивируйте всё ПО, которое будет находиться перед вами в списке;
- перезагрузите компьютер и запустите обновление до Windows 10 еще раз.
Надеемся, что данный материал был полезен для вас в решении ошибки 0x8007001f – 0x20006.
When you use Windows Media Creation tool to update your computer, you might receive error code 0x8007001F — 0x20006. Focusing on this problem, MiniTool software provides 5 feasible solutions in this post.
The Windows Media Creation tool developed by Microsoft is a rather useful tool to help you download and install the latest Windows version. However, when you use this tool, you might get 0x8007001F — 0x20006 error during the setup process. Also, there is an error message:
The installation failed in the SAFE_OS phase with an error during REPLICATE_OC operation.
The safe OS phase, pointed in the error message, is an important phase to install all the required Windows updates. If your Windows 10 update keeps failing with this error message, perhaps the update download is interrupted or there’s something wrong with your internet connection. Of course, some other factors might also lead to this issue.
How to fix Windows 10 update error 0x8007001F — 0x20006? Several workarounds are listed here and you can try them one by one to fix this error.
Fix 1: Use Windows Update Troubleshooter
If you run into certain problems with Windows update, the easiest solution is to use Windows Update Troubleshooter which is a built-in tool in your Windows 10. You can follow the steps listed below:
Step 1: Press Windows + R to open Settings app.
Step 2: Go to Update & Security > Troubleshoot.
Step 3: In the right pane, select Windows Update and click Run the troubleshooter.

Then, this tool will start detecting problems that prevent you from updating Windows. Once it’s done, you can check if Windows update error 0x8007001F — 0x20006 is fixed.
Fix 2: Reset Windows Update Components
Alternatively, you can try resetting the Windows Update components to fix the issue. Just refer to the following steps.
Step 1: Press Windows + R to invoke Run window. Input cmd and press Ctrl + Shift + Enter to run Command Prompt with administrative privilege.
Step 2: Type the following command and hit Enter key after each to stop the Windows Update components, including Windows Update service, Cryptographic service, BITS and MSI Installer.
- net stop wuauserv
- net stop cryptsvc
- net stop bits
- net stop msiserver
Step 3: Now, you need to rename SoftwareDistribution and Catroot2 folders. Just type the following command line and press Enter after each.
- ren C:WindowsSoftwareDistribution SoftwareDistribution.old
- ren C:WindowsSystem32catroot2 Catroot2.old
Step 4: After rename the folders, you need to restart the involved components mentioned above. Just enter the following command. Again, do not forget to press Enter after each command.
- net start wuauserv
- net start cryptsvc
- net start bits
- net start msiserver
Once you have reset the Windows update components, exit Command Prompt and restart your computer. You can try updating your Windows again to check if 0x8007001F — 0x20006 error is resolved.
Fix 3: Clear Windows Update Cache
Sometimes, the cached Windows Update files might be corrupted or incomplete, which could prevent Windows update from installing and cause 0x8007001F — 0x20006 error. In this case, you need to clear your Windows update cache, and try downloading and installing updates again.
To do that, you just need to delete $Windows.~BT and $Windows.~WS folders in File Explorer. They are created by your system and hidden in the system drive. To see them, you can go to View tab and choose Show hidden files.
