OneDrive reinstall

CMD prompt as administrator

Run the following commands from an elevated privilege.

netsh int ip reset
netsh winsock reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns
shutdown /r

After restart again with cmd as administrator:

taskkill /f /im OneDrive.exe

%SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall

Delete OneDrive folder cache

OneDrive cache location: C:\Users\%username%\AppData\Local\OneDrive

Delete the temporary files in the following folders:

  1. C:\Users\%username%\AppData\Local\Temp
  2. C:\Users\%username%\AppData\LocalLow\Temp
  3. C:\Windows\Temp

Note: It’s OK if some files you can’t delete in the Temp folder.

Go to RegEdit on this path: HKEY_CURRENT_USER\Software\Microsoft\OneDrive
You can remove all folders that include One Drive version
Account folders also can be removed

Reboot your computer

Download and install OneDrive https://www.microsoft.com/en-us/microsoft-365/onedrive/download

 

 

Comments are closed.