How to Delete Files and Folders from Your OneDrive But Not Your Computer in Windows 11
OneDrive file deletion in Windows 11 lets you remove files from cloud storage without deleting them from your PC. OneDrive creates a special folder on your computer that syncs with your Microsoft cloud account.
This syncing usually means deleting a file in one place deletes it everywhere. However, a feature called “Files On-Demand” changes this behavior.
Files On-Demand shows you all your OneDrive files in File Explorer but only downloads them when you open them. This saves space on your computer and lets you manage cloud files independently.
To delete files from OneDrive but not your computer, move them out of the OneDrive folder on your PC to another local folder. OneDrive will then remove them from cloud storage during its next sync, while they remain accessible on your computer.
Deleting from OneDrive, Not Your Computer
You can remove files and folders from your OneDrive cloud storage while keeping them safe on your computer’s hard drive by moving them out of the OneDrive folder first.
Here’s how to do it:
1Find Your OneDrive Folder
First, locate your OneDrive folder on your computer. It’s usually within your user folder. Open File Explorer (that folder icon on your taskbar) and look for “OneDrive” on the left side. If you have multiple OneDrive accounts, it might display as “OneDrive – ” or “OneDrive – Personal”.

2Move the Files Out of the OneDrive Folder
To delete files from OneDrive but not your computer, you must move them out of your OneDrive folder first.

3Let OneDrive Sync
Once you move the files to a location outside your OneDrive folder, OneDrive will recognize they are no longer in its sync area. It will then remove them from your OneDrive cloud storage during its next sync. No further action is needed within OneDrive itself.

4Check if the Files Are Gone
After moving your files, give OneDrive time to sync, then check your OneDrive online account to confirm the files are gone from the cloud.
Reference:
https://support.microsoft.com/en-us/onedrive/delete-files-or-folders-in-onedrive
Summary
Moving files from your computer’s OneDrive folder to another location before they sync lets you remove them from cloud storage while keeping them on your hard drive.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!