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

3Let OneDrive Sync

4Check if the Files Are Gone
Reference:
https://support.microsoft.com/en-us/onedrive/delete-files-or-folders-in-onedrive
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?
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!