How to Fix OneDrive Cannot Update or Uninstall on Windows
Question details
The user is unable to update or uninstall the OneDrive client due to missing installation files (OneDriveSetup.exe) and conflicts where the installer incorrectly detects a newer version.

- Product
- Microsoft OneDrive
- Device & OS
- Windows (including Windows 10 22H2)
- Scenario
- Attempting to update or completely remove the OneDrive application from a Windows PC.
- Observed behavior
- Windows fails to find OneDriveSetup.exe during uninstallation, and installing the latest client results in an error stating a newer version is already installed, persisting even after updates and restarts.
Before proceeding, ensure your locally synced files are backed up to a different folder. Since troubleshooting may involve registry modifications, it is highly recommended to create a System Restore point first.
Install the Latest Windows Quality Update (Recommended for Windows 10 22H2)
Certain versions of Windows 10 have known bugs with updating or uninstalling packaged apps. Installing the specific patch resolves this instantly.
Windows 10 version 22H2 has a documented issue that prevents packaged applications like OneDrive from updating or uninstalling properly. Microsoft has released specific updates (such as KB5046714) to address this bug.
Press the Windows key + I to open Settings, then navigate to 'Update & Security' and select 'Windows Update'.
Click 'Check for updates' and look specifically for KB5046714 or newer cumulative updates for your Windows version.
Allow the update to download and install, then completely restart your computer and attempt to uninstall OneDrive again.

Manually Uninstall OneDrive via Command Prompt and Registry Edit
Force the uninstallation by locating the correct setup executable and removing obsolete registry entries blocking the process.
Test OneDrive in a New Windows User Profile
Determine if the uninstallation issue is isolated to a corrupted configuration within your current user account.
Enhance Your Productivity with WPS Office
If you are dealing with frequent Microsoft service errors like OneDrive syncing or uninstallation issues, consider streamlining your workflow with WPS Office. It provides a lightweight, highly compatible, and free alternative to Microsoft Office, integrating smoothly with multiple third-party cloud drives so you aren't locked into a single ecosystem.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for your Windows PC.
- 2. Install the Software: Run the installer. The lightweight design ensures it takes up minimal space and installs very quickly without bloated background services.
- 3. Connect Your Preferred Cloud: Open WPS Office and easily connect your preferred cloud storage provider to safely save and sync your documents outside of OneDrive.

Frequently Asked Questions
Why does Windows say a newer version of OneDrive is already installed?
This typically occurs when a previous installation was interrupted or corrupted, leaving orphaned registry keys behind. The Windows installer reads these leftover registry entries and mistakenly assumes the newer version is still present on the system.
Will I lose my files if I force uninstall OneDrive?
No. Uninstalling or resetting the OneDrive desktop application only removes the software client. Your personal files remain safely stored in the cloud online, and any previously synced files remain in the local OneDrive folder on your hard drive.
Where can I find OneDriveSetup.exe on my Windows PC?
If you installed it system-wide, it is usually located in 'C:\Program Files\Microsoft OneDrive\'. If installed just for your user profile, it can be found at 'C:\Users\[YourUsername]\AppData\Local\Microsoft\OneDrive\'. Ensure you have hidden items checked in File Explorer to see the AppData folder.




