How to Reset OneDrive on Windows (Quick Command Guide)


onedrive reset command
XINSTALL BY CLICKING THE DOWNLOAD FILE
A message from our partner

For fixing Windows errors, we recommend Fortect:

Fortect will identify and deploy the correct fix for your Windows errors. Follow the 3 easy steps to get rid of Windows errors:

  • Download Fortect and install it on your PC
  • Launch the tool and Start scanning your PC for Windows errors
  • Right-click on Start Repair to deploy the right fix for each error encountered during the scan
Download Now Fortect has been downloaded by 0 readers this month, rated 4.6 on TrustPilot

If OneDrive is stuck, not syncing, or will not launch, a quick OneDrive reset command can bring it back to life. It takes seconds and often clears stubborn errors without affecting your files.

How can I use the OneDrive reset command?

1. Run the reset command

  1. Press Windows + R to open the Run dialog.
    run window on windows 11
  2. Copy and paste the command below, then press Enter: %localappdata%\Microsoft\OneDrive\onedrive.exe /reset
    run window onedrive reset command

This closes OneDrive and reloads it with default settings.

We also have a complete guide on fixing OneDrive stuck on signing in, so don’t miss it for more information.

2. Confirm syncing

  1. Check that files start syncing and recent changes appear.
  2. If issues continue, sign out and sign back into your Microsoft account.

Having trouble signing in after a reset? Use our OneDrive login guide to reconnect your account quickly and resume syncing.

When should I use the reset command?

FAQs

Why should I reset OneDrive on Windows?

Resetting OneDrive helps fix sync issues, missing files, or problems with the app not starting. It clears the local cache and reconnects your account without deleting files stored in the cloud.

How do I reset OneDrive on Windows?

Press Windows + R, type %localappdata%\Microsoft\OneDrive\onedrive.exe /reset, and hit Enter. This will restart the OneDrive client and re-sync your files automatically.

Will resetting OneDrive delete my files?

No. Resetting only refreshes the connection between your PC and the OneDrive cloud. Your files remain safe online and will sync again once the app restarts.

What should I do if OneDrive doesn’t start after reset?

If OneDrive fails to open, run %localappdata%\Microsoft\OneDrive\onedrive.exe manually or reinstall the app from the Microsoft Store to restore normal functionality.

Resetting clears cached settings without deleting your files, which makes it one of the fastest ways to fix persistent OneDrive problems.

More about the topics: onedrive

Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

User forum

0 messages