Windows Cannot Find Error: 6 Causes I Tested and Fixed

Mudin Saiful

A cartoon open cardboard box sitting empty with a magnifying glass, illustrating how to fix the Windows cannot find error

Tested on Windows 11 version 26H2 (OS Build 26300.9974), Pro edition.

The Run box, a desktop shortcut and a short program name are the quickest ways to open anything on Windows. You press Win+R, type a few letters, hit Enter, and the app is there. Shortcuts work the same way with one double-click.

There are times when Windows answers with a small box instead: “Windows cannot find ‘something’. Make sure you typed the name correctly, and then try again.” Sometimes you really did make a typo. Even worse, sometimes the file is sitting right where the message says it isn’t, and you start to wonder if your PC is broken.

In this article, we’ll cover the six causes I could actually reproduce on a Windows 11 PC: a typo in the Run box, a path with spaces and no quotation marks, a shortcut whose target moved or was deleted, a leftover “Debugger” value in the registry, a program name Windows can’t look up through PATH or App Paths, and a block from the “Don’t run specified Windows applications” policy. For each one I’ll show the exact message, the fix, and the proof that it worked. I made a tiny test app called Price Tracker for this, and every change was removed at the end.

Causes of the “Windows Cannot Find” Error

The message itself doesn’t tell you much. Windows shows the same wording whether you misspelled a name, pointed a shortcut at a file that’s gone, or something else stepped in between. So the first thing to do is look at the text inside the quotation marks. That’s the name Windows tried to open, and it’s your best clue.

When you type a bare name like “notepad” into Run, Windows looks for it in a fixed set of places: the current folder, the Windows folder, System32, every folder in the PATH environment variable, and the App Paths list in the registry. Microsoft documents this order for the function Run uses behind the scenes. If the name isn’t in any of those places, you get the error. When you give a full path, Windows skips the search, so the only question left is whether that exact path really exists.

Here’s a quick way to tell which section you need. If the quoted text is a short name you typed, start with the typo and PATH sections. If it’s a long path with a space in it, go to the quotation marks section. If it came from a desktop shortcut, go to the shortcut section. If the quoted path is correct and the file is definitely there, jump to the Debugger section, because that one fooled me too.

How to Fix a Typo in the Run Box

This is the most common reason, and it’s super easy to fix. The Run box doesn’t guess what you meant. One missing letter and Windows has nothing to open.

The same goes for Settings pages that people open with “ms-settings:” commands. Those need the colon at the end, and the error looks a bit different depending on what exactly is wrong. Here’s how that should go:

Type the name in the Run box

The Windows 11 Run box with the misspelled program name notepd

Press Win+R to open Run. I typed “notepd” in the “Open” field (number 1) on purpose, missing the “a” in notepad, and pressed Enter.

Read the name inside the quotation marks

Windows cannot find notepd, make sure you typed the name correctly, caused by a typo in Run

After a moment you will see “Windows cannot find ‘notepd’. Make sure you typed the name correctly, and then try again.” The part in quotes (number 1) is exactly what Windows searched for. Compare it letter by letter with the name you meant to type.

Correct the name and run it again

Correcting the program name in the Run box and clicking OK

Click “OK” on the error. The Run box comes back with your text already selected, so you can just type over it. Type the correct name (number 1) and click “OK” (number 2).

The app opens

Notepad opening after the name in the Run box was fixed

Notepad opened right away (number 1). If you’re not sure about a name, click “Browse…” in the Run box instead and pick the file. Windows fills in the full path for you, so there’s no room for a typo.

A typo in an ms-settings link gives a different box

Get an app to open this ms-setings link box caused by a misspelled ms-settings command

Next, I tried “ms-setings:display” with one “t” missing. This time there’s no “Windows cannot find” at all. Windows thinks “ms-setings” is a link type it doesn’t know and says “Get an app to open this ‘ms-setings’ link” (number 1). Don’t click “Browse Microsoft Store”, there’s no app to find. Close the box and fix the spelling.

A missing colon gives the classic error

Windows cannot find ms-settings because the command was typed without the colon

