To reset the OneDrive desktop sync app in Windows

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

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

 

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