Try these approaches in order on Windows 11.
- Make sure the file isn’t in use A file that’s open by any process can’t be deleted.
- Close all apps that might be using the file.
- Safely eject and reconnect the external drive.
- Try deleting again in File Explorer:
- Press Windows key + E to open File Explorer.
- Browse to the file on the external drive.
- Select it and press Delete.
If it still won’t delete, a background process may be holding it open. Close any software that might be indexing, backing up, or scanning that drive, then try again.
- Check for file system corruption on the external drive If the file system is corrupted, Windows may not be able to delete the file until errors are fixed.
Run chkdsk on the external drive:
- Note the drive letter of the external disk (for example,
E:). - Open an elevated Command Prompt (Run as administrator).
- Run:
chkdsk E: /f - Let it complete and fix any errors it finds.
- After it finishes, safely remove and reconnect the drive, then try deleting the file again in File Explorer or with PowerShell.
- Try deleting in Safe Mode If some process on the normal desktop keeps the file locked, booting into Safe Mode can help:
- Restart into Safe Mode.
- Open File Explorer and navigate to the file on the external drive.
- Delete the file.
- If multiple causes are involved
In more complex cases (for example, permissions issues plus corruption or odd file names), standard tools may fail. After running
chkdskand ensuring the file isn’t in use, advanced tools likesubinacland special path syntax (for example,\\?\E:\path\to\file) can be used to take ownership and then delete, but these are typically needed only when there are unusual name/ACL issues on NTFS volumes.
If the external drive continues to show corruption or more files become inaccessible, back up any important data and consider reformatting the drive.
References: