Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Could not find this item while removing or deleting files in windows 10?

· 5 min read · Home Tech

In this article
  1. Why Windows Shows This Error
  2. How to Fix It: Step-by-Step
  3. Alternative Methods That Sometimes Work
  4. Why You Shouldn't Ignore It
  5. Common Mistakes and Misconceptions
  6. When to Seek Professional Help
  7. Frequently Asked Questions

The "Could not find this item" error in Windows 10 occurs when you try to delete or move a file or folder that Windows can no longer locate in the file system, even though it still appears in File Explorer. This usually happens due to corrupted file names, invalid characters, or broken directory entries, and it can be fixed by using Command Prompt to remove the item directly.

Why Windows Shows This Error

Windows 10 relies on a database called the Master File Table (MFT) to track every file and folder on an NTFS drive. Sometimes the MFT contains an entry pointing to data that no longer exists, or the name stored in the MFT contains characters that Windows Explorer cannot handle (like trailing dots, spaces, or reserved names such as CON, PRN, AUX). When you try to delete such an item, Explorer looks for the file using the name it sees, fails to find a match, and shows the error. The item may also be a leftover from a failed sync, a corrupted download, or a program that was uninstalled improperly.

How to Fix It: Step-by-Step

Before trying anything else, restart your PC. Sometimes the file is locked by a background process, and a reboot clears the lock. If that doesn't help, the most reliable method is to use Command Prompt with a special syntax that bypasses the normal name resolution.

  1. Open Command Prompt as administrator (press Windows+X, then select "Command Prompt (Admin)" or "Windows PowerShell (Admin)").
  2. Use the cd command to navigate to the folder that contains the problematic item. For example: cd /d C:\Users\YourName\Downloads
  3. Type dir /x to list all items in that folder, including their short 8.3 names (which appear in the rightmost column).
  4. Look for the item that gives you the error; note its short name (e.g., PROGRA~1).
  5. Type rmdir \\?\C:\full\path\to\folder for a folder, or del \\?\C:\full\path\to\file for a file, using the full path and the short name if needed.

For example, if the folder is in Downloads and its short name is ABCDEF~1, you would type: rmdir \\?\C:\Users\YourName\Downloads\ABCDEF~1. Press Enter. If you get a message asking for confirmation, type Y and press Enter again.

Alternative Methods That Sometimes Work

If Command Prompt doesn't work or you prefer a graphical approach, try these in order:

  • Use a third-party file unlocker (like LockHunter or Unlocker) to see if a process is holding the file. These tools show which program is using the file and can force-close the handle.
  • Boot into Safe Mode by holding Shift while clicking Restart, then go to Troubleshoot > Advanced Options > Startup Settings > Restart, and press 4. In Safe Mode, try deleting the item again.
  • Run Check Disk to repair file system errors. Open Command Prompt as admin and type chkdsk C: /f (replace C: with your drive letter). You'll need to restart to let it run.
  • Use a Linux live USB to boot into a different operating system and delete the file from there. This bypasses Windows entirely.

Why You Shouldn't Ignore It

Leaving a broken file entry can cause issues like phantom disk space usage, slow folder browsing, or errors when copying the entire folder. It can also indicate a deeper problem with your drive, such as bad sectors or a failing hard disk. If the error appears frequently, run a full disk check and back up your important data.

Common Mistakes and Misconceptions

One common mistake is trying to rename the file first. If the name is corrupted, renaming often fails with the same error. Another is using the del command without the full path – that can delete the wrong file if you're in the wrong directory. Also, many users think the file is hidden or in the Recycle Bin, but the error actually means the file system entry is broken, not that the file is hidden. The Recycle Bin won't help because the item never gets there – Windows can't even move it.

When to Seek Professional Help

If you've tried all the methods and the error persists, it could be a sign of a failing drive. Run a SMART test using a tool like CrystalDiskInfo (free) to check the drive's health. If the drive is failing, stop using it immediately and consult a data recovery specialist if the data is valuable. Otherwise, you can try formatting the drive, but that will erase everything.

Frequently Asked Questions

Can I delete the item using PowerShell?

Yes, you can use PowerShell with the same verbatim path syntax. Open PowerShell as admin and type Remove-Item -Path "\\?\C:\full\path\to\file" -Force. It works similarly to Command Prompt.

Will this error damage my other files?

No, the error only affects the specific item. Other files and folders are safe. However, if the cause is a failing drive, other files could be at risk, so back up regularly.

Why does the file show in Explorer but not in Command Prompt?

Explorer may be showing a cached view of the folder. Press F5 to refresh, or navigate to the folder in Command Prompt and use dir to see if the item is actually there. If it's not, the entry is purely phantom.

Is it safe to use the \\?\ prefix?

Yes, the \\?\ prefix tells Windows to use the raw path without interpreting characters. It's a standard way to access paths longer than 260 characters or with special characters. It's safe as long as you type the correct full path.

What if the item is on an external drive?

Use the same commands but with the external drive's letter, e.g., rmdir \\?\E:\folder. Make sure the drive is connected and recognized.

Can I prevent this from happening?

To reduce the chance, avoid using special characters in file names, don't force-remove USB drives while files are in use, and keep your system updated. Also, regularly run disk checks to catch issues early.