Providing Free and Editor Tested Software Downloads
< HOME | TUTORIALS | GEEK-CADE| WEB TOOLS | YOUTUBE | NEWSLETTER | DEALS! | FORUMS | >

MajorGeeks.com - Got Geek?

Software Categories

All In One Tweaks
Android
Antivirus & Malware
Appearance
Back Up
Browsers
CD\DVD\Blu-Ray
Covert Ops
Drivers
Drives (SSD, HDD, USB)
Games
Graphics & Photos
Internet Tools
Linux Distros
MajorGeeks Windows Tweaks
Multimedia
Networking
Office & Productivity
System Tools

Other news

· How To and Tutorials
· Life Hacks and Reviews
· Way Off Base
· MajorGeeks Deals
· News
· Off Base
· Reviews



IObit Black Friday Sale

spread the word

· YouTube
· Facebook
· Instagram
· Twitter
· Pintrest
· RSS/XML Feeds
· News Blur
· Yahoo
· Symbaloo

about

· Top Freeware Picks
· Malware Removal
· Geektionary
· Useful Links
· About Us
· Copyright
· Privacy
· Terms of Service
· How to Uninstall

top downloads

1. GS Auto Clicker
2. Macrium Reflect FREE Edition
3. Smart Defrag
4. Sergei Strelec's WinPE
5. MusicBee
6. McAfee Removal Tool (MCPR)
7. Microsoft Visual C++ 2015-2022 Redistributable Package
8. Visual C++ Redistributable Runtimes AIO Repack
9. K-Lite Mega Codec Pack
10. Fortect
More >>

top reads

Star Why Are RAM Prices Skyrocketing?

Star Stop Windows 11 From Spying On You: Free Tools and PowerShell

Star AI Answers: Authority Without Accountability

Star Fun with CMD: 5 Windows command-line tools for music, video, and more

Star All the New Features Landing in Windows 11 This December

Star Lossless vs Lossy: When FLAC, APE, and ALAC Beat MP3 and When They Don't

Star Google Search Tricks You'll Actually Use in 2025 and Beyond

Star Fresh PC Checklist: First 12 Things to Do On a New Windows 11 Machine

Star Running AI Models Locally: What They Are, Where to Find Them, and How to Get Started

Star Deciding Between Idle State, Sleep Mode, and Shutdown: What's Best for Your PC?


MajorGeeks.Com » Overview» Tutorials and Video Guides » How to Delete Locked or Undeletable Files or Folders

How to Delete Locked or Undeletable Files or Folders

By Timothy Tibbetts

on 06/23/2023

⚡ Black Friday Blowout! IObit Pro Up to 90% Saving PLUS $5 off! ⚡
Once-a-year pricing on speed, privacy, and protection. Don’t miss the best deal IObit drops all year!

If you're having trouble deleting a locked or undeletable file or folder from your hard drive, here are some options.

Some of the error messages you might encounter that we can work around include:

  • Cannot delete file: Access is denied
  • The file is in use by another program or user
  • The source or destination file may be in use.
  • The file or directory is corrupted and unreadable.
  • Make sure the disk is not full or write-protected and that the file is not currently in use.
  • There has been a sharing violation.

    Video tutorial:



    How to Delete Locked or Undeletable Files or Folders - Reboot

    A file that is in use can't be deleted, so try rebooting. Optionally, you can boot into Safe Mode, which increases the file's odds of not being in use.

    How to Delete Locked or Undeletable Files or Folders - PowerShell or Command Prompt

    Open PowerShell or the Command Prompt.

    To delete a file, type in del "Path of File". Replace "Path of File" with the path to the file to delete without quotes.

    To delete a folder and all of the subfolders and files, you can use either RD or RMDIR. To delete an entire folder and all subfolders, type in rd /s "Path of Folder". Replace "Path of Folder" with the path to the folder to delete without quotes.

    How to Delete Locked or Undeletable Files or Folders - Third-Party Apps

    The easiest way to delete an undeletable file or folder is to use a third-party app.

    Unlocker Portable is the easiest, best freeware application to unlock your files or folders without installing an app.

    The app is easy to use, but if you need help, here's a video tutorial.



    Other third-party apps can be browsed here.

    How to Delete Locked or Undeletable Files or Folders - Check Drive

    Close all open programs.

    Open PowerShell as Administrator and type in chkdsk /f /r

    Press Y when prompted.

    Your computer will reboot and try to repair any problems.

    Similar:
  • How To Take Full Ownership of Files & Folders
  • Access Denied, Error Deleting File or Folder
  • How to Delete a File or Folder in Windows 10
  • How to Use Storage Sense to Delete Junk Files in Windows 10 Automatically
  • Best Drive Cleaner? CCleaner VS Wise Disk Cleaner VS PrivaZer

    comments powered by Disqus





  • © 2000-2025 MajorGeeks.com
    Powered by Contentteller® Business Edition