How to Disable or Uninstall OneDrive on Windows 11 Without Losing Data


Want to remove OneDrive from Windows 11? Learn how to disable, unlink, or uninstall OneDrive safely without losing files.


If you’ve ever opened File Explorer and found your Desktop, Documents, and Pictures folders mysteriously living inside a OneDrive folder, you already know the frustration. You didn’t ask for this. You just wanted to save a file locally, and somehow Microsoft’s cloud storage app inserted itself into the process.

You’re not alone in wanting it gone. OneDrive isn’t just another app you can right-click and remove in five seconds — it’s woven into Windows 11 at a pretty deep level, with ties to your Microsoft account, Office 365, and even your backup settings. That’s exactly why a straightforward question like “how do I uninstall OneDrive?” tends to spiral into bigger ones: Will I lose my files? Will Office stop working properly? Will it just come back after the next update?

How To Disable OneDrive On Windows 11

This guide walks you through everything — what actually happens when you remove OneDrive, which method fits your situation, the exact steps to uninstall it on Windows 11, and how to clean up the leftovers it tends to leave behind. By the end, you’ll know exactly how to remove OneDrive from Windows 11 safely, with zero guesswork.


Quick Answer

To uninstall OneDrive on Windows 11, open Settings > Apps > Installed Apps, find Microsoft OneDrive, click the three-dot menu, and select Uninstall. Your files stored in OneDrive cloud storage will remain available online, but syncing will stop on that PC.


What Happens If You Uninstall OneDrive? (Read This First)

Let’s deal with the question on everyone’s mind before you touch a single setting: will uninstalling OneDrive delete your files?

The short answer is no. Uninstalling the OneDrive app removes the program from your computer — it does not delete your files, either locally or in the cloud. Your Microsoft OneDrive cloud storage stays exactly where it is, fully accessible any time you sign in at OneDrive.com from any browser or device.

Here’s where it gets a little more nuanced, though. OneDrive’s Files On-Demand feature means some of the files you see in your OneDrive folder might not actually be sitting on your hard drive — they’re “cloud-only” placeholders that download the moment you open them. If you uninstall OneDrive without checking which files are local versus cloud-only first, those cloud-only files can suddenly look like they’ve vanished, simply because the app that was fetching them on demand is no longer there.

Tip: Before you do anything else, right-click your OneDrive folder, check for files marked with a blue cloud icon (online-only), and either open them once or choose “Always keep on this device” to download them locally. This is your insurance policy against feeling like you’ve lost something you haven’t.

There’s also a quieter consequence worth knowing about: OneDrive is the default save-and-open location for Microsoft Office apps like Word, Excel, and PowerPoint, and it powers their AutoSave feature. Once OneDrive is gone, AutoSave to the cloud stops working, and Office will default back to saving locally. That’s not a problem if you’re fine with local saves — just don’t be surprised when “AutoSave” disappears from the title bar.


Should You Pause, Unlink, Disable, or Uninstall OneDrive?

Here’s something most guides skip: uninstalling isn’t your only option, and it might not even be the right one for you. Before you commit to fully removing OneDrive, it’s worth figuring out what you’re actually trying to achieve.

  • Pause syncing — The lightest touch. Good if your internet is being hogged by a big upload and you just need it to stop for now. You can pause for 2, 8, or 24 hours from the OneDrive icon in your system tray.
  • Unlink this PC — Disconnects your Microsoft account from OneDrive on this device. The app stays installed, your local files stay put, but syncing stops completely. This is the safest middle ground if you’re not 100% sure you want OneDrive gone forever.
  • Disable it — Keeps the app installed but prevents it from launching at startup or syncing in the background. If you’d rather disable OneDrive on Windows 11 than remove it outright, this is the option that does that.
  • Uninstall completely — Removes the app from your system entirely. This is what you want if you’re done with OneDrive for good and prefer a local-only or alternative cloud workflow.

Here’s the same comparison at a glance:

OptionRemoves AppStops SyncBest For
Pause SyncingNoTemporarilyShort-term interruptions
Unlink This PCNoYesTesting life without OneDrive
Disable StartupNoMostlyPerformance improvements
Uninstall OneDriveYesYesPermanent removal

Worth knowing: “Canceling your OneDrive subscription” and “uninstalling the OneDrive app” are two completely different things. Uninstalling removes the desktop sync client from your PC. Canceling a paid Microsoft 365 storage plan happens through your Microsoft account billing settings, not the app itself — and your free 5GB of cloud storage sticks around either way unless you delete the account entirely.

If you’re still not sure which path fits, a simple rule of thumb helps: unlink first if you’re hesitant, uninstall once you’re certain. Unlinking is fully reversible with zero cleanup required.


Before You Uninstall OneDrive

Before you remove OneDrive from Windows 11, take a few minutes to make sure your files are safe. While uninstalling OneDrive won’t delete files stored in your Microsoft account, removing the app without checking your sync status can leave you temporarily unable to access cloud-only files.

1. Let Any Pending Uploads Finish

If OneDrive is currently syncing files, wait until the process is complete before uninstalling it. Removing the OneDrive sync client while uploads or downloads are still in progress can result in files not being fully backed up to your Microsoft OneDrive cloud storage.

To check, first click the OneDrive cloud icon in the system tray. Then review the current sync status and wait until any uploads or downloads are finished. Once OneDrive shows that everything is up to date, you can safely move on to the next step.

2. Check for Cloud-Only Files

OneDrive’s Files On-Demand feature allows files to appear in File Explorer even when they are not actually stored on your PC.

Look for files marked with a blue cloud icon. These are online-only files that are downloaded only when you open them. If you uninstall OneDrive before downloading these files, they will not be available offline afterward.

3. Download Important Files to Your PC

For any files you want to keep available locally, right-click the file and select Always keep on this device.

This option downloads the file to your computer and ensures that you can still access it even after OneDrive is removed. Pay special attention to important documents, family photos, videos, work files, school projects, and Desktop folders that OneDrive may be backing up automatically.

Tip: If your Desktop, Documents, or Pictures folders are inside a OneDrive folder, make sure everything important is downloaded before uninstalling.

4. Back Up Critical Data

Even though uninstalling OneDrive does not delete cloud files, it is always a good idea to create a backup of important documents before making major changes to your system.

You can copy essential files to an external hard drive, a USB flash drive, another cloud storage service, or a separate folder on your PC. Having a backup provides an extra layer of protection if something does not go as expected.

5. Consider Creating a System Restore Point

This step is optional, but it gives you a quick way to roll back changes if you encounter unexpected issues.

To create a restore point, search for Create a restore point in Windows Search and open the result. In the System Protection tab, click Create, enter a name for the restore point, and save it.

This will not restore deleted files, but it can help recover system settings if needed.

Important: If you are unsure whether a file exists locally or only in OneDrive cloud storage, download it before uninstalling the OneDrive sync client. Taking a few minutes to verify your files now can save hours of frustration later.


How to Uninstall OneDrive on Windows 11 (Step-by-Step)

If you’ve made the call and you’re ready to remove OneDrive from Windows 11 for good, here’s exactly how to do it — starting with the step most guides skip, and one that saves you a real headache later.

Step 1: Unlink Your Account First

Before uninstalling anything, disconnect your Microsoft account from the OneDrive sync client. This prevents sync conflicts and broken file paths down the line.

  1. Click the OneDrive cloud icon in your system tray (bottom-right corner, near the clock).
  2. Select the Gear icon, then Settings.
  3. Go to the Account tab.
  4. Click Unlink this PC, then confirm by selecting Unlink account.

This step alone stops all syncing and leaves your local files untouched — a smart move even if you’re planning to uninstall right after.

Step 2: Uninstall OneDrive via Settings

This is the cleanest method for most home users, and it’s also the officially supported route from Microsoft.

  1. Press Windows + I to open Settings.
  2. Click Apps, then Installed apps (on Windows 10, this is Apps & features instead).
  3. Search for Microsoft OneDrive in the list.
  4. Click the three-dot menu next to it and select Uninstall.
  5. Confirm by clicking Uninstall again. You may be asked for an administrator password — type it in or confirm if prompted.

That’s it. Once it finishes, OneDrive is removed and your Microsoft account is fully unlinked from this device.

Step 3: Uninstall OneDrive Using WinGet

If the Settings method doesn’t work for any reason, or you just prefer the command line, this is the modern, most dependable route — and it’s the fallback most people reach for when they run into a can’t uninstall OneDrive Windows 11 error. It also doubles as your best option for a force uninstall of OneDrive on Windows 11 when OneDrive is being stubborn.

  1. Open the Start menu, search for PowerShell (or Terminal), right-click it, and select Run as administrator.
  2. Run this command:
   winget uninstall Microsoft.OneDrive
  1. Press Enter and wait for the “Successfully uninstalled” message.

Tip: Not sure OneDrive is even still listed? Run winget uninstall on its own first to see every uninstallable app on your system, OneDrive included, before targeting it specifically.

This method works as a genuine OneDrive uninstaller for Windows 11 — winget (Windows Package Manager) comes built into Windows 11 by default, so there’s nothing extra to download.

Alternative Method: If WinGet Is Unavailable

WinGet covers most Windows 11 setups, but if it’s missing, broken, or simply not cooperating on your machine, the older OneDriveSetup.exe uninstall command still works on many systems as a backup option.

  1. Open the Start menu, type Command Prompt, right-click the top result, and choose Run as administrator.
  2. Type the following command and press Enter:
   %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall

(If you’re running a 32-bit version of Windows 11, use %SystemRoot%\System32\OneDriveSetup.exe /uninstall instead.) 3. The command won’t show a confirmation message — just give it a few seconds to finish, then close the window.


How to Manually Remove OneDrive Leftovers (Files, Folders & Registry)

Here’s something nobody tells you upfront: uninstalling OneDrive through any of the methods above removes the application, but it almost never cleans up everything behind it. Leftover folders, cached data, and registry entries are extremely common — and they’re the reason so many people end up searching for how to completely remove OneDrive from Windows 11, not just uninstall it.

Delete Leftover OneDrive Folders

Open Command Prompt as administrator and run the following commands to clear out residual files and folders:

rd "%UserProfile%\OneDrive" /Q /S
rd "%LocalAppData%\Microsoft\OneDrive" /Q /S
rd "%ProgramData%\Microsoft OneDrive" /Q /S
rd "C:\OneDriveTemp" /Q /S

Warning: Before running these commands, double-check that everything inside your OneDrive folder is either backed up elsewhere or already synced to the cloud. These commands permanently delete the local folder contents — your cloud copies stay safe at OneDrive.com, but anything that existed only on your PC and wasn’t synced will be gone for good.

Clean Up Registry Remnants (Optional, Advanced)

If you want File Explorer’s sidebar to stop showing a OneDrive entry entirely, a small registry tweak does the trick:

  1. Press the Windows key, type Registry Editor, and choose Run as administrator.
  2. Navigate to:
   HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}
  1. Find and double-click System.IsPinnedToNameSpaceTree.
  2. Change the Value Data to 0 (zero hides the entry — note this is the reverse of re-pinning it, so if you ever want OneDrive back in the sidebar, switching it to 1 restores it).
  3. Restart your PC to apply the change.

Caution: The Registry Editor isn’t a place to move quickly. A wrong edit here can affect unrelated parts of Windows, so it’s worth backing up the registry first (Registry Editor > File > Export) if you’re not entirely comfortable making manual changes.

Use a Third-Party Uninstaller (If You Want a Shortcut)

Windows doesn’t ship a dedicated, all-in-one “OneDrive uninstaller” beyond Settings, Command Prompt, and PowerShell — but if manually hunting down leftover files isn’t your idea of a good afternoon, tools like Revo Uninstaller or IObit Uninstaller can do the heavy lifting for you.

These apps uninstall the program and then scan for leftover files, folders, and registry entries automatically, which is genuinely useful if you want a more manual remove OneDrive Windows 11 approach without doing it all by hand.


Why Does OneDrive Keep Reinstalling Itself?

If you’ve uninstalled OneDrive before and watched it quietly reappear after a Windows update, you’re dealing with one of the most common complaints in Windows forums right now. This usually happens because:

  • A Windows feature update reinstalls built-in components, OneDrive included.
  • Microsoft 365/Office reinstalls the sync client as part of its own setup or repair process.
  • A new user profile on the same PC triggers OneDrive’s first-run setup again, since it installs per-user rather than system-wide.

The good news: there’s a more permanent fix for Windows 11 Pro and Enterprise users.

Disable OneDrive Permanently via Group Policy (Windows 11 Pro/Enterprise)

  1. Press the Windows key, type gpedit.msc, and open it.
  2. Navigate to Computer Configuration.
  3. Open Administrative Templates.
  4. Click Windows Components.
  5. Select OneDrive.
  6. Double-click Prevent the usage of OneDrive for file storage.
  7. Choose Enabled, then click Apply and OK.

This policy blocks OneDrive at a system level, which is far more durable than uninstalling alone — it stops Windows from quietly reintroducing the app during future updates.

Note for Windows 11 Home users: Group Policy Editor isn’t included on Home edition by default, so this particular fix isn’t available to you out of the box. Your most reliable options remain the Settings, Command Prompt, and PowerShell methods above, repeated as needed after major updates.


