Reset OneDrive

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

You won't lose any data by resetting or uninstalling 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 this 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 this instead, then press OK.
    C:\Program Files\Microsoft OneDrive\onedrive.exe /reset
     

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

  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.