How to Delete Files and Folders from Your OneDrive But Not Your Computer in Windows 11
Removing files from your OneDrive cloud storage in Windows 11 without deleting them from your local hard drive stops you from losing important files when cleaning up cloud space. OneDrive builds a dedicated folder on your PC that mirrors your Microsoft cloud storage, which normally means deleting a file in one spot deletes it everywhere.
The OneDrive Files On-Demand feature fixes this problem by keeping your cloud and local files separate. Turning on this setting lets you hide or remove files from the cloud while keeping the actual files safely saved on your computer hard drive.
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
Moving items out of the primary directory first lets you clear cloud storage while keeping copies safe on your computer’s hard drive.
Here is the method to follow:
1Find Your OneDrive Folder
Locate your OneDrive directory on the computer within your main user profile. Open File Explorer (the folder icon on your taskbar ) and scan the left navigation pane for “OneDrive”. Multiple accounts might show up as “OneDrive – ” or “OneDrive – Personal”.

2Move the Files Out of the OneDrive Folder
Dragging target files outside the OneDrive directory on your PC preserves local copies. This action secures files locally so you can purge the online cloud copy safely.

3Let OneDrive Sync
Relocating files signals to OneDrive that those items sit outside the active sync area. The next background sync cycle drops those files from cloud storage automatically. No manual dashboard tweaks are needed.

4Check if the Files Are Gone
Allow the sync engine a few moments to process changes, then sign into your web portal to verify the cloud purge succeeded.
Reference:
https://support.microsoft.com/en-us/onedrive/delete-files-or-folders-in-onedrive
Summary
Shifting files out of a computer's OneDrive folder prior to synchronization strips them from cloud storage while retaining local hard drive copies.
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!