Then I typed “ms-settings” without the colon. Now Windows treats it as a file name and shows “Windows cannot find ‘ms-settings'” (number 1). The colon is what tells Windows it’s a Settings link and not a program.

Add the colon and the page name

Typing ms-settings:display with the colon in the Run box

Type the full link with the colon, for example “ms-settings:display” (number 1), and press Enter.

The Settings page opens

The System Display page in Settings opened from an ms-settings command

Settings opened straight on “System > Display” (number 1). Hopefully, your shortcut or script that uses ms-settings will work as it should once the colon is in place.

Note: If you get “Windows cannot find” for Windows’ own tools like explorer.exe, ms-settings: with the correct spelling, or System Properties, the typo isn’t the problem. That usually points to damaged system files, and you’ll find the fix further down in the common problems section.

How to Fix Paths With Spaces Using Quotation Marks

A space in a folder name like “Price Tracker” is a classic troublemaker. When a program path has spaces and you add an option after it, Windows has to guess where the path ends and the option starts. Without quotation marks it might stop at the first space and look for “C:\Tools\Price”, which doesn’t exist.

I expected the Run box to fail here, and it didn’t. The shortcut wizard did. So the rule is simple: put quotes around the path itself, and leave options like “–minimized” outside the quotes. Here’s what you do:

Try the path in the Run box first

A program path with spaces and no quotation marks typed in the Run box

I typed the full path to my test app with an option after it and no quotes at all (number 1): C:\Tools\Price Tracker\PriceTracker.exe –minimized

Run is forgiving about it

The test app still opening from Run even though the path with spaces has no quotes

Price Tracker opened anyway (number 1). The Run box tries the path piece by piece until it finds a file that exists. I even wrapped the whole line, option included, in one pair of quotes and it still worked. So if Run is your only problem, spaces are probably not the cause.

Create a shortcut with the same unquoted path

The Create Shortcut wizard with a path that has spaces but no quotation marks

Now the real test. Right-click an empty spot on the desktop and choose “New” followed by “Shortcut”. Paste the same unquoted path into “Type the location of the item” (number 1) and click “Next” (number 2).

The wizard stops at the first space

The file cannot be found message while creating a shortcut to a path with spaces

Unfortunately, the wizard cut the path at the space and said “The file C:\Tools\Price cannot be found.” (number 1). This is exactly what happens to shortcuts and scripts that people copy by hand.

Put quotation marks around the path only

The shortcut path wrapped in quotation marks with the option outside the quotes

Click “OK”, then fix the location to “C:\Tools\Price Tracker\PriceTracker.exe” –minimized, with the quotes around the path and the option after the closing quote (number 1). Click “Next” (number 2), give the shortcut a name, and click “Finish”. This time the shortcut was created without any complaint.

"C:\Tools\Price Tracker\PriceTracker.exe" --minimized

How to Fix a Broken Shortcut by Updating the Target

Shortcuts are just little pointers. When the program they point to moves, gets renamed by an update, or is uninstalled, the pointer is left aiming at nothing. You click on the icon, and instead of the app you get a warning.

Here’s something I didn’t expect. When I moved the exe to a different folder on the same drive, Windows quietly fixed the shortcut by itself. It was only after I deleted the file that the shortcut broke. The process has several steps:

Windows can follow a moved file on its own

PowerShell showing the shortcut target updated by itself after the exe was moved

I moved PriceTracker.exe from “C:\Tools\Price Tracker” to “C:\Tools\Archive” and double-clicked the shortcut. The app opened normally. When I read the shortcut’s target in PowerShell, it had changed to the new location by itself (number 1). So if your shortcut broke, the file was most likely deleted, renamed, or moved to another drive.

A deleted target gives “Problem with Shortcut”

The Problem with Shortcut box after the target file was deleted

Then I deleted the exe and double-clicked again. Windows showed “Problem with Shortcut” with the text “The item ‘PriceTracker.exe’ that this shortcut refers to has been changed or moved” (number 1). If you know the program is gone for good, click “Yes” and the shortcut is deleted. If you reinstalled it or know where it lives now, click “No” (number 2) so you can fix the shortcut instead.

Open the shortcut’s Properties

Properties in the right-click menu of a desktop shortcut in Windows 11

Right-click the shortcut and click on “Properties” (number 1). Alt+Enter does the same thing if the shortcut is selected.

Look at Target and Start in

Shortcut Target and Start in fields still pointing to the old location

Go to the “Shortcut” tab. “Target” (number 1) still points to the old “Archive” folder, and “Start in” (number 2) points there too. Both need to match the place where the program is now. I put a fresh copy of the app back in “C:\Tools\Price Tracker”, as if I had reinstalled it.

Forgetting the quotes gives another error

The name specified in the Target box is not valid because of a path with spaces and no quotes

I typed the new target without quotes first, just to see what happens, and clicked “Apply”. Windows said “The name ‘C:\Tools\Price’ specified in the Target box is not valid” (number 1). It’s the same space problem as before, only with a different message.

Fix the target with quotes and click OK

Setting the shortcut Target and Start in to quoted paths and clicking OK

Click “OK” on the error. Then set “Target” to the quoted path with the option after it (number 1), set “Start in” to the program’s folder in quotes (number 2), and click “OK” (number 3).

The shortcut works again

The shortcut opening the app again after the Target was fixed

Double-click the shortcut. Price Tracker opened right away (number 1). If you don’t know where the program went, it’s often quicker to delete the old shortcut and make a new one from the Start menu by right-clicking the app and choosing “Open file location”.

My experience: The automatic repair was the surprise of this test. I had planned a “moved file” screenshot and got a working app instead. Windows keeps track of where shortcut targets go, as long as the file still exists. That’s why “Problem with Shortcut” almost always means the program really is gone, not just shuffled around.

How to Fix It by Removing a Leftover Debugger Value

This is the cause that makes people think they’re going crazy. The message names a file, you open File Explorer, and the file is right there. You type the full path into Run, and you still get “Windows cannot find”.

The reason is a registry setting called Image File Execution Options. It lets a “Debugger” program start in place of the real one. Some security tools and cleanup utilities have left this value behind in the past, and the top answer on a popular Microsoft Q&A thread traced the error to exactly this. When the Debugger file doesn’t exist, Windows can’t start it, and it reports the name of the program you clicked. I recreated that situation with a Debugger value pointing to a file that doesn’t exist. Here’s how that should go:

The error names a file that exists

Windows cannot find an exe file that is actually in its folder

With the Debugger value in place, double-clicking my shortcut gave “Windows cannot find ‘C:\Tools\Price Tracker\PriceTracker.exe'” (number 1). The path is correct, and the file was there the whole time.

Check Image File Execution Options in the registry

A Debugger value under Image File Execution Options pointing to a file that doesn't exist

Press Win+R, type “regedit”, click on “Yes” in the User Account Control box, and paste this path into the address bar:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options

Look for a subkey with the same name as the program that fails, in my case “PriceTracker.exe”. Inside it there’s a “Debugger” value (number 1) pointing to “C:\Program Files\OldGuard\guardhook.exe”, a file that doesn’t exist.

Warning: Only touch the subkey for the program that’s failing. Many subkeys under Image File Execution Options belong to Windows itself and hold other values, so don’t delete the whole list. As always, export the key with “File” followed by “Export” before you change anything.

Delete the Debugger value

Deleting the Debugger value in Registry Editor

Right-click on “Debugger” and click on “Delete” (number 1). Confirm with “Yes”. If the subkey is now empty and you created it yourself, you can delete the subkey too.

The app opens again

The app opening again after the Debugger value was removed

Double-click the shortcut again. Price Tracker opened immediately (number 1), with no restart needed. If the Debugger value points to a tool you still use, such as a debugger you installed on purpose, leave it alone and ask yourself why it was set. If you have no idea where it came from, it’s also advisable to run a full scan in Windows Security.

You can check every program for this in one go with PowerShell. It lists only the subkeys that have a Debugger value:

Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options' | Where-Object { $_.GetValue('Debugger') } | ForEach-Object { $_.PSChildName + ' -> ' + $_.GetValue('Debugger') }

