How to cope with Error Code 0x80040c97 (OneDrive couldn’t be installed)?
If you’re using Windows 10, you must have come across OneDrive. It’s a cloud storage service from Microsoft that allows users to store, share, and synchronize files across multiple devices. OneDrive comes with many benefits, chief among them being 15GB of free storage space. It also enables users to easily organize files and collaborate using other Microsoft platforms, including Office.
Despite its good features, the tool is not immune to issues. For instance, some users have reported encountering the “OneDrive couldn’t be installed” error. The error notification is accompanied by the error code 0x80040c97, and it prevents the installation of OneDrive.
Here is how the error message reads in full:
“OneDrive couldn’t be installed
The file you downloaded might be damaged, or there might be a problem with certificates on your PC. Please download and install OneDrive again, or search the forums on Answers. microsoft. com for the following error code.
(Error code: 0x80040c97)”
If you rely on the OneDrive cloud service, the error can be quite frustrating. The good news is that it’s not permanent. Below, we share tips on how to fix the “OneDrive couldn’t be installed” error. But first, let’s take a look at some of the causes of this error.
What Is Error Code 0x80040c97 in Windows 10?
The OneDrive installation error code 0x80040c97 may be triggered by various issues that prevent you from successfully installing OneDrive. Here are some of the most likely culprits:
How to Fix ‘OneDrive Couldn’t Be Installed. Error Code: 0x80040c97’
Fix 1: Check Your System for File Corruption
There is a high chance that your system files have somehow been corrupted. This can happen in many ways, such as through malware infection or a sudden computer shutdown due to a power outage.
You should attempt to repair those files using the System File Checker (SFC) tool. It is a built-in Windows tool that detects damaged system files and replaces them with good copies. To proceed, follow these steps:
The process may take a while, depending on the number of files being scanned. Once it’s complete, reboot your PC and check if you can install OneDrive without problems.
Fix 2: Temporarily Disable Windows Defender Firewall
As discussed above, Windows Firewall may be blocking OneDrive’s setup files from installing, thereby triggering the error code 0x80040c97. To fix this, try temporarily disabling Windows Firewall. This way, you’ll be able to check if it’s responsible for the error.
To do that, follow these instructions:
With Windows Firewall turned off, try reinstalling the OneDrive application, and hopefully, it should go through without issues. If it doesn’t, move on to the next solution. Remember to re-enable Windows Defender Firewall to protect your system.
Fix 3: Reset OneDrive
When faced with OneDrive problems, your best bet is to reset the application to its factory defaults. Resetting an app usually fixes glitches or bugs that might have caused it to malfunction.
To reset OneDrive, follow the procedure below:
If the OneDrive icon takes too long to reappear, open the “Run” box, paste the command %localappdata%\Microsoft\OneDrive\onedrive. exe and press the “Enter” key.
If resetting OneDrive doesn’t get rid of the installation error, you may have to consider reinstalling the OneDrive app. Please see the details below.
Fix 4: Terminate the OneDrive Process and Reinstall OneDrive
If the OneDrive process is already running in the background, it may lead to a corrupted or incomplete setup file and thereby cause the error in question. The right approach would be to force close the OneDrive process along with all related background processes.
If reinstalling OneDrive fails, it’s probably due to compatibility issues – that is, your current OneDrive version may not be compatible with your Windows build. To fix this, try the next solution below.
Fix 5: Downgrade to an Older OneDrive Version
It’s common for fresh software releases to have some bugs, and your OneDrive version may be yet to receive fixes for the issues it is affected by. Additionally, if the OneDrive version you are running is not compatible with your Windows build, it will not function as required.
According to several users, downgrading to one of the older versions of OneDrive, like version 19.152.0801.0008, may help resolve the problem.
Fix 6: Update Windows
Needless to say, an outdated Windows OS can cause various PC issues and prevent applications, like OneDrive, from installing properly. To enjoy new and improved features and keep your Windows OS stable, it’s advisable to regularly update it.
Here is how to do that:
Once all the updates have been installed, try installing OneDrive to check if it still throws up the error code 0x80040c97.
Fix 7: Edit the Registry
Another method to fix the OneDrive installation error is changing a registry value associated with the installation of the OneDrive application. Remember to take extra precautions when dealing with the registry since one wrong value is all it takes to make your PC unusable.
Therefore, it’s highly advisable to back up your registry first before attempting this process. Creating a registry backup is simple:
Fix 8: Optimize Your PC
We’ve mentioned earlier that after uninstalling OneDrive, you should delete temporary files as well. Temp (temporary) files are created by your operating system and third-party applications whenever they are running. While these files may not cause any issues, when they accumulate, they end up taking valuable disk space and reducing the overall performance of your system.
When you delete temp files, not only do you create more storage space, but you also ensure that your computer operates at its peak performance. Temp files are part of PC junk that accumulates over time and starts causing PC issues. To prevent this, we recommend using an advanced PC optimization tool like Auslogics BoostSpeed.
Resolve PC Issues with Auslogics BoostSpeed
Besides cleaning and optimizing your PC, BoostSpeed protects privacy, diagnoses hardware issues, offers tips for boosting speed and provides 20+ tools to cover most PC maintenance and service needs.
The program comes with more than a dozen features, all designed to help your PC perform at its optimal efficiency. One such feature is the Clean Up tab, which gives you the options to clean up your disk, remove empty folders and duplicate files, clean up the registry, and remove unused programs.
You’ll find Disk Explorer especially helpful. It lists all folders by size, specifying the percentage of disk space each folder occupies. This helps you to know which folders contain large files and delete those that you no longer need.
With Auslogics BoostSpeed, you’ll be surprised how much space you can actually save by deleting PC junk like temp files, Microsoft Office cache, and files left behind by Windows updates.
That’s not all. BoostSpeed also restores your system’s stability by removing corrupt keys and invalid entries from the Windows Registry. Usually, it’s hard to tell if issues are affecting the registry until your system and applications start to freeze and crash unexpectedly. But by then it will be too late. Luckily, with the Auslogics BoostSpeed PC optimization tool, you’ll be at peace knowing that everything is being taken care of.
To ensure that your PC’s performance is always at its best, we recommend scheduling automatic maintenance and have the system auto-cleaned and auto-tuned continuously.
We hope this guide helps you to find a fix for the “OneDrive couldn’t be installed” error. If you have queries, suggestions, or additional info, don’t hesitate to comment below.
How To Fix OneDrive Installation Error Code 0x80040c97 On Windows 10?
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.
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:
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:
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:
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:
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.
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!
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:
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.