0X800700B7-0X2000E:The resolution of the error code of Windows upgrade
Explain how to deal with this error code.When I try to upgrade to Windows 10, it seems that it may fail with the following error message.
set_prouct_key Installation failed in the safe_os phase due to an error during operation
This can occur if the source Windows version and the destination version are different.
Make sure you are upgrading from Windows 7 Home to the same edition, such as Windows 10 Home.
If it doesn't work, a clean installation is the last resort.
If you get this error after upgrading from Windows 7 to Windows 10, upgrade to Windows 10 older version (for example 1809) and then upgrade to the latest version again.
Make sure the PC you are upgrading meets your system requirements.
Reference: How to find specifications and system requirements for Windows 10 computers
How to Find Windows 10 Computer Specifications & Systems Requirements
The most common reason for failure is lack of disk space.
Make sure you have enough free space. I want 100G of free space.
If you upgrade to Windows 10 with hardware that is not supported by Windows 10 connected, it may fail.
Disconnect all hardware and try the upgrade again.
Check with your PC manufacturer to see if they support the hardware. Also check with your device manufacturer to see if it supports Windows 10.
Latest Windows Update and driver
It may fail if the river version is older or the driver is not compatible with Windows 10.
Please update the driver to the latest version. At the same time, please update to the latest version with Windows Update before performing the upgrade.
Check if it can be improved by downloading the Windows 10 image with the tool and then installing it.
(In-place upgrade, in short, overwrite installation)
Internet line test
The problem may be due to a delay in the internet connection.
Check if there is a problem with the speed test provided by Google.
If you search for "speed test" in the Google search window, it will be displayed at the top. Measurement starts with [Run Speed Test].
Apply Windows individual update program
Make sure that all important updates are installed before you upgrade Windows.
Also, update the device driver.
Disables non-Microsoft antivirus. If it doesn't work, uninstall it and then install it again after the upgrade is complete.
Resident stop of unnecessary software. If it doesn't work, uninstall it and try it.
Legacy USB support
Some models seem to fail the upgrade when "Legacy USB Support" is enabled in the BIOS.
Disable in the BIOS.
Disable fast startup if enabled
Disable some of the added functions
Added features such as IIS (Internet Information Services) are temporarily disabled.
Also, if you have changed the IME from Microsoft IME, temporarily revert it.
Review of user profile
It seems that if there is a problem with the user profile, the upgrade may fail because it is not compatible with Windows 10.
・ Delete unnecessary accounts.
-It seems that my account may work if I back up my desktop or documents to an external medium and then recreate and upgrade my account.
Failed in SECOND_BOOT phase
Even if "Failed in SECOND_BOOT phase", it seems that it may work if you execute it after repeating power off and on.
Obtaining updates, drivers, and optional features
If you have "Get updates, drivers, optional features", it seems that selecting "Do not run now" may succeed.
Investigate why the upgrade is failing using SetupDiag, which is provided free of charge by Microsoft.
It seems to be a tool for intermediate and advanced users.
Confirmation of time
Make sure the correct time is set.
Windows Update / Upgrade may fail if the time is significantly different from the correct time.
Checking the internet line
If you are updating via the internet line, check if the line is working properly.
For example, you should see something like this: (Some have been replaced. It depends on the environment.)
C: \ ipconfig
Wireless LAN adapter Wi-Fi:
Connection-specific DNS suffix .. .. .: ****. **. **
IPv4 address .. .. .. .. .. .. .: a.b.c.d
Subnet mask .. .. .. .. ..: e.f.g.h
Default gateway .. .. .. .: i, j, k, l
Check if you can connect to download.microsoft.com with the ping command.
Windows Update Troubleshooting Tool
Run the Windows Update troubleshooting tool.
From the start menu, do the following:
[Start] → [Settings] → [Update and Security] → [Troubleshooting] → [Windows Update] → [Run Troubleshooting Tool]
Confirmation of required services
Make sure that the startup settings for the "Background Intelligent Transfer Service" and "Windows Update" services are correct.
Make sure they are "AUTO_START" (automatic) and "DEMAND_START" (manual) respectively.
C:\sc qc BITS | findstr START_TYPE
START_TYPE : 2 AUTO_START (DELAYED)
C:\sc qc wuauserv | findstr START_TYPE
START_TYPE : 3 DEMAND_START
Windows Modules Installer
Make sure the Windows Modules Installer (TrustedInstaller) is set to manual startup. If it is disabled, it will cause problems and should be fixed.
There is no problem with the manual startup (DEMAND_START) setting because it is started when needed.
C:\>sc qc TrustedInstaller | findstr START_TYPE
START_TYPE : 3 DEMAND_START
If Windows Update downloads seem to stop, check the following folders:
If it is downloaded normally, the files in the following folders should increase. Then you can rest assured.
If the number of items in this folder does not increase, the process may have stopped.
Make sure your Windows 10 license is correct and that it hasn't been revoked for any reason.
You can check the license from the start menu.
[Start] → [Settings] → [Update and Security] → [Activation]
Try the repair tool provided by Microsoft.
Try deleting unnecessary files with the Disk Cleanup tool.
From the command line:
C:\>cleanmgr.exe /D C: /VERYLOWDISK /SETUP
Please restart Windows after running.
Delete download cache
Delete the cache folder related to Windows Update.
Below, open a command prompt with administrator privileges and execute.
C:\>net stop usosvc
C:\>net stop dosvc
C:\>net stop wuauserv
C:\>net stop bits
C:\>net stop cryptsvc
C:\>ren C:\Windows\SoftwareDistribution SoftwareDistribution_bak
C:\>ren C:\Windows\System32\catroot2 catroot2_bak
C:\>net start cryptsvc
C:\>net start bits
C:\>net start wuauserv
C:\>net start dosvc
C:\>net start usosvc
Free disk space
Check the free disk space. Especially in the case of version upgrade, a large amount of free disk space may be required.
Delete unnecessary files and try again.
Update of SSU
Download and install the latest Servicing Stack Update (SSU) individually from the Microsoft Update Catalog.
Microsoft Update Catalog
Download the latest version for your version of Windows and the number of bits (32 or 64).
Search example: "Servicing Stack Update windows 10"
System file inconsistency
Check your system for inconsistencies. If there is an inconsistency, Windows Update may fail.
C:\> DISM.exe /Online /Cleanup-image /Restorehealth
C:\> sfc /scannow
Check if the upgrade is possible while booting with a clean boot.
-Temporarily remove unnecessary devices.
-Stop services other than Microsoft
-Temporarily disable non-Microsoft autostart
These can be done from the "Startup" tab of "Task Manager".
Security measures software
Updates may be guarded by the function of security software and fail.
Temporarily disable the security software and check if it can be improved.
Check Winodws Update log
Get Windows Update related logs from Powershel with the following command.
If you are connected to the Internet via a VPN (Virtual Private Network) or Proxy, connect directly to the Windows update server without going through them and see if it improves.
Windows Update --Additional resources
Use the following page to reset the Windows Update component.
Uninstall a specific KB
A specific update (KB) may be a problem and the process may result in an error.
Especially if there is a hardware problem such as a specific CPU, uninstalling a specific KB may improve it.
Check Microsoft for official announcements
Uninstall the update program
Windows Update errorcode list
This page is personally collected information. The description may contain errors. In addition, the contents may be confirmed incorrectly in the future.
The author does not necessarily modify the content of the page in such cases.No one can guarantee any financial, time, or other damages caused by the contents of this page.
Please see this page for reference only. Please refer to it at your own risk. If you do not agree, do not browse this page.