Skip to content
Follow
Windows 🟢 Beginner

How to Delete Files and Folders from Your OneDrive But Not Your Computer in Windows 11

Richard
Written by
Richard
Jun 28, 2026 Updated Aug 12, 2026 2 min read
How to Delete Files and Folders from Your OneDrive But Not Your Computer in Windows 11
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.

⚡ Quick Answer

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”.

OneDrive folder location in Windows 11 File Explorer sidebar.
OneDrive folder location in Windows 11 File Explorer sidebar.

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.

Cut option highlighted in File Explorer context menu for OneDrive files.
Cut option highlighted in File Explorer context menu for OneDrive files.

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.

Pasting a file or folder into a non-OneDrive location in File Explorer.
Pasting a file or folder into a non-OneDrive location in File Explorer.

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:

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?

Tags: #Windows 11
Was this helpful?
Richard

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.

📚 Related Tutorials

How to Reset OneDrive Sync on Windows 11
Windows How to Reset OneDrive Sync on Windows 11
How to Delete Files from Your Computer but Keep Them in OneDrive on Windows 11
Windows How to Delete Files from Your Computer but Keep Them in OneDrive on Windows 11
How to lock your OneDrive Personal Vault
Windows How to lock your OneDrive Personal Vault
How to Rename Files and Folders in Windows 11
Windows How to Rename Files and Folders in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *