This post is to summarize and provides a brief introduction to Windows 10 installation processes. There are plenty of resolution procedures that IT administrators can use to resolve issues occurring during Windows 10 upgrade.
Compare to the past version of Operating System. Microsoft had putting notable effort to make Windows 10 upgrade an transparent and easy process. Sadly, there are still several instances where Windows Upgrade failed completely for users.
Microsoft has come up with a detailed process flow for its Windows 10 upgrade and how to tackle the real issue base on the error message on screen. This post great for IT administrators who want to know more about Windows 10 installation process and troubleshooting steps for resolving Windows 10 Upgrade errors.
Windows Setup Application is an important application that helps in managing the clean installation of Windows 10. It starts and restarts the computer, collects information, copies files, and creates or adjusts configuration settings. Windows Setup application divides operating system upgrade into several phases:
- Downlevel phase: Installation components are gathered and run within previous OS
- Safe OS phase: A recovery partition is configured and install all required updates. An OS rollback is prepared if needed.
- Example error codes: 0x2000C, 0x20017
- First boot phase: Initial settings are applied.
- Example error codes: 0x30018, 0x3000D
- Second boot phase: Final settings are applied. This is also called the OOBE boot phase.
- Example error: 0x4000D, 0x40017
- Uninstall phase: This phase occurs if upgrade is unsuccessful.
- Example error: 0x50000
Quick fixes that can resolved your Windows Upgrade Problems
- Check all hard drives for errors and attempt repairs.
- chkdsk /F
- Attempt to restore and repair system files by typing the following commands at an elevated command prompt.
- DISM.exe /Online /Cleanup-image /Restorehealth
- sfc /scannow
- Update Windows so that all available recommended updates are installed.
- Uninstall non-Microsoft antivirus software.
- Use Windows Defender for protection during the upgrade.
- Verify compatibility information and re-install antivirus applications after the upgrade.
- Uninstall all non-necessary software.
- Remove non-necessary external hardware, such as docks and USB devices.
- Update firmware and drivers.
- Ensure that “Download and install updates (recommended)” is accepted at the start of the upgrade process.
- Verify at least 16 GB of free space for 32-bit OS, or 20 GB for a 64-bit OS.
Upgrade error codes
If the upgrade process is not successful, Windows Setup will return two codes:
- A result code: The result code corresponds to a specific Win32 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.
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 during Windows 10 setup, this might be due to a tool is being used that was not able to capture the extend code. For example, if you are using the Windows 10 Upgrade Assistant then only a result code might be returned.
Windows 10 Installation Log files
In Windows, usually it will generate log files no matter is a upgrade or newly install applications. This is the same apply to Windows 10 installation. Several log files created at each phase of the upgrade process. Each and every log files plays an important role, you may resolve upgrade problems by checking this log files. These log files are hidden by default, configure Windows Explorer to view hidden items. The most useful log is setupact.log. The log files are located in a different folder depending on the Windows Setup phase.
Procedure to analyze Windows 10 Installation log files
- Determine the Windows Setup error code.
- Based on the extend code portion of the error code, determine the type and location of a log files to investigate.
- Open the log file in a text editor, such as notepad.
- Using the result code portion of the Windows Setup error code, search for the result code in the file and find the last occurrence of the code. Alternatively search for the “abort” and abandoning” text strings described in step 7 below.
- Then, click Edit and chose Find option.
- When you have located the last occurrence of the result code, scroll up a few lines from this location in the file and review the processes that failed just prior to generating the result code.
- Search for the following important text strings:
- Shell application requested abort
- Abandoning apply due to error for object
- Decode Win32 errors that appear in this section.
- Write down the timestamp for the observed errors in this section.
- Search other log files for additional information matching these timestamps or errors.
As soon as you found the exact error code you can following general troubleshooting procedures associated with an error result by following the steps outlined on this TechNet page. This post provides detail resolution procedures that IT administrators can use to resolve issues with Windows 10 upgrade.