How To Fix OneDrive Installation Error Code 0x80040c97 On Windows 10?

Wondering how to fix the OneDrive installation error code 0x80040c97 on Windows 10?

OneDrive Installation Error Code 0x80040c97

OneDrive is Microsoft’s effort to compete with Google Drive and Apple’s iCloud, and we wouldn’t mind admitting that is quite a success. With a wide range of online Office apps, rich features, and an easy-to-use interface, OneDrive has over 250 million users worldwide. 

If you are a Microsoft Word, Excel, or Powerpoint user, OneDrive has to be your best bet. However, like several other Microsoft apps, OneDrive has buggy ends. 

Several users recently reported that their screen displays the error code 0x80040c97 while trying to install OneDrive on Windows 10. This can be frustrating, especially if your work is dependable upon this cloud-based file hosting service. 

If you are facing a similar situation on your PC, you’re in the right place. 

This guide will walk you through the process of fixing the OneDrive installation error code 0x80040c97 on Windows 10. 

Let’s get started.

1. Update Windows.

An outdated Windows version is prone to errors. If you face the OneDrive installation error code 0x80040c97 on Windows 10, the first thing you should do is install all the pending updates. 

Since Windows updates are packed with advanced features and bug fixes, upgrading Windows to its latest build can quickly resolve the issues. 

Here is how you can update Windows on your PC:

  1. Go to Settings and select Updates & Security
  2. Now click on Check for updates and install the pending updates one by one. 
How to Fix Microsoft Store Error Code 0x80070520
  1. Once all the updates are downloaded, restart your PC and check if the error is resolved. 

If the outdated Windows version is causing the issue on your PC, downloading the latest updates will fix it. You should now be able to install OneDrive without any issues. 

2. Run an SFC Scan. 

Windows 10 is prone to errors, but thankfully, several built-in troubleshooting utilities make this operating system a lot more bearable. One such tool is the System File Checker (SFC) that scans protected system files, identifies errors, and attempts to fix them automatically. 

If your screen displays the error 0x80040c97 while attempting to install OneDrive, try running an SFC scan. If a corruption error in the system was causing the issue, running an SFC scan will resolve it, and you will be able to install OneDrive without any problems. 

3.  Force Close OneDrive Process.

Background processes can make your computer sluggish, and closing them can free up some resources on your system to make it run like normal. 

If an OneDrive process is running in the background, try closing it. The background process might be interfering with the system, preventing it from installing new programs. In this case, closing the OneDrive process can help resolve the issue on your PC. 

Here is what you need to do:

  1. Type Task Manager in the search bar and click on Open.
  2. In the Processes tab, check if OneDrive is active.
  3. If OneDrive is running, right-click on it and select End Task to close the application. 
How To Fix OneDrive Installation Error Code 0x80040c97 On Windows 10?
  1. Now right-click on the Start menu and open Windows Powershell (Admin). 
  2. Type the command mentioned below in Windows Powershell and hit Enter
taskkill /f /im OneDrive.exe

That’s it. Doing so will kill OneDrive and its relevant processes running in the background. You should now be able to install OneDrive without any errors. 

4. Make Changes in the Registry. 

Windows Registry is a database that stores information about the operating system and its relevant processes.

If you are not a tech-savvy person or have not dealt with frequent Windows errors, this might be new for you, but Windows Registry is one of the best routes to resolving system errors. It allows you to tweak Windows according to your preferences. 

However, if you are proceeding with this method, we strictly advise you to be careful as not following the process correctly can lead to critical information loss. 

Here is what you need to do:

  1. Press Windows + R keys simultaneously to launch a Run dialogue box. 
  2. Type ‘regedit in the dialogue box and hit Enter
  3. Now inside the Registry, navigate to the location mentioned below. 
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\OneDrive
  1. Locate DisableFileSyncNGSC and double-click on it. 
How To Fix OneDrive Installation Error Code 0x80040c97 On Windows 10?
  1. Change its value to 0 and close the Registry.
  2. Finally, reboot your PC and try installing OneDrive again. 

You should now be able to install OneDrive without any issues. 

5. Downgrade to an Older Version. 

If the troubleshooting steps are not working for you, then there is a chance the issue is not within the system but the OneDrive application that you are trying to download. 

There are times when the applications we are trying to download are not compatible with our Windows versions. The best solution in this scenario is to find an older version of the application and install it on your PC. 

Follow the steps mentioned below to downgrade to an older version of your PC:

  1. Force close the OneDrive processes running in the background as mentioned in Method 3. 
  2. One done, navigate to the OneDrive versions page
  3. You will be prompted to translate the page into English. After doing so, click on See more under the list of OneDrive versions available. 
  4. Now press Ctrl + F keys on your keyboard simultaneously and paste the version mentioned below in the search bar. 
19.152.0801.0008
OneDrive Installation
  1. Try installing this version of OneDrive and check if the issue is resolved.  

6. Try Using CleanMyPC.

As mentioned earlier, temporary errors such as the OneDrive installation error code 0x80040c97 on Windows 10 can be caused by corruption errors and bugs in the system. If running an SFC scan and making changes in the Registry did not work for you, try cleaning the junk files from your PC. 

These junk files inside Registry and other system folders might be preventing Windows from installing OneDrive on your PC. However, identifying all the junk files and cleaning them one by one can be a tedious task, which is why we recommend using CleanMyPC

Install CleanMyPC on your PC

CleanMyPC is a reliable PC cleaner that comes with a wide range of system maintenance tools. These tools can take care of everything from uninstalling unwanted applications to eliminating junk files and even protecting your online privacy.

Install CleanMyPC now and boost the overall performance of your PC!


Try CleanMyPC Now 


7. Uninstall and Reinstall OneDrive.

If you are trying to install the latest version of OneDrive without uninstalling the previous build, this might be why the 0x80040c97 error code. 

It is common for the older version of programs to block the installation of the newer versions. A simple yet effective solution to this issue is to uninstall the previous version before attempting to install the latest one. 

Here is how you can do it:

  1. Open Control Panel and click on Uninstall a program
Fix: Microsoft Edge Critical Error (Solved)
  1. Locate OneDrive in the list of programs available and right-click on it. 
  2. Now choose Uninstall and follow the on-screen instructions to uninstall OneDrive. 
  3. Once done, restart your PC. 

That’s it. You can now install the latest version of OneDrive, and hopefully, the 0x80040c97 error will not pop up on your screen again. 

This wraps up our guide on fixing the OneDrive installation error code 0x80040c97 on Windows 10. We tried to walk you through each troubleshooting method in detail, and we hope that our methods helped you fix the error on your PC. If you have any questions, please let us know in the comment section below. 

If this guide helped you, please share it. 🙂

Author

  • Zainab Falak

    Zainab Falak is a staff writer for Saint and an expert in Microsoft Windows, having authored more than 200 posts. She has a Bachelors in Actuarial Sciences and her passion for computers extends to exploring various aspects, from UI customization to the Windows registry and exploring error codes. Twitter LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *