Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Remove Files From OneDrive Without Losing Them

· 5 min read · Home Tech

In this article
  1. Decide What "Remove" Means Before You Touch Anything
  2. Remove a File From OneDrive and Keep It on Your PC
  3. Remove OneDrive Entirely From a PC
  4. How to Tell It Worked, and What Went Wrong
  5. Freeing Space Without Deleting Anything

Deleting a file from OneDrive deletes it everywhere it syncs, so the safe way to remove something is to first move it out of the OneDrive folder (or pause syncing) and then delete it. If you just want the file gone from the cloud but kept on your PC, copy it out first, then delete it from OneDrive.

Time 10 min · Steps 7 · Level Easy

The most common way this goes wrong: you delete a file inside the OneDrive folder on your PC, and it disappears from every device signed in to that account, not just the one you were sitting at. OneDrive mirrors, it does not store separately. The method that avoids it is simple: decide first whether you want the file gone everywhere or only off one device or only off the cloud, because the steps differ.

Decide What "Remove" Means Before You Touch Anything

Before deleting anything, work out which of the three situations you are in, because each has a different fix:

  • Remove from OneDrive but keep on this PC: the file must be moved out of the OneDrive folder, or kept as an always-kept-on-device file, before you delete the cloud copy.
  • Remove everywhere: delete it normally from inside the OneDrive folder; it goes to the OneDrive recycle bin and then your PC's recycle bin.
  • Stop OneDrive backing things up at all: unlink the account or stop the folder backup, which is a settings job, not a deleting job.

Also check the file is not open in an app, and that no other device is currently syncing a change to it. If OneDrive shows a sync icon spinning in the taskbar (Windows) or menu bar (Mac), let it finish first, typically a few seconds to a couple of minutes for large files.

Remove a File From OneDrive and Keep It on Your PC

This is the case most people actually mean by "remove from OneDrive." Menu labels can differ slightly by version.

  1. Open File Explorer or Finder and find the OneDrive folder in the sidebar; it is usually named OneDrive or OneDrive – Personal.
  2. Find the file or folder you want to take out of OneDrive.
  3. Copy it somewhere outside OneDrive, such as Documents, an external drive or a USB stick: right-click, choose Copy, then Paste into the other location. For big folders this can take several minutes.
  4. Confirm the copy exists by opening it from the new location before deleting anything.
  5. Delete the original inside the OneDrive folder with right-click, Delete. This removes it from the cloud and every synced device.
  6. Empty the OneDrive recycle bin by signing in at onedrive.com, opening Recycle bin, selecting the item and choosing Delete, if you want it permanently gone rather than recoverable.
  7. Empty the PC recycle bin by right-clicking it and choosing Empty Recycle Bin, which frees the local disk space too.

Remove OneDrive Entirely From a PC

If the goal is to stop OneDrive running on a computer rather than remove individual files, unlinking is the safe first move, because it signs the app out without deleting any files from the cloud.

  1. Click the OneDrive cloud icon in the taskbar or menu bar and open Settings (the gear icon; on Windows it may be under Help & Settings).
  2. Choose Account, then Unlink this PC (on Mac, Unlink this account). The files already downloaded stay on the computer; the cloud copies stay in OneDrive.
  3. Move or keep the local files as you like; after unlinking, changes to them no longer sync anywhere.
  4. To stop the app starting automatically, in Settings under Sync and backup (or the General tab), turn off Start OneDrive automatically when I sign in.
  5. To remove the app completely, uninstall it like any program: Windows Settings > Apps > Installed apps, or drag the app to the Trash on Mac. Uninstalling does not delete anything from the cloud.

How to Tell It Worked, and What Went Wrong

Sign in at onedrive.com in a browser: that view shows exactly what is in the cloud. If the file is gone there, it is gone from every synced device; if it is still there, the deletion has not synced yet, so wait for the sync icon to settle and refresh the page.

SymptomCauseFix
File reappears in the OneDrive folder after deletingAnother synced device still holds a copy and re-uploads itDelete the file on that device too, or delete it at onedrive.com so the removal syncs outward
Deleted the wrong file and want it backOneDrive keeps deleted items in its online recycle binOpen onedrive.com, go to Recycle bin, select the file and Restore; items are typically kept for 30 days
Files say "available when online" or show a cloud iconFiles are set to online-only to save disk spaceRight-click the file and choose Always keep on this device to download a full local copy before removing the cloud version
Cannot delete a file at allThe file is open in an app, or sync is pausedClose the app, resume sync from the OneDrive menu, then delete again
Storage still full after deletingDeleted items still count until the recycle bin is emptiedEmpty the OneDrive recycle bin at onedrive.com

Freeing Space Without Deleting Anything

If the real goal is disk space rather than removal, use online-only files instead: right-click a folder inside OneDrive and choose Free up space. The files stay in the cloud and stay listed on your PC, but the local copies are removed, which can recover a lot of room on a small drive. Reopening a file downloads it again automatically. This is the better choice whenever you still want the files, just not on this computer's disk.

One more distinction worth knowing: stopping the folder backup (Settings > Sync and backup > Manage backup) stops new files in Desktop, Documents and Pictures going to OneDrive, but it does not remove the copies already stored there. To clear those, you still delete them and empty the online recycle bin.

Official source: Microsoft Support