How to Reset OneDrive Sync on Windows 11
Resetting OneDrive sync clears stuck files and fixes broken connections between your PC and Microsoft’s cloud storage. OneDrive is the built-in app that backs up your desktop and documents, keeping them safe online and across all your devices.
A reset takes less than two minutes and fixes problems like a red X on the taskbar icon or files that stop updating to the web. This process clears out broken app data and restarts the service without deleting any of your actual files.
Press Win+R, then enter 📂%localappdata%\
What happens when you reset?
Resetting OneDrive sync won’t delete your files, but it does start a fresh scan to compare what’s on your computer with what’s in the cloud.
Resetting on Windows
Method 1Reset using the Run command
You can reset OneDrive sync using the Run command on Windows 11 without needing administrator rights. This built-in method clears out corrupted settings and restarts the background sync engine, which fixes files that are stuck or won’t upload. Pressing the keyboard shortcut opens the execution box where you paste the reset command.
- Press the Win+R on your keyboard to open the Run box.

- Copy and paste the following command into the box and click OK:
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset
The OneDrive icon on your taskbar will disappear for a few minutes. It’ll reappear and start syncing your files again.
Method 2Reset the OneDrive Store app
For the Microsoft Store version of OneDrive, you can reset it through your settings. This does not require admin privileges.
- Click the Start button.
- Search for OneDrive.
- Right-click the app and select App settings.

- In the window that opens, scroll down and click the Reset button.

Resetting on macOS
You can reset OneDrive sync on macOS by quitting the application and running the built-in reset command through the terminal or application folder. This process forces the cloud storage app to reconfigure its connection and rebuild the local file index, which fixes syncing errors and stuck folders on your Mac.
- Quit OneDrive by clicking the cloud icon in the top menu bar and selecting Quit OneDrive.
- Open your Applications folder.
- Find the OneDrive app, right-click it, and select Show Package Contents.
- Navigate to Contents > Resources.
- Double-click the ResetOneDriveApp.command file.
Resetting on Android and iOS
You can reset OneDrive sync on Android and iOS devices by clearing the temporary app cache or reinstalling the mobile application. These troubleshooting steps clear out bad login tokens and corrupted local files, forcing the app to download a fresh copy of your cloud file list.
- Open your device Settings.
- Go to Apps or Application Manager.
- Find OneDrive in the list.
- Select Storage and tap Clear Cache or Clear Data.
- If the issue persists, uninstall and reinstall the app from the App Store or Google Play Store.
Common OneDrive Error Codes
OneDrive error codes like 0x8004de40, 0x8004de85, and 0x8004de8a usually point to specific network connection failures, account sign-in problems, or file permission conflicts. Recognizing these error numbers helps you quickly apply the right fix, such as checking your internet connection or signing back into your account.
Summary
Resetting OneDrive sync fixes file update problems by starting a new connection to the cloud. This process does not delete your saved files.
Will resetting OneDrive delete my files?
No, resetting OneDrive does not delete your files. It only resets the sync settings and the local cache. Your files remain safe in the cloud and on your local drive. The app checks local files against the cloud during the next sync cycle to make sure everything matches.
How long does a OneDrive reset take?
How long does a OneDrive reset take?
Expect anywhere from a few minutes to an hour or more, depending on your total file count.
What should I do if resetting OneDrive doesn't fix the sync issue?
If a reset fails, check your internet connection and ensure you have enough storage space. You may also need to check for Windows updates or reinstall the OneDrive app entirely. If the problem persists, visit the official Microsoft support portal to check for known service outages in your region.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
I copied this line in %localappdata%\Microsoft\OneDrive\onedrive.exe /reset to reset my onedrive. Nothing happened. It still says it is trying to sync and never disappeared like the instructions said it would. It just continues (after days) of letting it run to say it is trying to sync but does not make any progress. I did get an email on my phone that says onedrive was finished backing up files but that is not what I see when I open onedrive. It still says it is trying to sync.
yeah solution does not work
I had to dig a bit to get the correct path for my puter. The principle is the same though. The command I used is:
C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /reset
I’m on Win11.
[…] If you encounter a problem using the OneDrive app, you can reset it allowing you to clear settings and resync all your files. […]
[…] you install OneDrive on Windows 11, it automatically adds its icon to the taskbar. You can right-click the OneDrive app icon in the […]