How to Fix Windows Upgrade Error Code 80040005 in Easy Steps

If you are encountering an error code 80040005-0x20007 while upgrading to the latest version of Windows 10 or Windows 11, you are not alone. This error code indicates that an unidentified error occurred with a driver during the SafeOS phase. It is a common error many users experience when updating their Windows OS.

Quick Fixes for Windows Upgrade Error Code 80040005

Here are some easy fixes to resolve error code 80040005 while upgrading your Windows OS:

  • Check your system requirements and ensure that your computer meets them.
  • Update device drivers and BIOS to the latest version.
  • Run Windows Update troubleshooter to diagnose the problem and fix it.
  • Disconnect any non-essential external hardware connected to your computer.
  • Run SFC and DISM scan to repair corrupted Windows system files.
  • Run CHKDSK to scan for possible errors on your hard drive.
  • Uninstall third-party security software temporarily during the upgrade process.
  • Use the Microsoft Virtual Support Agent to get assistance in resolving the error.

If none of the above solutions work, analyze the Windows update log files to determine the problem and seek professional help if needed.

Share Your Thoughts

We hope this article has helped you in resolving the Windows upgrade error code 80040005. If you have any queries, feel free to contact us. If you found this article useful, please share it with your friends and family to support us.


1. What is error code 80040005 on Windows?

Error code 80040005 occurs when an unidentified error occurs with a driver during the SafeOS phase while upgrading your Windows OS.

2. How can I fix Windows error code 80040005?

Some easy fixes to resolve error code 80040005 include checking system requirements, updating device drivers and BIOS, running Windows Update troubleshooter, disconnecting non-essential hardware, running SFC and DISM scan, running CHKDSK, and uninstalling third-party security software temporarily.

3. What should I do if none of the quick fixes work?

If none of the above solutions work, analyze the Windows update log files to determine the problem and seek professional help if needed.

4. Can I upgrade Windows to the latest version with error code 80040005?

No, you need to resolve the error code 80040005 before upgrading Windows to the latest version.

Editorial Staff
Editorial Staff
The Bollyinside editorial staff is made up of tech experts with more than 10 years of experience Led by Sumit Chauhan. We started in 2014 and now Bollyinside is a leading tech resource, offering everything from product reviews and tech guides to marketing tips. Think of us as your go-to tech encyclopedia!


Please enter your comment!
Please enter your name here

Related Articles

Best Telemedicine Software: for your healthcare practice

Telemedicine software has transformed my healthcare visits. It's fantastic for patients and doctors since they can obtain aid quickly. I...
Read more
I love microlearning Platforms in today's fast-paced world. Short, focused teachings that engage me are key. Microlearning platforms are great...
Think of a notebook on your computer or tablet that can be changed to fit whatever you want to write...
As of late, Homeschool Apps has gained a lot of popularity, which means that an increasing number of...
From what I've seen, HelpDesk software is essential for modern businesses to run easily. It's especially useful for improving customer...
For all of our important pictures, stories, and drawings, Google Drive is like a big toy box. But sometimes the...