Windows

How to Reset OneDrive Sync on Windows 11

Richard
Written by
Richard
Sep 2, 2021 Updated Apr 28, 2026 3 min read

OneDrive is a cloud storage service that keeps your files in sync across devices. Sometimes, the connection gets stuck due to a cache error or a file conflict. When you reset OneDrive, you clear these temporary glitches and force the app to restart its connection to the server. This is the most effective way to troubleshoot OneDrive sync issues.

What happens when you reset?

Resetting the app does not delete your files. However, OneDrive will need to scan your local folder and compare it with the cloud. If you have many files, this process can take a while. You must wait for the sync status to show ‘Up to date’ before you move or delete files. You may also need to sign in again.

Resetting on Windows

Method 1: Reset using the Run command

You do not need admin privileges for this step. Follow these instructions to refresh your connection:

  1. Press the Windows key + R on your keyboard to open the Run box.
Windows 11 desktop interface showing how to reset OneDrive sync settings
  1. Copy and paste the following command into the box and click OK:
💻Code
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset

The OneDrive icon on your taskbar will disappear for a few minutes. When it reappears, it will start syncing your files again.

Method 2: Reset the OneDrive Store app

If you use the version from the Microsoft Store, you can reset it through your settings. This does not require admin privileges.

  1. Click the Start button.
  2. Search for OneDrive.
  3. Right-click the app and select App settings.
Right-click menu on the OneDrive app showing the App settings option
  1. In the window that opens, scroll down and click the Reset button.
OneDrive app settings menu displaying the reset button for Windows 11

Resetting on macOS

If you are using a Mac, you can reset the sync client easily. This does not require admin privileges.

  1. Quit OneDrive by clicking the cloud icon in the top menu bar and selecting Quit OneDrive.
  2. Open your Applications folder.
  3. Find the OneDrive app, right-click it, and select Show Package Contents.
  4. Navigate to Contents > Resources.
  5. Double-click the ResetOneDriveApp.command file.

Resetting on Android and iOS

On mobile devices, the best way to fix sync issues is to clear the app cache or reinstall the app.

  1. Open your device Settings.
  2. Go to Apps or Application Manager.
  3. Find OneDrive in the list.
  4. Select Storage and tap Clear Cache or Clear Data.
  5. If the issue persists, uninstall and reinstall the app from the App Store or Google Play Store.

Common OneDrive Error Codes

If you see specific error codes, they often point to file conflicts or permission issues. Common codes include 0x8004de40 (network issues), 0x8004de85 (account issues), and 0x8004de8a (sign-in issues). Always ensure your OneDrive client version is up to date to resolve these.

Summary

If OneDrive stops syncing, you can fix it by resetting the app. This clears old connections and starts a fresh sync. You will not lose your files, but you must be patient while the app re-uploads or downloads your data to ensure everything is up to date. Keep your app updated to avoid future issues.

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 will simply re-verify the files to ensure they match the cloud version during the next sync cycle.

How long does a OneDrive reset take?

The time taken depends on the number of files you have. For a few files, it takes seconds. If you have thousands of files, the re-indexing process might take several minutes or even an hour. Ensure your computer stays powered on and connected to the internet until the sync is complete.

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?

Tags: #Windows 11
Richard

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.

5 responses to “How to Reset OneDrive Sync on Windows 11”

  1. 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.

  2. 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.

Leave a Reply

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

Exit mobile version