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 Jul 9, 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

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.

The OneDrive "Files On-Demand" feature alters the default syncing behavior. Normally, deleting a file in one location removes it everywhere. However, "Files On-Demand" lets users select which files and folders sync to their Windows 11 computer, stopping unwanted deletions from local storage.

OneDrive's Files On-Demand feature displays all your OneDrive files within Windows 11's File Explorer. This feature downloads files only when you open them, conserving computer storage space and allowing independent management of cloud files.

⚡ 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

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

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

OneDrive files can be removed from cloud storage without deleting them from your computer by moving those files out of the OneDrive folder on your PC. This method keeps the files on your computer, allowing you to then delete the cloud copy from the online OneDrive service.

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

⚠️Warning
Moving files from the OneDrive folder to another location tells OneDrive those files are no longer in the sync area. During the next sync, OneDrive will remove these files from cloud storage. No additional steps are required in OneDrive.
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

⚠️Warning
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:

Summary

Moving files from a computer's OneDrive folder to another location before they sync removes files from cloud storage while keeping the files on the computer's hard drive.

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

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

Leave a Comment

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