Can’t Uninstall OneDrive on Windows 11? Try This

A surprising number of people run into a greyed-out Uninstall button, a permissions error, or a command that simply fails. If that’s you, here’s what usually fixes it:

  • End the OneDrive process first. Open Task Manager (Ctrl + Shift + Esc), find Microsoft OneDrive under Processes, and click End Task. Then retry the uninstall.
  • Confirm you’re running as administrator. Both Command Prompt and PowerShell need to be opened with “Run as administrator,” even if your account already has admin rights — otherwise the uninstall silently fails.
  • Check for a managed work or school account. If your PC is enrolled through a company or school’s Microsoft 365 setup, IT policies may actively block uninstallation. In that case, removing OneDrive isn’t really a DIY job — check with your IT department first, since unlinking on a managed device can trigger unenrollment or break compliance settings.
  • Switch uninstall methods. If Settings won’t cooperate, try the Command Prompt method. If that fails too, the PowerShell winget command is usually the most reliable fallback.

How to Reinstall OneDrive (If You Change Your Mind)

Removing OneDrive isn’t a one-way door. If you decide later that you want it back — maybe for a specific project, a shared family folder, or just to grab your free 5GB again — reinstalling takes just a couple of minutes.

Using PowerShell:

  1. Open PowerShell as administrator.
  2. Run:
   winget install Microsoft.OneDrive
  1. Once installed, sign in with your Microsoft account and choose which folders you’d like to sync.

Using the offline installer:

  1. Visit Microsoft’s official Download OneDrive page.
  2. Download and run the installer.
  3. Sign in and follow the setup prompts.

Heads up: Reinstalling brings the app back, but it won’t automatically restore your previous sync settings or folder selections — you’ll need to choose which folders to sync again, just like a fresh setup.


Frequently Asked Questions

Will uninstalling OneDrive delete my files? No. Uninstalling OneDrive removes the application from your PC but does not delete files stored in your OneDrive account. However, cloud-only files should be downloaded first if you want offline access after removing the app.

Can I use Windows 11 without OneDrive? Yes. OneDrive is optional and Windows 11 works normally without it installed.

Does uninstalling OneDrive free up space? Uninstalling the app removes only a small amount of storage. To free significant space, delete local OneDrive files after confirming they are backed up or available in the cloud.


A Quick Note for Windows 10 Users

If you landed here on Windows 10, good news — the process is nearly identical. The only real difference is in the Settings menu naming: instead of Apps > Installed apps, you’ll go to Settings > Apps > Apps & features, find Microsoft OneDrive, and select Uninstall. Every other method in this guide — Command Prompt, PowerShell, registry cleanup — works exactly the same way on Windows 10.


What to Use Instead of OneDrive (If You Still Want Cloud Backup)

Not everyone removing OneDrive is anti-cloud — plenty of readers just want a different provider. If you’re planning to switch rather than go fully local, Google Drive and Dropbox are the two most common replacements, both offering similar file-sync and “available offline” functionality without the deep Windows integration that makes OneDrive feel inescapable.

Whatever you choose, it’s worth deciding on your backup plan before you fully cut ties with OneDrive — losing automatic cloud backup without a replacement in place is the one genuine downside of going local-only.

Quick fact: OneDrive started life in 2007 under a different name — SkyDrive — before Microsoft rebranded it in 2014. It’s been baked into Windows ever since Windows 8.1, which is part of why it’s so hard to fully shake loose today.


You’re in Control of Your Files — Not OneDrive

If your goal is simply to stop syncing, unlinking your PC is often the safest option. If you no longer want Microsoft’s cloud storage on your system, uninstalling OneDrive through Settings or WinGet removes it completely while keeping your files safe. Just make sure any cloud-only files are downloaded first so you don’t lose offline access.

To recap: if you’re not sure, unlink first — it’s reversible and risk-free. If you’ve made up your mind, uninstall through Settings, WinGet, or the alternative Command Prompt method, then follow up with the leftover-file cleanup so nothing lingers behind. And if you’re on Windows 11 Pro and want it gone for good, the Group Policy method keeps it from quietly reinstalling itself.

Most importantly — your files were never actually at risk. Uninstalling the app and losing your data are two completely different things, and now you know exactly how to keep them that way.

Still seeing OneDrive pop back up after following these steps, or running into an error we didn’t cover? Drop a comment below and let us know what’s happening — we’ll help you troubleshoot it.


Visit Our Post Page: Blog Page



Discover more from Izoate

Subscribe to get the latest posts sent to your email.

Leave a Comment

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