How to Fix “Windows Cannot Find” for a Program Name Using PATH

Typing “notepad” works because notepad lives in a folder Windows always checks. Portable apps and tools you unzip somewhere else don’t get that treatment. You type the name, and Windows simply doesn’t know which folder to look in.

The PATH environment variable is a list of folders Windows searches for program names. Add your program’s folder to it, and the short name starts working in Run and in Command Prompt. I would strongly suggest using the user PATH, not the system one, so you can’t break anything for other accounts. Here’s what you do:

Run can’t find the name yet

Windows cannot find a program name that isn't in PATH

Typing “pricetracker” in Run gave “Windows cannot find ‘pricetracker'” (number 1), even though the app was in C:\Tools\Price Tracker. Windows just never looks there.

Open your account’s environment variables

Searching for Edit environment variables for your account in Windows 11

Click on Search on the taskbar and type “environment variables”. Click on “Edit environment variables for your account” (number 1). The other result, “Edit the system environment variables”, is for all users and needs admin rights.

Select Path and click Edit

Selecting Path under User variables and clicking Edit

In “User variables”, click on “Path” (number 1), then click on “Edit…” (number 2). Don’t click “Delete” here, it removes the whole list.

Add the program’s folder

Adding the program folder to PATH with the New button

Click on “New” (number 1) and type the folder that holds the exe, not the exe itself. In my case it’s “C:\Tools\Price Tracker” (number 2). You don’t need quotes here, even with spaces. Click “OK” (number 3), then click “OK” again on the Environment Variables window.

Type the short name again

Typing the short program name in Run after adding it to PATH

Open Run with Win+R and type the program name (number 1). You can leave out “.exe”.

The program starts

The program starting by its short name from PATH

Price Tracker opened (number 1). I didn’t have to sign out or restart, because the Environment Variables window tells Windows about the change when you click “OK”. Command Prompt windows that were already open won’t see the new PATH, though, so close and reopen them.

How to Fix a Broken App Paths Entry

App Paths is the other list Windows checks, and it’s how many installers make their short names work in Run without touching PATH. Each entry is a registry key named after the exe, with a “(Default)” value that holds the full path. Windows 11 already has several of these for your account, including notepad.exe, mspaint.exe and wt.exe.

The trouble starts when the program moves and the App Paths entry doesn’t. A Microsoft Q&A thread from 2025 described exactly this with Notepad, where the entry pointed to an old app package. To recreate it, I made an entry called “ptrack.exe” that pointed to the Archive folder I had already deleted. The process has several steps:

Run can’t find the short name

Windows cannot find ptrack because the App Paths entry points to an old location

Typing “ptrack” in Run gave “Windows cannot find ‘ptrack'” (number 1). Note that the message doesn’t mention the real path at all, only the name you typed.

Find the App Paths key

The App Paths ptrack.exe key with a Default value pointing to a missing file

Open “regedit” and go to the following path. Click on the key with the name you typed plus “.exe” (number 1). Its “(Default)” value (number 2) shows where Windows is being sent, here “C:\Tools\Archive\PriceTracker.exe”, which no longer exists.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths

If you don’t find it there, check the same path under HKEY_LOCAL_MACHINE. Apps installed for all users register there instead.

Point (Default) at the real file

Changing the App Paths Default value to the correct exe path

Double-click on “(Default)”, type the full path to the exe in “Value data” (number 1), and click “OK” (number 2). In the registry you don’t need quotes around the path. If the program is gone completely, you can delete the whole key instead.

The short name works

The short App Paths name opening the app from Run again

I typed “ptrack” in Run again and Price Tracker opened (number 1). Keep in mind that App Paths only helps Run, shortcuts and the Start command. Command Prompt and PowerShell don’t read it, so a name can work in Run and still fail in a terminal.

When the Message Says “Restrictions” Instead

If you got here because a program refuses to start from its shortcut, it’s worth knowing what a deliberate block looks like. The policy “Don’t run specified Windows applications” stops Explorer from starting the programs on its list. Admins use it on shared and school PCs, and some “parental control” tweaks write it too.

