A OneDrive cloud icon being removed from a computer window, with files staying safe in the cloud

How to Remove OneDrive From Your PC (2026)

“Remove OneDrive” can mean three different things, from gentle to complete. Figure out which you actually want — most people just want OneDrive to stop syncing and get out of the way, which doesn’t require uninstalling anything. None of these delete your files if you follow the prep step.


First: Protect Your Files

Before removing OneDrive, make sure nothing is online-only that you want to keep locally:

  1. Open the OneDrive folder in File Explorer.
  2. Select files/folders you want to keep on the PC, right-click > Always keep on this device.
  3. Wait for them to show the solid green (downloaded) icon.

Everything also stays on OneDrive.com regardless — removal from your PC never deletes cloud files.


This stops OneDrive from syncing but leaves it installed. The lightest, most reversible option.

  1. Click the OneDrive cloud icon > gear > Settings.
  2. Go to the Account tab.
  3. Click Unlink this PC > Unlink account.

OneDrive stops syncing. Your local files stay put; they just no longer update to the cloud. To bring it back, sign in again. Full detail in how to stop OneDrive from syncing.


Option 2: Hide OneDrive From File Explorer

If you just don’t want the OneDrive entry in the File Explorer sidebar:

  1. Unlink first (Option 1).
  2. Optionally turn off startup: OneDrive Settings > Settings tab > uncheck Start OneDrive automatically.

The OneDrive folder shortcut disappears from the sidebar after unlinking and restarting Explorer. Your files (now in a regular local folder) remain accessible.


Option 3: Fully Uninstall OneDrive

This removes the OneDrive app entirely. Your files in the local OneDrive folder and on OneDrive.com are not deleted.

Windows 11

  1. Settings > Apps > Installed apps.
  2. Find Microsoft OneDrive.
  3. Click the three dots > Uninstall > confirm.

Windows 10

  1. Settings > Apps > Apps & features.
  2. Click Microsoft OneDrive > Uninstall.

Via Command Prompt (if it won’t uninstall normally)

Open Command Prompt as administrator and run:

taskkill /f /im OneDrive.exe
%SystemRoot%\System32\OneDriveSetup.exe /uninstall

(On 64-bit Windows, use %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall.)


What Happens to Your Files

ActionLocal OneDrive folderFiles on OneDrive.com
UnlinkStay (become normal files)Safe, unchanged
Hide from ExplorerStaySafe, unchanged
UninstallStay in C:\Users\You\OneDriveSafe, unchanged

After uninstalling, your files remain in the C:\Users\<YourName>\OneDrive folder — they’re just normal local files now. Move them anywhere you like.


Reinstall OneDrive Later

Changed your mind? OneDrive is built into Windows — search the Start menu for OneDrive, or download it from microsoft.com/microsoft-365/onedrive. Sign in and pick your folders again.


Troubleshooting

OneDrive keeps coming back after Windows updates

Major Windows updates can reinstall it. Uninstall again, or just leave it unlinked and disabled at startup — it won’t do anything.

”Uninstall” is greyed out

A work/school device may block removal by policy. Unlink instead, or contact your admin.

My Desktop/Documents are still in OneDrive after uninstalling

You had folder backup on. Move them back to your local profile — see how to turn off OneDrive backup.

Files show a cloud icon and won’t open after removal

Those were online-only and didn’t download before removal. Reinstall OneDrive, sign in, set them to Always keep on this device, then remove again.


Quick Reference

GoalDo this
Stop syncing, keep appSettings > Account > Unlink this PC
Remove from sidebarUnlink + disable startup
Remove the app entirelySettings > Apps > OneDrive > Uninstall
Protect files firstRight-click > Always keep on this device
Bring it backReinstall and sign in

Related OneDrive guides: How to stop OneDrive from syncing · How to turn off OneDrive backup · How to free up space in OneDrive · What is OneDrive Files On-Demand? · How to fix OneDrive sync issues

Ready to automate your busywork?

Carly schedules, researches, and briefs you—so you can focus on what matters.

Get Carly Today →

Or explore our free tools