Home » How To » How to Reset OneDrive on Windows

How to Reset OneDrive on Windows

Facing sync problems with OneDrive on Windows? A simple reset can often resolve the problem. In this tutorial, we’ll show you the simplest way to reset OneDrive. Let’s get started.

Note: Resetting OneDrive will not cause data loss and is perfectly safe.

Steps to Reset OneDrive

If OneDrive is running, you need to close it before resetting. To do that, right-click on the OneDrive icon in your system tray, then choose Pause Syncing and Quit OneDrive. This will close OneDrive.

After closing OneDrive, press Windows key + X and choose the Terminal (Admin) option to open Windows Terminal with admin rights. Next, click on the downward arrow icon on the title bar and choose Command Prompt.

open Windows terminal as admin Windows 11

Inside the terminal, copy and paste the following command and hit Enter to reset OneDrive.

%localappdata%\Microsoft\OneDrive\onedrive.exe /reset
reset OneDrive command

If the command is successful, you won’t see any confirmation message. But if you get an error, the OneDrive file path on your computer might be different. Try the below commands:

"C:\Program Files (x86)\Microsoft OneDrive\OneDrive.exe" /reset

or

"C:\Program Files\Microsoft OneDrive\OneDrive.exe" /reset

Alternatively, you can manually find the correct OneDrive path and update the command accordingly. To do this, press the Start key on your keyboard and search for OneDrive. Right-click on it and select Open File Location.

right-click on OneDrive application result and choose open file location

In the Start menu folder, locate the OneDrive shortcut file, right-click on it, and choose the Open File Location option to open OneDrive’s exe file location.

right-click on OneDrive file and choose open file location

To copy the path, click on the File Explorer’s address bar, select the entire path, and press Ctrl + C. Then use this path to update the command like so:

C:\Your\Copied\Path\onedrive.exe /reset
OneDrive path

After resetting, open OneDrive from the Start menu and it should open normally.

If resetting didn’t work, you can reinstall OneDrive as a last resort.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top