How to Fix OneDrive Error 0x8004016c: Upload and Sync Failures
Question details
The user is experiencing OneDrive synchronization failures, missing files, and sign-in problems accompanied by error code 0x8004016c on both the desktop client and web interface.
- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to access, upload, or synchronize files using the OneDrive desktop client and web interface.
- Observed behavior
- Synchronization stops entirely, files appear missing from the web interface, uploads fail, and the desktop client cannot sign in, displaying error code 0x8004016c.
Ensure you have administrative privileges on your computer to run system repairs, and verify that you have a stable internet connection before attempting to fix synchronization errors.
Perform a Quick Repair on Microsoft 365
Running the built-in Microsoft 365 repair tool can fix corrupted application and system files that cause the 0x8004016c OneDrive error.
OneDrive is deeply integrated with Microsoft 365. When core application files become corrupted, OneDrive may fail to communicate with the cloud servers, resulting in sign-in issues and missing files. A Quick Repair scans and replaces these corrupted files without requiring a complete reinstallation.
Restart your computer to clear any stuck background processes or temporary glitches that might be locking OneDrive files.
Right-click the Windows Start menu and select 'Apps and Features' (or 'Installed apps' depending on your Windows version).
Scroll through your installed applications to find 'Microsoft 365' or 'Microsoft Office'. Click on it (or click the three-dot menu icon next to it) and select 'Modify'.
When the repair dialogue box appears, select the 'Quick Repair' option and click 'Repair'. Follow the on-screen prompts to complete the process.
Once the repair finishes, launch the OneDrive desktop app, sign in if prompted, and verify if file access, uploads, and synchronization are working normally again.
Switch to WPS Office for Reliable Cloud Document Management
If you are tired of dealing with continuous synchronization errors like 0x8004016c in Microsoft 365 and OneDrive, consider switching to WPS Office. It provides a highly stable, lightweight office suite paired with a built-in cloud storage solution (WPS Cloud) that seamlessly syncs your documents without heavy resource usage or complex troubleshooting.
- 1. Download and Install: Visit the official WPS website and download the free WPS Office installer for your operating system.
- 2. Sign In to Activate Cloud: Launch the application and create a free WPS account to automatically activate your built-in WPS Cloud storage.
- 3. Open Existing Documents: Drag and drop your existing Microsoft Office files into WPS Office to securely view, edit, and sync them across all your devices.

Frequently Asked Questions
Why am I getting OneDrive error 0x8004016c?
This error typically indicates that your Microsoft 365 or OneDrive installation has experienced a data corruption or synchronization blockage, which prevents the OneDrive client from communicating properly with Microsoft's cloud servers.
Will repairing Microsoft 365 delete my locally saved files?
No. Performing a Quick Repair or an Online Repair from the Apps & Features menu only resets and fixes corrupted application system files. Your personal documents, photos, and local data will remain safe and unaffected.
What if Quick Repair does not fix the OneDrive sign-in issue?
If Quick Repair fails, try running the 'Online Repair' option. If the error persists, you can try resetting the OneDrive app by pressing Windows + R, typing '%localappdata%\Microsoft\OneDrive\onedrive.exe /reset', and pressing Enter.




