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.