How to Fix Error "OneDrive couldn't be installed (Error Code 0x80040c97)"


Try to install OneDrive on your Windows 10 computer, and you receive a confirmation that shows the error message OneDrive couldn't be installed (Error Code 0x80040c977). This article will help you solve this problem. In this article, I have listed the potential causes and offered some of the most suitable solutions for the problem.

When you encounter this OneDrive error, you will receive a complete error message like the following.

Microsoft OneDrive Setup

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)

This error occurs due to several main causes related to corrupted setup files, damaged certificates, problems with the Windows registry, third-party software, and Windows Firewall.

Fix Error OneDrive couldn't be installed (Error Code 0x80040c97)

If you are faced with this problem, you can try the solutions I recommended below in no particular order and see if it helps you solve this problem.

1. Reset OneDrive

This solution requires that you reset your OneDrive and see if that helps resolve this error. To reset OneDrive in Windows 10, follow these steps.

Press the Win key + R, then enter the command below and press Enter.

%localappdata%\Microsoft\OneDrive\onedrive.exe /reset

You'll see the OneDrive icon in the notification disappear and then reappear.

This may take a while to run, but once the process is complete, your OneDrive apps and settings will now reset to their default values.

If the OneDrive cloud icon doesn't reappear after a minute or two, open the Run box (Win + R), enter the following command, and press Enter.


2. Reinstall OneDrive

Reinstall OneDrive by preparing the installer file first.

3. Install OneDrive Previous Version

If resetting and reinstalling OneDrive didn't work for you, the problem is most likely related to version compatibility between Windows 10 Build & Microsoft OneDrive.

It has been reported that a recent update to OneDrive may be causing the error. In this case, you can download and install an earlier version of OneDrive. You can try previous versions before version 19.152.0801.0008 and go ahead and see which one works without any problems.

That's it for this tutorial. Hopefully, it can help you. Don't forget to leave your comments below to share your experiences in following this tutorial. Thank you.