Fix the 'Windows cannot find' error on Windows
'Windows cannot find, make sure you typed the name' usually means a shortcut points at a file that moved, was deleted, or got quarantined. Here's how to fix it.

The message “Windows cannot find [name] — make sure you typed the name correctly, then try again” almost always means one thing: something is pointing Windows at a file that is no longer where it expects. The target moved, was deleted, or an antivirus tool quarantined it. Fix or recreate whatever is doing the pointing — usually a shortcut or a startup entry — and the error clears.
Why the error appears
Windows shows this when it follows a path to a file and finds nothing there. The path might come from a desktop shortcut, a Start menu tile, a startup entry that runs at sign-in, a Scheduled Task, or something you typed into the Run box (Windows key + R). If the file at the end of that path was renamed, moved to another folder, or removed, the launcher still holds the old address and Windows reports it as missing.
The wording is generic on purpose. The name in brackets is the clue: it tells you exactly which file or program Windows failed to open, which usually points straight at the culprit.
| What you see | Likely cause | The fix |
|---|---|---|
| Error opening a desktop icon | Shortcut target moved or deleted | Recreate the shortcut, or point it at the file’s new location |
| Error at sign-in, then again later | Startup entry for a removed program | Turn the entry off in Startup settings |
| Error only from the Run box | Wrong name, wrong extension, or bad path | Type the full path, with the file extension |
| A file you know existed is gone | Removed by antivirus or malware cleanup | Run a scan, then restore or reinstall the real file |
Repair or recreate a broken shortcut
Right-click the shortcut and choose Properties, then the Shortcut tab, and look at the Target box. If it lists a location that no longer exists — for example a program you uninstalled — the shortcut is dead. You have two clean options: point Target at the file’s current location, or delete the shortcut and make a fresh one from the actual file (right-click the file and choose Show more options > Send to > Desktop (create shortcut)).
When the program itself was uninstalled, do not try to resurrect the shortcut. Just remove it. If the file was only moved, use Open file location on a working copy to confirm the real path first.
Clear a startup entry that points nowhere
If the error pops up the moment you sign in, a startup entry is trying to launch something that is gone. Open Settings > Apps > Startup and switch off any entry for a program you no longer have. You can also review these on the Startup apps tab in Task Manager. Microsoft describes both routes in Configure startup applications in Windows. Turning the entry off stops Windows from chasing the missing file at every boot.
When antivirus or malware removed the file
Sometimes the file is genuinely gone because security software took it. Windows Security or another antivirus may have quarantined it, or a malware infection — or the cleanup after one — may have deleted it. Start by running a scan so you know which situation you are in; Microsoft explains the steps in how to start a scan for viruses or malware and in the overview of virus and threat protection in the Windows Security app.
If the scan flagged a real threat, let it finish and do not restore the file — the shortcut error is a side effect of the cleanup working. If you are confident it was a false positive on a legitimate program, restore it from Protection history in the Windows Security app, or reinstall the software from the vendor. If a file you cared about was deleted rather than quarantined, our guide to recovering deleted files on Windows walks through your options before they are overwritten.
Repair Windows system files with SFC and DISM
If the error hits a core Windows command — say explorer from the Run box — and the shortcuts and startup entries all check out, the system files themselves may be damaged. Open Terminal or Command Prompt as an administrator and run the built-in repair tools in order. Microsoft’s own instructions are in use the System File Checker tool to repair missing or corrupted system files.
Run this first to repair the underlying image:
DISM.exe /Online /Cleanup-image /Restorehealth
Then run the file check, which replaces protected system files from the now-healthy image:
sfc /scannow
DISM comes first because it supplies the good files that sfc /scannow uses for the repair. Restart when both finish.
These steps read the same on current Windows because Microsoft keeps the tools and menus consistent across versions. This guide is written Windows 11-first, since Windows 10 reached end of support on October 14, 2025 and no longer gets security updates. If your machine also feels sluggish while you are in here, it is worth a look at why a Windows PC gets slow and how to free up space on Windows 11, since a full or cluttered drive causes its own share of file-not-found headaches. When in doubt, skip the shortcut and open the file from its real folder, or type the full path with the extension — that tells you immediately whether the file exists or the launcher was simply out of date.