Windows

How to Delete Files and Folders in Windows 11

Richard
Written by
Richard
Aug 7, 2021 Updated Apr 28, 2026 3 min read
How to Delete Files and Folders in Windows 11

Deleting files helps you stay organized and keeps your computer running fast. Over time, your drive fills up with old downloads, temporary files, and documents you no longer need. Removing these items frees up space for new apps and files.

What happens when you delete files?

When you delete a file, Windows 11 usually sends it to the Recycle Bin. It stays there until you empty it. This acts as a safety net. If you delete something by mistake, you can restore it easily. If you delete a file permanently, it is removed from your hard drive entirely and is much harder to recover.

How to move items to the Recycle Bin

This is the safest way to remove files. You can always change your mind later.

  • Click the file or folder once to select it.
  • Press the DELETE key on your keyboard.
  • Alternatively, drag the item into the Recycle Bin icon on your desktop.

You can also use the toolbar in File Explorer to delete items.

Windows 11 interface for deleting files and folders

Another option is to right-click the file and select the trash can icon.

Context menu option to delete an item in Windows 11

For more choices, right-click and select “Show more options.”

Windows 11 delete options in the show more menu

Then, click the “Delete” command from that menu.

Show more options for deleting in Windows 11

How to restore deleted items

Did you make a mistake? You can bring files back from the Recycle Bin.

  • Open the Recycle Bin on your desktop.
  • Select the item you want to get back.
  • Click the three dots (ellipsis) in the toolbar.
  • Select Restore the selected items.

To bring everything back at once, choose Restore all items.

Restoring items from the trash in Windows 11

How to permanently delete files

If you want to delete a file forever without sending it to the Recycle Bin, follow these steps:

  1. Select the file or folder.
  2. Hold down the SHIFT key on your keyboard.
  3. While holding SHIFT, press the DELETE key.

Windows will ask you to confirm this action because you cannot undo it.

Permanently deleting items in Windows 11

What is the difference between Delete and Shift + Delete?

The standard Delete key moves files to the Recycle Bin, allowing for easy recovery. Shift + Delete bypasses the Recycle Bin entirely, permanently removing the file from your drive. Use the latter only when you are certain you no longer need the data, as it is much harder to recover.

Advanced deletion and locked files

Sometimes, system files or files used by a specific user like C:\Users\GenericUser\Documents may be locked. If you are an administrator, you can force-delete stubborn files using the Command Prompt. (Requires Admin Privileges)

Run the following command to remove a file:

Command Prompt
del /f /q "C:\Path\To\File.txt"

Storage optimization and automation

You can use Windows 11 Storage Sense to automatically free up disk space. Go to Settings > System > Storage to turn this on. It will automatically empty your Recycle Bin and remove temporary files. For more details, visit the official Microsoft support page on freeing up drive space.

Summary

Deleting files in Windows 11 is a simple way to manage your storage. Use the standard Delete key for temporary removal, or Shift + Delete for permanent deletion. Always use tools like Storage Sense to keep your system clean, and remember that files deleted from OneDrive are removed from all synced locations.

Does deleting a file from OneDrive also delete it from my PC?

Yes, if you have OneDrive syncing enabled, deleting a file from your synced folder will remove it from both your local PC and the cloud storage. Always check your OneDrive settings if you want to keep a local copy while removing the cloud version, or use Files On-Demand.

Was this guide helpful?

Tags: #Windows 11
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.

2468 articles → Twitter

📚 Related Tutorials

How to Delete Files in Windows 11
Windows How to Delete Files in Windows 11
How to Restore and Add Recycle Bin to Windows 11
Windows How to Restore and Add Recycle Bin to Windows 11
How to Enable Recycle Bin for USB Drives and Other Removable Drives in Windows 11
Windows How to Enable Recycle Bin for USB Drives and Other Removable Drives in Windows 11
How to Rename Files and Folders in Windows 11
Windows How to Rename Files and Folders in Windows 11

8 responses to “How to Delete Files and Folders in Windows 11”

  1. I try to delete folder than under users, I got message: “This action can’t be completed because the folder or a file in it is open in another program. Close the folder or file and try again.”
    this folder is created by windows 11 and name is “defaultuser0”.
    My question is: How to close this folder and file?

Leave a Reply

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