Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Reset OneDrive on Windows, Mac, Android, iOS

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Resetting OneDrive clears sync glitches, fixes stuck uploads, and re-syncs your files without deleting them. The exact steps differ by device, but the core idea is the same: stop the app, clear its local cache or reset it, then sign back in. You'll need your Microsoft account password and a stable internet connection. Below are the steps for each platform.

What You'll Need

  • Your Microsoft account email and password
  • A stable internet connection
  • For Windows: access to the OneDrive icon in the system tray (bottom-right)
  • For Mac: access to the OneDrive menu bar icon
  • For Android/iOS: the OneDrive app installed from the official app store

Step-by-Step

Windows

  1. Right-click the OneDrive cloud icon in the system tray (near the clock). If you don't see it, click the up arrow to show hidden icons.
  2. Select Settings from the menu.
  3. In the Settings window, go to the Account tab.
  4. Click Unlink this PC. This disconnects OneDrive from your PC but does not delete your files.
  5. Confirm when prompted. OneDrive will close.
  6. Open the Start menu, type OneDrive, and press Enter to relaunch it.
  7. Sign in with your Microsoft account. The setup wizard will ask where to store your OneDrive folder—choose the default location unless you have a reason to change it.
  8. Once signed in, OneDrive will re-sync your files. This may take a while depending on how many files you have.

Alternative reset (if the above doesn't work): Press Windows + R, type %localappdata%\Microsoft\OneDrive\onedrive.exe /reset, and press Enter. This resets the app without unlinking. Wait a few minutes, then relaunch OneDrive from the Start menu.

Mac

  1. Click the OneDrive cloud icon in the menu bar (top-right).
  2. Click the gear icon and select Preferences.
  3. Go to the Account tab.
  4. Click Unlink This Mac and confirm.
  5. Quit OneDrive (right-click the icon and choose Quit).
  6. Open Finder, go to Applications, and double-click OneDrive to relaunch it.
  7. Sign in with your Microsoft account and follow the setup prompts.

Alternative reset: In Finder, press Cmd + Shift + G and type ~/Library/Application Support/OneDrive. Look for a file named resetOneDriveApp.command and double-click it. This runs a script that resets the app without unlinking.

Android

  1. Open the OneDrive app.
  2. Tap your profile picture (top-left) to open the menu.
  3. Tap Settings (gear icon).
  4. Scroll down and tap Sign out. Confirm.
  5. After signing out, go to your device's Settings > Apps (or App Manager) and tap OneDrive.
  6. Tap Storage (or Storage & cache) and then Clear storage (or Clear data). This clears the app's local cache and settings but does not delete your cloud files.
  7. Reopen OneDrive and sign in again. Your files will re-sync.

iOS (iPhone/iPad)

  1. Open the OneDrive app.
  2. Tap your profile picture (top-left).
  3. Tap Settings (gear icon).
  4. Scroll down and tap Sign out. Confirm.
  5. After signing out, go to your device's Settings > General > iPhone Storage (or iPad Storage).
  6. Tap OneDrive and then tap Offload App. This removes the app but keeps its documents and data.
  7. Tap Reinstall App (or download OneDrive again from the App Store).
  8. Open OneDrive and sign in. Your files will re-sync.

Common Mistakes

  • Deleting files instead of resetting: Some users delete the OneDrive folder, which can delete files from the cloud if the folder is set to sync. Always use the official reset or unlink method.
  • Skipping the sign-out step: On mobile, just clearing the app's data without signing out first can leave a stale token that causes issues. Always sign out first.
  • Not waiting for re-sync: After resetting, OneDrive needs time to re-scan and re-upload/download files. Interrupting it can cause errors.
  • Using the wrong reset command on Windows: The /reset command only works if the path is correct. If you have a 64-bit system, the path might be %localappdata%\Microsoft\OneDrive\onedrive.exe (without the space). Check the actual folder name.

Tips

  • Before resetting, ensure your files are fully synced (look for the green checkmark on the cloud icon). This avoids confusion about what's current.
  • If you have a lot of files, do the reset during a time when you don't need the computer for a while.
  • After resetting, consider pausing sync temporarily if you're on a metered connection, to control when the re-sync happens.
  • For persistent issues, try signing out and back in first—it's less invasive than a full reset.

Troubleshooting

If the reset doesn't fix the problem:

  • Restart your device. A simple reboot clears many temporary glitches.
  • Update OneDrive. Make sure you have the latest version. On Windows, check the Microsoft Store; on Mac, check the App Store; on mobile, check the respective app store.
  • Check Microsoft's service status. If OneDrive is having a service outage, a reset won't help. Visit the Microsoft 365 Service Status page (or the OneDrive status page) to see if there's a known issue.
  • Check your internet connection. OneDrive needs a stable connection to sync. Try a different network or restart your router.
  • If you still have issues after a reset, try a full reinstall of the app. On Windows, uninstall OneDrive via Settings > Apps, then download it from Microsoft's website. On Mac, drag it to the Trash and reinstall from the App Store. On mobile, uninstall and reinstall from the app store. This is more thorough but will remove all local settings.

Frequently Asked Questions

Will resetting OneDrive delete my files?

No. Resetting or unlinking only clears the local app's connection and cache. Your files remain in the cloud and will re-download when you sign back in.

How long does it take to re-sync after a reset?

It depends on the number of files and your internet speed. Small accounts may take minutes; large ones can take hours. You can check progress in the OneDrive activity center.

Can I reset OneDrive without losing my local files?

Yes. Unlinking or using the reset command does not delete your local OneDrive folder. However, if you choose a different folder during setup, the old folder will remain but won't sync.

Why does OneDrive keep asking me to sign in after reset?

This can happen if you have multiple Microsoft accounts or if the reset didn't fully clear the credentials. Try signing out of all accounts, then sign in with the one you want.

Is there a way to reset OneDrive on Android without clearing data?

You can try signing out and back in first. If that doesn't work, clearing the app's data is the standard reset method. It doesn't delete your cloud files.

What should I do if the OneDrive icon is missing from the system tray?

Click the up arrow to show hidden icons. If it's still not there, OneDrive may not be running. Search for OneDrive in the Start menu and launch it manually.