How to Delete OneDrive: Remove, Unlink, or Uninstall It Completely

OneDrive is built deeply into Windows 10 and Windows 11, which means "deleting" it isn't always a single-click operation. Depending on what you actually want to achieve — stopping sync, removing the app, or wiping your cloud files — the steps are meaningfully different. Getting this wrong can either leave OneDrive running quietly in the background or, worse, delete files you still need.

What "Deleting OneDrive" Actually Means

Before touching any settings, it's worth separating three distinct actions that people often conflate:

  • Unlinking your account — disconnects OneDrive from your PC without deleting any files locally or in the cloud
  • Uninstalling the app — removes the OneDrive client software from your device; your cloud files remain intact
  • Deleting your OneDrive cloud files — permanently removes data stored on Microsoft's servers

Most people want one of the first two. Only a small number of users need all three. Starting with the wrong action is how data gets lost.

How to Unlink OneDrive From Your PC

Unlinking is the gentlest option. It stops sync without removing anything permanently. This is useful if you're getting constant sync notifications, low-storage warnings, or you simply don't want OneDrive running on a particular machine anymore.

  1. Click the OneDrive cloud icon in the system tray (bottom-right taskbar)
  2. Select Settings (gear icon) → Settings
  3. Go to the Account tab
  4. Click Unlink this PC
  5. Confirm when prompted

After unlinking, OneDrive stops syncing and your local OneDrive folder becomes a regular folder — files already downloaded stay on your machine, and cloud files stay in the cloud. The app itself is still installed but dormant.

How to Uninstall OneDrive on Windows 10 and Windows 11

If you want the OneDrive app fully gone from your system, uninstalling it removes the sync client, the system tray icon, and the integration with File Explorer.

On Windows 10:

  1. Open SettingsAppsApps & Features
  2. Search for Microsoft OneDrive
  3. Click it and select Uninstall

On Windows 11:

  1. Open SettingsAppsInstalled Apps
  2. Find Microsoft OneDrive
  3. Click the three-dot menu → Uninstall

⚠️ One important note: on some versions of Windows, OneDrive is treated as a system component and the uninstall button may be greyed out. In those cases, you can disable it using Group Policy (on Windows Pro/Enterprise editions) or via the Registry Editor — though both require comfort with system-level settings.

How to Remove OneDrive From File Explorer (Without Uninstalling)

If the OneDrive folder showing up in File Explorer's sidebar is the main annoyance, you can hide it without uninstalling the app entirely.

  • Right-click the OneDrive entry in the left panel of File Explorer
  • Select Settings → navigate to the Account tab → Unlink this PC

Alternatively, hiding it through the Registry involves navigating to HKEY_CLASSES_ROOTCLSID{018D5C66-4533-4307-9B53-224DE2ED1FE6} and setting System.IsPinnedToNameSpaceTree to 0. This removes the sidebar icon without affecting sync or files.

How to Delete Your OneDrive Cloud Files 🗑️

This step is separate from uninstalling the app and is irreversible once the recycle bin is emptied.

  1. Go to onedrive.live.com and sign in
  2. Select the files or folders you want to delete
  3. Click Delete
  4. Empty the OneDrive Recycle Bin to make deletion permanent (deleted files sit there for up to 30 days otherwise)

If you're closing a Microsoft account entirely, Microsoft provides an account closure process that wipes associated data including OneDrive storage — but that also removes access to Outlook, Xbox, and other Microsoft services tied to the same account.

Variables That Affect Your Approach

The right method depends on several factors that differ from one user to the next:

FactorHow It Affects the Process
Windows edition (Home vs Pro)Pro/Enterprise users have Group Policy access for deeper removal
Windows version (10 vs 11)Menu locations and integration depth differ
Whether files are synced locallyUninstalling before confirming local copies exist risks access loss
Microsoft 365 subscriptionOneDrive storage may be tied to an active subscription
Shared or work/school accountIT policies may prevent uninstallation or re-enable OneDrive automatically

On work or school-managed devices, OneDrive is often deployed and enforced by an administrator. In those environments, uninstalling it may not be possible without IT involvement — or it may reinstall itself automatically on the next login.

After Uninstalling: What Happens to Your Files

This catches many people off guard. Uninstalling the OneDrive client does not delete your cloud storage. Files stored only in the cloud (not downloaded to your device) remain accessible via the web. Files that were synced locally and exist on your hard drive stay exactly where they are — they just won't sync anymore.

The exception is Files On-Demand — a feature that shows cloud-only files as placeholders in File Explorer. If those placeholder files were never fully downloaded, they become inaccessible once OneDrive is uninstalled. Before uninstalling, it's worth checking whether any files exist only as cloud placeholders and downloading them first.

The Part That Depends on You

Whether you should unlink, uninstall, or fully delete comes down to how you use OneDrive, whether other devices or people share access to those files, and whether your setup is personal or managed by an organization. Each of those factors changes which steps apply — and which ones carry real risk.