sodcalculator

10 Tech How-To

How to Uninstall and Reinstall OneDrive in Windows 11

Guide 10-47091 · Updated · Step by step

This guide walks you through completely removing OneDrive from Windows 11 and then reinstalling it fresh. This fixes sync errors, corrupted cache files, frozen uploads, and issues where files won’t appear on other devices. You’ll need to be signed in with an administrator account, and you should back up any files you haven’t synced yet before starting.

What You’ll Need

  • An administrator account on your Windows 11 PC
  • Your Microsoft account credentials (email and password)
  • Any files in your OneDrive folder that you haven’t verified are synced — copy them to a USB drive or another folder first

Step-by-Step

Part 1: Uninstall OneDrive

  1. Close OneDrive completely. Right-click the OneDrive cloud icon in the system tray (bottom-right corner, near the clock) and select Exit. If you don’t see the icon, click the upward arrow to show hidden icons.
  2. Open Settings. Press Windows + I to open the Settings app.
  3. Go to Apps. Click Apps in the left sidebar, then select Installed apps.
  4. Find OneDrive. Type “OneDrive” in the search box at the top of the list. You may see multiple entries (e.g., “Microsoft OneDrive” and “OneDrive”).
  5. Uninstall it. Click the three-dot menu (⋯) next to the OneDrive entry and select Uninstall. Confirm any prompts that appear.
  6. Repeat if needed. If there are multiple OneDrive entries, uninstall each one. Windows 11 sometimes lists the sync engine separately from the app.
  7. Restart your PC. This clears any background processes that may still be running.

Part 2: Remove Leftover Files (Optional but Recommended)

  1. Delete the OneDrive folder. Open File Explorer and navigate to C:\Users\[YourUsername]\OneDrive. If you haven’t already backed up your files, do that now, then delete this folder. If Windows says the folder is in use, restart again and try.
  2. Clear the registry entries (advanced). Press Windows + R, type regedit, and press Enter. Navigate to HKEY_CURRENT_USER\Software\Microsoft\OneDrive. Right-click the OneDrive key and select Delete. Close the Registry Editor. Only do this if you’re comfortable with the registry — deleting the wrong key can cause system issues.

Part 3: Reinstall OneDrive

  1. Open the Microsoft Store. Click the Store icon in the taskbar or search for “Microsoft Store” in the Start menu.
  2. Search for OneDrive. Type “OneDrive” in the Store’s search bar and press Enter.
  3. Install it. Click the Get or Install button next to the official Microsoft OneDrive app. Wait for the download to finish.
  4. Launch OneDrive. Click Open in the Store, or find OneDrive in your Start menu and click it.
  5. Sign in. Enter your Microsoft account email and password. If you use two-factor authentication, complete that prompt as well.
  6. Choose your folder location. When asked where to put your OneDrive folder, use the default location (C:\Users\[YourUsername]\OneDrive) unless you have a specific reason to change it. Click Next.
  7. Select what to sync. You’ll see a screen listing your OneDrive files. You can choose to sync everything or pick specific folders. Click Next and then Done.
  8. Wait for sync. OneDrive will start downloading your files. The cloud icon in the system tray will show a circular arrow while syncing. This can take a while if you have many files.

Common Mistakes

  • Skipping the restart. If you don’t restart after uninstalling, background OneDrive processes can interfere with the reinstall, causing errors.
  • Not backing up unsynced files. If you have files in your OneDrive folder that haven’t uploaded yet (shown with a red X or a rotating arrow icon), uninstalling can lose them. Always copy those to a safe location first.
  • Deleting the folder before uninstalling. If you delete the OneDrive folder while the app is still running, Windows may recreate it or throw errors. Uninstall first, then delete.
  • Signing in with the wrong account. Make sure you use the same Microsoft account that holds your files. If you sign in with a different account, you’ll see an empty folder and may think your files are gone.
  • Ignoring the “Files On-Demand” setting. After reinstalling, OneDrive may ask about “Files On-Demand.” If you turn it off, all files will download to your hard drive, which can fill up your disk quickly. If you turn it on, files show as placeholders and only download when you open them.

Tips

  • Use the built-in reset instead. If you’re only having sync issues, try resetting OneDrive first — it’s less invasive. Press Windows + R, type onedrive /reset, and press Enter. This clears the cache without removing your files. If that doesn’t fix the problem, then do the full uninstall/reinstall.
  • Check your internet connection. A stable connection is essential for the reinstall and the initial sync. If you’re on Wi-Fi, try plugging in an Ethernet cable for the first sync.
  • Pause sync during large downloads. If you have hundreds of gigabytes, let OneDrive sync overnight. Right-click the cloud icon and choose Pause syncing to control when it runs.
  • Keep your Windows updated. Microsoft regularly updates OneDrive through Windows Update. Keeping Windows 11 current reduces the chance of bugs returning.

Troubleshooting

OneDrive won’t uninstall. If the Uninstall button is grayed out or the app reappears after restarting, try these steps:

  1. Close OneDrive from the system tray (right-click → Exit).
  2. Open Task Manager (Ctrl + Shift + Esc) and look for any OneDrive processes under the “Processes” tab. Right-click each one and select End task.
  3. Try the uninstall again.

OneDrive won’t install from the Microsoft Store. This often means the Store’s cache is corrupted. Press Windows + R, type wsreset.exe, and press Enter. A blank window will open and close — that’s normal. Then try the install again.

OneDrive installs but won’t open. Right-click the Start button and select Terminal (Admin). Type Get-AppxPackage Microsoft.OneDriveSync | Remove-AppxPackage and press Enter. Then reinstall from the Store. This forces a clean removal of the app package.

Files are missing after reinstall. First, check onedrive.com in a browser. If your files are there, the issue is the local sync. Go to OneDrive settings (right-click cloud icon → Settings → Account) and click Choose folders to make sure all folders are checked. If files are not on the website either, check the Recycle Bin on the OneDrive website — deleted files go there for 30 days.

OneDrive shows “This file can’t be synced” errors. This usually means a file name contains characters Windows doesn’t allow (like \ or :) or the path is too long. Rename the file to something simpler and try again.

Frequently Asked Questions

Will uninstalling OneDrive delete my files? No. Files stored in the cloud remain on Microsoft’s servers. Only the local copies in your OneDrive folder are removed. As long as they were synced before you uninstalled, you’ll get them back when you sign in again.

Can I use OneDrive without installing the app? Yes. You can access all your files through the OneDrive website in any browser. You just won’t have automatic syncing or the ability to work offline with local copies.

Why does OneDrive keep coming back after I uninstall it? Windows 11 includes OneDrive as a built-in component. Some system updates may reinstall it. To prevent this, you can uninstall it again after each major update, or use Group Policy (Windows Pro only) to disable it permanently.

Is it safe to delete the OneDrive folder from File Explorer? Yes, as long as you’ve verified your files are synced (no red X or spinning arrows on the icons). Deleting the local folder does not delete cloud files.

How long does the initial sync take after reinstalling? It depends on your internet speed and file size. A few gigabytes typically takes 10-30 minutes. Larger libraries can take hours. You can keep using your PC while it syncs.

What’s the difference between “OneDrive” and “Microsoft OneDrive” in the Installed Apps list? They’re the same app. Windows sometimes shows the package name and the display name separately. Uninstall both entries to be thorough, then reinstall once from the Store.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →