Home » Computer Guides » How To Delete Files From OneDrive.

How To Delete Files From OneDrive.

OneDrive is a powerful cloud syncing tool that’s built into both Windows 10 and Windows 11. But its “two-way sync” feature can be a double-edged sword. If you delete a file in one place, such as from the cloud, it disappears everywhere, such as from your computer.

In this guide I’ll show you how to delete files from OneDrive without losing any of your data.

How To Delete Files In OneDrive

The files that are stored in your OneDrive cloud are linked to the files on your computer. By default OneDrive will sync everything stored in your Desktop, Documents and Pictures folders to the cloud. So simply deleting a file or folder from one of these folders will automatically delete it from OneDrive.

Documents, Pictures and Desktop folders selected for syncing in OneDrive.
By default these are the folders that OneDrive will sync.
Deleting a file from OneDrive.
Deleting a file or folder from any one of those folders will also delete it from OneDrive.

Delete Files From Everywhere

Where OneDrive gets confusing is when you open File Explorer. It appears that the folders in OneDrive are separate from your computer folders. But they’re not. They’re the same folders.

If you delete a file or folder from OneDrive, it’ll also be deleted from your PC. This is how many people end up losing their files. For a complete guide on OneDrive read What Is OneDrive And What Does It Do

OneDrive folder and computer user folders in File Explorer.
These folders are the same.
Deleting file from OneDrive
So if you delete a file from a OneDrive folder, it’ll also be deleted from your computer.

How To Delete Files From OneDrive But Keep Them On Your PC

There are many reasons why you might want to remove files from OneDrive. One of the most common is simply that it’s full What To Do When OneDrive Is Full.

But if you just want to move a file or folder out of OneDrive but still keep it on your computer, then the best way is to move it into a different folder. One that isn’t being synced by OneDrive.

So assuming that on your computer OneDrive is syncing your Desktop, Documents and Pictures folders, then you could create a new folder on your C: drive to store the files that you don’t want OneDrive to store in the cloud.

  1. Open File Explorer and click This PC in the left hand panel. Then double left click on your system drive (usually the C: drive).
  2. Create a new folder by pressing CTRL + Shift + N simultaneously. Name the folder something descriptive so that you’ll know what it is, e.g. New Desktop, New Documents etc.
  3. Next cut and paste the files and folders that you want deleted from OneDrive but need to stay on your computer into the new folder that you just created.
  4. Since your new folder isn’t being synced by OneDrive, anything that you move in to it will be deleted from OneDrive. Just be sure to use cut and paste, not copy and paste.
How to delete files from OneDrive but keep them on your PC.
Open File Explorer and then open your C: drive.
Create anew folder on C: drive to store files that you don't want to be stored in OneDrive.
Create a new folder.
Use Cut and Paste to remove files and folders from OneDrive.
Use the Cut option to move files and folders out of OneDrive.
Then paste the files into a folder that's not being synced by OneDrive.
Then Paste them into a folder that isn’t being synced by OneDrive.

Moving Files Out Of OneDrive

What you’re doing here is moving your data out of OneDrive synced folders to a folder that isn’t. In that way you’re effectively deleting the files from OneDrive while keeping them on your computer.

Create A Shortcut

To make accessing your new folder easier and quicker you can also create a shortcut to it from your Desktop and also pin it to the Quick Access area of File Explorer.

  1. To create a shortcut to the new folder, right click on it then left click Create Shortcut. If you’re using Windows 11 you might have to click Show More Options first.
  2. Windows will warn you that it can’t create a shortcut here. Click the Yes button to have the shortcut placed on your desktop.
  3. Returning to your desktop you’ll see the newly created shortcut that leads directly to your new folder. You can also pin the shortcut to your Start menu and/or taskbar.
  4. If you open File Explorer you’ll see that the shortcut has been added to OneDrive. But it’s only the shortcut, not the folder or its contents. Anything that you save into this new folder won’t be synced to OneDrive.
Create a shortcut.
For quicker access to your folder, create a shortcut.
Add the shortcut to your desktop.
Add the shortcut to your desktop.
Shortcut on desktop.
A quick double left click will give you instant access to the folder.
Although the shortcut will be added to OneDrive, nothing stored inside the folder will be.
The shortcut will appear in OneDrive, but nothing stored within the folder will be.

Pin To Quick Access In File Explorer

You can also pin the shortcut to your Quick Access area of File Explorer. Right click the folder and then left click Pin To Quick Access.

Pin to Quick Access
You can also Pin the folder to Quick Access in File Explorer.
Quick Access in File Explorer
Now you have a folder that isn’t being synced by OneDrive.

Deleting Files From OneDrive Online

You can use your web browser to sign in to your OneDrive account and then delete files online. But you do need to be careful when you’re doing this because the files will also be deleted from your computer. Is that what you really wanted to do? If not then you’d be better off following the guide above to move files out of OneDrive.

To delete files and folders from OneDrive online, log in to your account then –

  1. Click the My Files icon in the left hand navigation panel.
  2. Select the file or folder that you want to delete from OneDrive. Then click the Delete button on the toolbar.
  3. You’ll see a confirmation popup, click Delete to confirm.
  4. Please note that deleting files from OneDrive online will also delete them from your computer. Remember that OneDrive is a sync tool. Any changes that you make will be propagated to all your connected devices.
How to delete files from OneDrive online.
My Files icon.
Selecting a file or folder and clicking Delete in OneDrive online.
Navigate to the file or folder that you want to delete. Select it and then click the Delete button.
Delete confirmation
Click the Delete button to confirm.
When a folder is deleted from OneDrive it's also deleted from your PC.
Remember that the files will also be deleted from your computer.

OneDrive Recycle Bin

OneDrive does have a recycle bin similar to that on your Windows computer. Anything that you delete will be sent to the recycle bin. For personal OneDrive accounts they’ll stay there for about 30 days. You can either restore an item that you deleted by accident or delete it permanently from OneDrive.

  1. Log in to your OneDrive account and then click the Recycle Bin icon in the left hand panel.
  2. Select a file or folder in the bin and then click either Restore or Delete from the toolbar.
OneDrive Recycle Bin icon
Open the OneDrive Recycle Bin by clicking on its icon.
File selected and the Restore and Delete buttons are both highlighted in OneDrive.
Select your file or folder and then click either Restore or Delete.

Summary

Deleting files from OneDrive without losing any data can be tricky. Microsoft offer OneDrive as a backup, but it really isn’t, it’s a sync tool. And that’s where the confusion comes in. Just remember that whatever you delete from OneDrive will also be deleted from your synced folders on your computer.

Personally I think that the Google Drive for desktop app is a better choice for syncing files to the cloud. It allows you more storage space for free and you have complete control over which folders get synced.

Related Posts

How To Setup FreeFileSync
Use FreeFileSync to back up files and folders offline. Nothing needs to go to the cloud. You can sync to a second (internal) hard drive, external USB drive, or across your home network to another PC.

Windows 11 Backup
Create a true backup of either your files or your complete computer (system image) for free.

Free Computer Course
Learn the basics of using a Windows computer. Step by step guides that link together to give you a fuller understanding of how Windows works.

Latest step by step guides on At Home Computer.

How To Edit A PDF Form

Move files between the host and guest systems.

How To Run Android Apps On Windows PC
How to setup shared folders in VMware Workstation Pro.
How To Add A USB Device In VMware
How to change a computer name
Scroll to Top