How to Fix OneDrive Error Code 0x80070070 (Not Enough Disk Space)
Question details
The user is unable to complete the installation of Microsoft OneDrive because the system returns error code 0x80070070.

- Product
- Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- Installing or updating the OneDrive desktop application on a PC.
- Observed behavior
- The installation process halts and displays error code 0x80070070, which indicates that there is insufficient disk space on the drive to complete the setup.
Verify that you are downloading the OneDrive installer directly from the official Microsoft website, and ensure you have administrative privileges to manage and delete files on your PC.
Free Up Disk Space Using Windows Storage Settings
Use built-in Windows tools to safely clear temporary files and create enough room for the OneDrive installation.
Error 0x80070070 almost exclusively occurs when your primary system drive (usually the C: drive) is full. Clearing out cached updates and temporary files is the safest way to reclaim space without losing personal data.
Press the Windows key + I on your keyboard to open Windows Settings. Navigate to 'System' and then click on 'Storage' in the left-hand menu.
Click on 'Temporary files' under your local disk usage. Windows will take a moment to scan and calculate how much space can be freed up.
Check the boxes next to the items you want to delete, such as 'Windows Update Cleanup', 'Recycle Bin', or 'Downloads'. Click the 'Remove files' button at the top of the list.
Once the disk space is cleared, locate your OneDrive installer file, double-click it, and restart the installation process.

Manually Empty the Recycle Bin
A quick method to free up significant space if you have recently deleted large files but haven't permanently cleared them.
Try WPS Office for Seamless and Lightweight Document Management
If your PC is constantly running out of disk space, installing heavy software can be frustrating. Consider trying WPS Office as an alternative. It is a highly efficient, free office suite that requires significantly less storage space while offering full compatibility with Microsoft Office formats.
- 1. Visit the Official Website: Go to the WPS Office website to download the free, lightweight installer.
- 2. Run the Installer: Double-click the downloaded file and follow the quick installation prompts.
- 3. Start Creating: Open WPS Office and instantly view, edit, or create documents with ease.

Frequently Asked Questions
Why does OneDrive need extra space just to install?
During the installation process, the OneDrive setup program needs to download the installer, extract compressed temporary files, and then write the final application files to your system drive. This temporary extraction requires extra disk space beyond the final size of the application.
Can I install the OneDrive application on my D: drive to avoid this error?
The core OneDrive desktop application must be installed on your primary system drive (usually the C: drive) by default. However, after the application is successfully installed, you can choose to locate your actual OneDrive sync folder on a different drive or partition to save space.
What if I have cleared enough space but error 0x80070070 still occurs?
If you have verified that there are several gigabytes of free space on your C: drive and the error persists, try restarting your computer. If that does not work, run the installer as an administrator by right-clicking the setup file, or download a fresh copy of the installer directly from the Microsoft website.




