Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Resetting Microsoft OneDrive can sometimes resolve sync issues and resets all OneDrive settings. OneDrive will perform a full sync after the reset.

Important: You won't lose any data by resetting OneDrive.

To reset the OneDrive desktop sync app in Windows

  1. Press the Windows key and to open the Run dialog box, enter wsreset.exe, then select OK.

  2. A blank Command Prompt window will open, and after about ten seconds the window will close. You can close the Microsoft Store window.

  3. If OneDrive is still not syncing, press the Windows key and R again.

  4. Copy the exact text below and paste it into the dialog window, then press OK.
    %localappdata%\Microsoft\OneDrive\onedrive.exe /reset

    If you see a "Windows cannot find..." message, copy and paste the text below instead, then press OK.
    C:\Program Files\Microsoft OneDrive\onedrive.exe /reset

    If you see a "Windows cannot find..." message, copy and paste the text below instead, then press OK.
    C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /reset

    Note: If none of these steps work, you do not have the OneDrive sync app installed. Learn more.

  5. Manually restart OneDrive by going to Start , type OneDrive in the search box, and then click on the OneDrive desktop app.

Notes: 

  • Resetting OneDrive disconnects all your existing sync connections (including personal OneDrive and OneDrive for work or school if set up). You won't lose files or data by resetting OneDrive on your computer.

  • If you had chosen to sync only some folders before the reset, you will need to do that again once sync has completed. Read Choose which OneDrive folders to sync to your computer for more information.

  • You will need to complete this for your personal OneDrive and 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?

  1. Press Start  and enter apps:onedrive

  2. Select App settings

  3. Scroll down the list and select Reset.

To reset OneDrive on a Mac

  1. Select the OneDrive cloud icon in the top tray, then select Preferences > Pause > Quit OneDrive.

  2. Find OneDrive in your Applications folder.

  3. Control-click OneDrive and select Show Package Contents.

  4. Navigate to the Contents > Resources folder.

  5. Double-click ResetOneDriveApp.command (or ResetOneDriveAppStandalone.command, if you're using the standalone app).

  6. 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 folders before the reset, you will need to do that again once sync has completed. Read Choose which OneDrive folders to sync to your computer for more information.

    • You will need to complete this for your personal OneDrive and 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 OneDrive on Android

The best way to reset the app it to uninstall and reinstall it.

  1. Open Settings.

  2. Select Applications.

  3. Tap Manage Applications.

  4. Find and tap OneDrive.

  5. Tap Force Stop and then tap Clear data and Clear cache.

  6. Once completed, uninstall the app.

  7. Reinstall the app from Google Play.

To reset OneDrive on iOS

The best way to reset the app it to uninstall and reinstall it.

  1. Uninstall the OneDrive app by pressing and holding the OneDrive app icon. Tap the 'X' in the corner and then accept the confirmation message to delete it.

  2. 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.

  3. 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 settings and re-builds the DAT file.

You won't lose any data by resetting OneDrive.

Need more help?

Contact support icon

Contact Support
For help with your Microsoft account and subscriptions, visit Account & Billing Help.

For technical support, go to Contact Microsoft Support, enter your problem and select Get Help. If you still need help, select Contact Support to be routed to the best support option.

Work or school badge

Admins
Admins should view Help for OneDrive Admins, the OneDrive Tech Community or contact Microsoft 365 for business support.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×