OneDrive
Troubleshoot
Troubleshoot
Reset OneDrive
Resetting Microsoft OneDrive can sometimes resolve sync issuesand resets allOneDrive settings. OneDrive will perform a full sync after the reset.
Important:You won't lose any data by resettingOneDrive.
WindowsMacAndroidiOS
To reset theOneDrivedesktop sync app in Windows
-
Press theWindowskey andRto open the Run dialog box, enterwsreset.exe, then selectOK.
-
A blank Command Prompt window will open, and after about ten seconds the window will close. You can close the Microsoft Store window.
-
If OneDrive is still not syncing, press theWindowskey andRagain.
-
Copy the exact textbelow and paste it into the dialog window, then press OK.
%localappdata%\Microsoft\OneDrive\onedrive.exe /resetIf you see a "Windows cannot find..." message, copy and paste the text belowinstead, then press OK.
C:\Program Files\Microsoft OneDrive\onedrive.exe /resetIf you see a "Windows cannot find..." message, copy and paste the text belowinstead, then press OK.
C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /resetNote:If none of these steps work, you do not have the OneDrive sync app installed. Learn more.
-
Manually restartOneDrive by going to Start, type OneDrive in the search box, and then click on theOneDrivedesktop app.
Notes:
-
Resetting OneDrive disconnects all your existing sync connections (including personalOneDriveand OneDrive for work or schoolif set up).You won't lose files or data by resettingOneDrive on your computer.
-
If you had chosen to sync only some foldersbefore the reset, you will need to do that again once sync has completed. ReadChoose which OneDrive folders to sync to your computerfor more information.
-
You will need to complete this for your personalOneDriveand OneDrive for work or school.
To reset the OneDrive store app in Windows
Tip:If you're not sure which OneDrive app you have, read Which OneDrive app do I have?
-
PressStartand enter apps:onedrive
-
Select App settings
-
Scroll down the list and select Reset.
To reset OneDriveon a Mac
-
Selectthe OneDrive cloud icon in the top tray, then select Preferences> Pause > Quit OneDrive.
-
Find OneDrive in your Applications folder.
-
Control-click OneDrive and select Show Package Contents.
-
Navigate to the Contents > Resources folder.
-
Double-click ResetOneDriveApp.command (or ResetOneDriveAppStandalone.command, if you're using the standalone app).
-
Start OneDrive and finish the setup process.
Notes:
-
When choosing location, remember to select the previous OneDrive syncing location. This means your files won’t be downloaded again if they haven’t changed.
-
If you had chosen to sync only some foldersbefore the reset, you will need to do that again once sync has completed. ReadChoose which OneDrive folders to sync to your computerfor more information.
-
You will need to complete this for your personalOneDriveand OneDrive for work or school.
-
Make sure you're using an updated version of the OneDrive app. Some older versions of the app don't have the reset commands. In that case, drag your old app to the Trash and then install the latest OneDrive app.
-
To reset OneDriveon Android
The best way to reset the app it to uninstall and reinstall it.
-
Open Settings.
-
Select Applications.
-
Tap Manage Applications.
-
Find and tap OneDrive.
-
Tap Force Stop and then tap Clear data and Clear cache.
-
Once completed, uninstall the app.
-
Reinstall the app from Google Play.
To reset OneDriveon iOS
The best way to reset the app it to uninstall and reinstall it.
-
Uninstall the OneDrive app by pressing and holding the OneDrive app icon. Tap the 'X' in the cornerand then accept the confirmation message to delete it.
-
Perform a “soft reset” by pressing and holding both the Sleep/Wake and Home buttons simultaneously for at least 10 seconds until you see the Apple logo. You can let go of both buttons after the Apple logo appears.
-
Reinstall the OneDrive app from the App Store.
During a reset, OneDrive does the following:
-
Deletes the DAT file.
-
Stores the application logs in the registry.
-
Stores the settings on the disk.
When OneDrive restarts, it checks with the registry to confirm the reset has taken place and then loads the settingsand re-builds the DAT file.
You won't lose any data by resettingOneDrive.
Need more help?
| Contact Support For technical support, go to Contact Microsoft Support, enter your problem and select Get Help. If you still need help, selectContact Supportto be routed to the best support option. | |
| Admins |
Need more help?
Want more options?
Discover Community
Explore subscription benefits, browse training courses, learn how to secure your device, and more.
Microsoft 365 subscription benefits
Microsoft 365 training
Microsoft security
Accessibility center
Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.