OneDrive cloud storage feature is integrated into Windows 10 and 11. When the OneDrive app is running it automatically syncs files and folders in the background. If you encounter syncing issues with OneDrive, you may want to reset it completely using the hidden OneDrive.exe
/reset command-line switch.
Reset OneDrive in Windows 10 or 11
If OneDrive synchronization gets stuck, performing a OneDrive reset may help. Resetting OneDrive re-syncs all your OneDrive files, which could take considerable time and bandwidth depending on how many files you’re syncing.
- First, close the OneDrive app. To do so, right-click on the OneDrive cloud icon in the Notification area, and click Exit.
Note: You may need to click the Show hidden icons chevron near the notification area in order to see the OneDrive icon.
- Press WinKey + R to bring up the Run dialog.
- In the Run command dialog, type/paste the following command:
- Press ENTER.
- This resets OneDrive. If OneDrive doesn’t start automatically after the reset, launch it manually by running:
If that does not help, you may try uninstalling and reinstalling OneDrive.
Uninstall and Reinstall OneDrive
OneDrive desktop application is a built-in component in Windows 10 and 11. Users who rely on a third-party cloud storage service such as Dropbox or Google Drive, usually uninstall the OneDrive desktop app or prevent it from loading at startup using Task Manager or disable OneDrive using Group Policy Editor or the equivalent registry-based setting.
In early builds of Windows 10, uninstalling the OneDrive desktop client required running OneDriveSetup.exe in the
Windows\SysWOW64 directory (Windows 64-bit) or
Windows\System32 (Windows 32-bit), with the
Now, you can uninstall OneDrive from the Apps & Features Settings page or via Programs and Features (
appwiz.cpl) in the Control Panel.
The “Uninstall” option and the corresponding registry entry may have been added by OneDrive version 17.3.6720.1207. The related registry entry is here:
And the UninstallString points to the following file:
Of course, the version number in the UninstallString will change for subsequent OneDrive client updates.
If you later decide to reinstall OneDrive, run OneDriveSetup.exe and follow the onscreen instructions. In some systems there is an additional copy of the file left in the following directory:
C:\Users\%username%\AppData\Local\Microsoft\OneDrive\Update\OneDriveSetup.exe (or) C:\Windows\SysWOW64\OneDriveSetup.exe
If the file doesn’t exist in the above location, run OneDriveSetup.exe located at the
Windows\System32 directory. This setup package may not be the latest one, but it downloads the current version installer from Microsoft’s servers and runs it.
Alternatively, you can download the latest version of the OneDrive client from the Microsoft site.
Download the OneDrive App for PC, Mac, Android, or iOS – Microsoft OneDrive: https://www.microsoft.com/en-us/microsoft-365/onedrive/download
After installing OneDrive, you may check the current OneDrive client version if you want. Click the OneDrive cloud icon in the notification area and select More > Settings. Select the About tab and see the version number under About Microsoft OneDrive.