It doesn’t show “Windows cannot find”. The message is different, and it’s useful to recognize it so you don’t waste time fixing paths that are fine. I added PriceTracker.exe to the list in the registry to see it for myself. Here’s how that should go:

The block shows a Restrictions box

The Restrictions box saying this operation has been cancelled due to restrictions in effect on this computer

After the block was active, the shortcut gave “This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.” in a box titled “Restrictions” (number 1). One thing caught me out: the block didn’t work until I restarted Explorer. Before that, the app kept opening.

Where the list lives in the registry

The DisallowRun list in the registry containing PriceTracker.exe

The list is stored under the path in the address bar (number 1). Each value is a number with an exe name as its data, here “1” with “PriceTracker.exe” (number 2). A “DisallowRun” value of 1 in the “Explorer” key above it switches the list on.

Where the policy lives in Group Policy

The Don't run specified Windows applications policy in the Group Policy Editor

On Pro, Education and Enterprise editions, open “gpedit.msc” and go to “User Configuration”, “Administrative Templates”, then “System” (number 1). The policy is “Don’t run specified Windows applications” (number 2). If it says “Enabled”, double-click it and set it to “Not Configured”. On my PC it was “Not Configured” because I had set the block directly in the registry.

Remove the block and restart Explorer

The app opening again after the DisallowRun block was removed and Explorer restarted

If the block came from the registry and not from gpedit, you can remove it with the commands below in PowerShell. Open it as administrator the same way you would open CMD as administrator on Windows 11, just pick Windows PowerShell instead. The last command restarts Explorer, and your taskbar will disappear for a second. After that, the shortcut opened Price Tracker normally again (number 1).

Remove-Item 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun' -Recurse
Remove-ItemProperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Name DisallowRun
Stop-Process -Name explorer -Force

Note: On a work or school PC, this list usually comes from your organization. Removing it yourself won’t last, because the next policy refresh writes it back. Ask your IT team to allow the app instead.

Common Problems and How to Fix Them

The sections above cover what I could reproduce. There are a few situations that people hit a lot that don’t fit neatly into one of them. Here’s how I’d approach each one.

Before you try anything below, copy the full path from the error message into File Explorer’s address bar. If File Explorer can’t open it either, the file really is missing. If it opens fine, the problem is in how Windows is told to start it.

Windows cannot find explorer.exe, ms-settings or another Windows file

When the missing item belongs to Windows itself, like explorer.exe, SystemPropertiesAdvanced.exe or the Settings app, the fix is usually to repair Windows files. Run DISM and then sfc /scannow from an elevated terminal, as shown step by step in our guide to repairing Windows 11 without reinstalling using SFC and DISM. Also check the Image File Execution Options key from the Debugger section for that exe name. For System Properties specifically, typing “sysdm.cpl” in Run opens the same window while you sort it out.

The error pops up right after you sign in

If nobody clicked anything and the box appears at sign in, an app is trying to start something that was uninstalled. Open Task Manager with Ctrl+Shift+Esc, go to “Startup apps” and disable the entry whose name matches the quoted text. The leftover entry stays harmless once it’s disabled.

The name works in Run but not in Command Prompt

That’s App Paths at work. Run reads it, Command Prompt doesn’t, and you’ll see “is not recognized as an internal or external command” in the terminal instead. Add the program’s folder to PATH as shown above, then open a new terminal window.

The file was downloaded and Windows blocked it

If the box was blue and said “Windows protected your PC”, you’re dealing with SmartScreen, not a missing file. Our guide on what Windows protected your PC means and how to run a file safely covers that one.

This concludes our tour of the “Windows cannot find” error, and as you saw, the wording stays the same while the cause changes a lot. Start with the name in the quotation marks, check whether the file is really there, and work your way from typos to the registry. Next, you would probably want to keep things tidy by deleting shortcuts for programs you’ve removed. Still stuck? Write the exact message, including the text in quotes, in the comments and tell me where you clicked. I’ll take a look.

Leave a Comment