How to Reset OneDrive
To reset OneDrive on Windows 11, press Windows key + R, enter %localappdata%\Microsoft\OneDrive\onedrive.exe /reset and select OK, then open OneDrive from Start if it doesn’t come back on its own. Microsoft says you won’t lose files: a reset disconnects your sync connections and resets OneDrive’s settings, then OneDrive runs a full sync.
Try these quick fixes first
- Select the OneDrive cloud icon near the clock and read the status in the panel.
- Resume a paused sync: select Help & Settings > Resume syncing.
- If the icon is gray with a line through it, open OneDrive from Start and sign in.
- Close any files you have open from OneDrive, SharePoint or Teams.
- Quit OneDrive from the Help & Settings menu and reopen it from Start.
- Restart the computer.
Check these things before you reset
A reset disconnects every OneDrive sync connection on the computer, personal and work, and starts the sync over, so a few checks first can save you trouble.
- Select the OneDrive cloud icon. If large files are still uploading, let them finish before you reset.
- Select View online and look for your recent files. If some are missing online, they exist only on this computer for now, so let them upload or call IT first.
- If your company manages OneDrive on this computer, ask IT before you reset. Microsoft says a reset also resets all OneDrive settings, and IT controls some work settings.
- Note which folders you sync under Help & Settings > Settings > Account > Choose folders, and which SharePoint and Teams libraries appear on that tab.
- Save your work and close your files. You may need to sign in to OneDrive again afterward.
Should you unlink this PC instead?
Unlinking disconnects only the account you pick, and Microsoft’s steps for work accounts try it before a reset.
- Save and close your files first. You’ll sign OneDrive out on this computer, though Microsoft says no data is lost.
- Select the OneDrive cloud icon > Help & Settings > Settings > Account.
- Select Unlink this PC, then Unlink account.
- Sign in with your work account when OneDrive asks. If nothing appears, press the Windows key, type OneDrive, and open the app.
- When OneDrive says the folder already exists, select Use this folder.
- Let the sync finish. If the problem is still there, reset OneDrive as described below.
On a Mac, select Help & Settings > Preferences > Account > Unlink this Mac.
Reset OneDrive on Windows 11
Microsoft says a reset can resolve sync problems: OneDrive deletes a data file (its DAT file), builds a new one when it restarts, and then syncs everything again.
- Save your work and close any files you have open from OneDrive.
- Press Windows key + R to open the Run box.
- Type or paste
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset, with a space before/reset, and select OK. - If the OneDrive cloud icon doesn’t come back to the taskbar on its own, press the Windows key, type OneDrive, and open the OneDrive desktop app.
- Sign in with your work account if OneDrive asks.
If you also use a personal OneDrive on this computer, the reset disconnects it too, so check both accounts afterward.
What if Windows says it can’t find the file?
OneDrive can be installed for just your account or for everyone on the computer, so onedrive.exe may be in Program Files instead of your user folder.
- Press Windows key + R again.
- Enter
C:\Program Files\Microsoft OneDrive\onedrive.exe /resetand select OK. - If you still see a “Windows cannot find” message, enter
C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /resetand select OK. - Open OneDrive from Start if it doesn’t restart on its own.
- If none of the three commands works, the OneDrive sync app isn’t installed. Select Start > Settings > Apps and search for OneDrive: the sync app is called Microsoft OneDrive, and the Microsoft Store app called OneDrive doesn’t sync files. On a work computer, ask IT to install the sync app.
Reset OneDrive on a Mac
On a Mac, the reset is a script inside the OneDrive app, and Microsoft uses the same script when OneDrive won’t start.
- Save and close your files. Then select the OneDrive cloud icon in the menu bar, open Help & Settings, and select Quit OneDrive.
- In Finder, open Applications, Control-click OneDrive, and select Show Package Contents.
- Open Contents > Resources.
- Double-click
ResetOneDriveApp.command. If your OneDrive didn’t come from the Mac App Store, double-clickResetOneDriveAppStandalone.commandinstead. - Start OneDrive and finish setup. When it asks for a location, pick the folder you used before, so unchanged files don’t download again.
If those files aren’t there, your OneDrive app is too old to include them. Microsoft’s fix is to replace it with the latest version, which on a work Mac is a job for IT.
What happens after you reset OneDrive?
OneDrive runs a full sync after a reset, so it can stay busy for a long time before it says your files are up to date.
- Sign in with your work email address if OneDrive asks, and complete any verification your company uses.
- If OneDrive says your OneDrive folder already exists, select Use this folder so it reuses the files already on your computer.
- Leave the computer on and online. With many files or a slow connection, OneDrive can show Processing changes for a long time.
- If you synced only some folders before, pick them again under Settings > Account > Choose folders after the sync finishes.
- Check that your SharePoint and Teams libraries still appear on the Account tab. If one is missing, open the library in SharePoint in your browser and select Sync.
On a Mac, look for Preferences where Windows says Settings.
Why does this happen?
- Many sync problems have everyday causes: a paused sync, a signed-out account or a file that’s open.
- Some come from the files themselves, such as a name or path OneDrive can’t use. A reset doesn’t rename anything.
- A full OneDrive or a file type your organization blocks also stops sync, and a reset doesn’t change either one.
- When none of these explain it, OneDrive’s own data on the computer may be the problem. That’s what a reset rebuilds.
Our guide to OneDrive not syncing walks through the other causes.
When should you call IT?
- Windows can’t find
onedrive.exewith any of the three commands, or OneDrive won’t start after the reset. - OneDrive keeps asking you to sign in (see OneDrive stuck on signing in), or its icon shows a red “no entry” circle.
- Files look missing after the reset. Check View online, and don’t delete or move anything.
- Your company manages OneDrive and IT hasn’t approved a reset, or the problem comes back after one.
- Several people have the same sync problem.
- Files have strange new extensions or you see a ransom note. Don’t reset. Stop working on the computer and call right away.
If OneDrive trouble keeps coming back across your team, read about our Microsoft 365 support.
OAC Technology’s IT support team fixes problems like this for businesses across the Twin Cities. Clients can call 952-548-5558, Monday to Friday, 8 a.m. to 6 p.m. Central. Not a client yet? Call the same number or send us a message.
Common questions
Will I lose files if I reset OneDrive?
No. Microsoft says you won’t lose files or data by resetting OneDrive on your computer. The reset disconnects your sync connections and resets OneDrive’s settings, then OneDrive syncs your files again.
How long does a OneDrive reset take?
The full sync afterward takes the longest, and how long depends on how many files you sync and how fast your connection is. Leave the computer on and online until OneDrive says your files are up to date.
What does resetting OneDrive do?
It disconnects every OneDrive sync connection on the computer, personal and work, and resets all OneDrive settings. OneDrive also deletes its DAT file and rebuilds it when it restarts, then runs a full sync.
How do I reset OneDrive on a Mac?
Quit OneDrive, Control-click it in Applications, select Show Package Contents, and double-click ResetOneDriveApp.command in Contents > Resources. Use ResetOneDriveAppStandalone.command if your OneDrive didn’t come from the Mac App Store.
What should I do if OneDrive won’t start?
Press the Windows key, type OneDrive, and open the OneDrive app. If it still won’t start, Microsoft’s fix is to install the latest OneDrive, which on a work computer is a job for IT. On a Mac, Microsoft’s fix is the reset script in this guide.









