OneDrive Won't Install or Uninstall? Fix It Now
In this article
If OneDrive won't install or uninstall, the fix is usually to stop the running process, clear leftover files, and re-register the app using built-in Windows tools. This guide walks you through the safe, official methods to get OneDrive installing or uninstalling again, without third-party uninstallers or registry hacks.
What You'll Need
- A Windows 10 or Windows 11 PC with administrator rights.
- Your Microsoft account email and password (for signing back in).
- A stable internet connection.
- The official OneDrive installer from Microsoft's website (if you need to reinstall).
Note: Menu labels and exact wording can differ slightly between Windows versions and regions. The steps below are written for Windows 10 and 11; on older versions, some options may be named differently.
Step-by-Step
- Close OneDrive and stop its process. Right-click the OneDrive cloud icon in the notification area (system tray) and choose Close or Quit OneDrive. If the icon is missing, open Task Manager with Ctrl+Shift+Esc, go to the Details tab, find OneDrive.exe, and click End task.
- Try the built-in uninstaller again. Open Settings > Apps > Installed apps (Windows 11) or Settings > Apps > Apps & features (Windows 10). Find Microsoft OneDrive, click the three-dot menu or select it, and choose Uninstall. If it fails with an error, continue to the next step.
- Run the Microsoft Program Install and Uninstall troubleshooter. Download the official troubleshooter from Microsoft's support site (search for "Program Install and Uninstall troubleshooter"). Run it, choose Uninstalling, select Microsoft OneDrive from the list, and follow the prompts. This tool repairs corrupted registry keys that block uninstallation.
- Manually remove leftover OneDrive folders (only if the troubleshooter fails). Warning: this deletes local OneDrive files that are not backed up. Before proceeding, make sure any important files are saved elsewhere or synced to the cloud. Open File Explorer, go to
C:\Users\YourName\AppData\Local\Microsoftand delete the OneDrive folder. Also checkC:\Program Files\Microsoft OneDriveandC:\Program Files (x86)\Microsoft OneDriveand delete those folders if present. Empty the Recycle Bin afterward. - Restart your PC. A restart clears file locks and finishes any pending removal.
- Reinstall OneDrive using the official installer. Go to Microsoft's OneDrive download page and download the Windows version. Run the installer and sign in with your Microsoft account. If the installer fails, right-click it and choose Run as administrator.
- If installation still fails, reset the OneDrive folder permissions. Right-click your user folder (e.g.,
C:\Users\YourName), choose Properties > Security > Advanced, and ensure your account has Full control. Click Apply and retry the installer. - Check for Windows updates. Go to Settings > Windows Update and install any pending updates. Some OneDrive issues are fixed by cumulative updates.
Common Mistakes
- Deleting the OneDrive folder without backing up files. Local files that haven't synced will be lost. Always verify your cloud backup first.
- Using third-party uninstallers. These can remove shared system files and break other apps. Stick to Windows Settings or Microsoft's own troubleshooter.
- Ignoring the system tray. OneDrive often keeps running in the background; ending the process is essential before uninstalling.
- Reinstalling from a random download site. Always use the official Microsoft download to avoid bundled malware.
- Skipping the restart. Many install/uninstall failures persist until the system reboots.
Tips
- Before uninstalling, note your OneDrive folder location (right-click the cloud icon > Settings > Account) so you can relink it later.
- If you use OneDrive for work or school, sign out of your work account first to avoid sync conflicts.
- Keep at least 1 GB free on your system drive; low disk space can cause installer errors.
- Run the installer as administrator if you see permission errors.
- After reinstalling, check Settings > Apps > Startup to ensure OneDrive is allowed to start with Windows if you want automatic sync.
Troubleshooting
If OneDrive still won't install or uninstall, work through these checks in order:
- Check Microsoft's service status. Visit the Microsoft 365 status page to see if OneDrive is experiencing an outage. If so, wait and retry later.
- Create a new user account. A corrupted user profile can block installation. Create a temporary local admin account, sign in, and try installing OneDrive there. If it works, migrate your files and settings.
- Run the System File Checker. Open Command Prompt as administrator and run
sfc /scannow. This repairs damaged Windows system files that OneDrive depends on. - Use the Windows Store version as an alternative. If the desktop installer fails, you can install OneDrive from the Microsoft Store (search for "OneDrive"). Note that the Store version may have slightly different features.
- Check for conflicting security software. Temporarily disable third-party antivirus or firewall (re-enable afterward) and retry. Some security suites block OneDrive's installer.
- Reset OneDrive. Press Win+R, type
%localappdata%\Microsoft\OneDrive\onedrive.exe /resetand press Enter. Wait for the icon to reappear, then try again. This does not delete your files.
If none of these work, contact Microsoft Support with the exact error message you see.
Frequently Asked Questions
Why does OneDrive say "uninstall" is greyed out?
On some Windows editions, OneDrive is integrated and the uninstall option is disabled. Use the Program Install and Uninstall troubleshooter or manually remove the folders as described above.
Will uninstalling OneDrive delete my files?
No, your files remain in the cloud. However, any files that haven't synced locally will be removed from your PC. Always back up important local files first.
Can I reinstall OneDrive without losing settings?
Yes. Your settings are tied to your Microsoft account. After reinstalling and signing in, your preferences (like folder backup) are restored.
Does OneDrive come preinstalled on Windows?
Yes, OneDrive is included with Windows 10 and 11. If you uninstall it, you can reinstall it later using the official installer.
What if the installer says "OneDrive is already installed"?
This means a previous version wasn't fully removed. Run the troubleshooter to clean up remnants, then restart and try again.
Is it safe to delete the OneDrive folder manually?
Only after confirming all files are backed up. Deleting the folder removes local copies; cloud files are unaffected.