Cortana Search is not finding applications on Windows 10

117

56

For the past several versions (since Windows Vista, I think), if you hit the Windows key and start typing, Windows will search for applications.

Since upgrading to Windows 10 with Cortana, she is only hit or miss at finding applications. And she doesn't do partial searches, either.

Some examples:

  • WinKey + type "Paint" does not find "mspaint". Instead it suggests some applications from the store.
  • WinKey + type "Excel" does not find Excel. Nor does typing "Word" find Word. However, typing OneNote finds OneNote.

What is the reason for this behavior and how I can get Cortana to find the applications installed on my machine again? Is there a setting I am missing?


If I browse to "C:\ProgramData\Microsoft\Windows\Start Menu\Programs" I can see that the shortcuts for these applications all still exist. But Cortana is not finding them. Everything from the Microsoft Office applications to IIS to Beyond Compare to hundreds of other applications I have installed.

Where can I set which folders Cortana indexes?


As you can see in the screen shot below, this Start Menu folder is, indeed, indexed:

Enter image description here

However, none of these applications are coming back as search results from the "start" menu.

It may be related to this issue as well.

I did a brand new install of Skype (for desktop), and it shows up nowhere in the start menu. And typing in "Skype" to search for the application does not find it. But the shortcut to Skype is definitely in this location:

C:\Users\Patrick\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Skype

EDIT

The latest Windows 10 update (Threshold 2) has solved this issue for me. Cortana now finds all my files with no issues. Previously my only solution was to use Classic Shell, I've been able to uninstall that now and use the standard Windows Start menu.

CleverPatrick

Posted 2015-08-03T16:31:12.480

Reputation: 1 651

When I search for paint, it finds "Paint, Desktop app". You don't see the Paint app at all? Did you change Cortana or Search settings? – MC10 – 2015-08-03T16:32:42.770

Nope. If I type "mspaint" it finds "Paint, Run Command". Let me see if i can find the search settings and see if something isn't checked correctly. (edit: there doesn't seem to be an option for this) – CleverPatrick – 2015-08-03T16:34:21.517

1I'm experiencing the same issue and I did a fresh install of windows 10 yesterday. This is so annoying. – Augusto Barreto – 2015-08-11T14:41:03.777

4I found that if you go to C:\ProgramData\Microsoft\Windows\Start Menu\Programs and open the shortcut "Search", it opens the "Search Everywhere" feature from Win 8, and there all the apps appear, so it has to be a bug in the new search UI of win 10, and not in the indexing options. I just wish that "win + s" could open "Search Everywhere" instead of Cortana. – Augusto Barreto – 2015-08-11T17:39:56.190

Cause Cortana is a dumb creature! – Sypress – 2015-08-18T19:48:21.907

It shows the folders but not the contents! E.g. I have a folder for Sql server shortcuts in my programdata, and searching for sql will show the folder that contains them, but not the apps / shortcuts within them! ARGH!!!!!!!!!!!!! – user41270 – 2015-08-25T20:17:10.013

I'm fighting this as well, but mine just seems to be extremely slow - if I wait between 7 to 10 seconds, it will usually find what I'm looking for. I can do the exact search again and it takes a full 7 to 10 seconds again, so it's not even caching previous searches. Very fast PC so this is frustrating. – boomhauer – 2015-09-07T17:09:27.197

Windows 10 is buggy as h3ll and Cortana is a pinnacle of MS nonsense. Just spent $5 on Start10 - looks good and works great. – Oleg – 2016-02-27T03:37:43.597

As of May 2016 the indexing of application shortcuts manually copied into the start menu directories is still buggy. I switched to Classic Shell and am more than happy. – Sébastien – 2016-05-10T16:18:19.220

For me the problem appeared to be in disabling "User Account Control: Use Admin Approval Mode for the built-in Administrator account" policy. Also StartMenu search doesn't need indexing or Windows Search service at all. – Arthur – 2016-11-18T07:15:21.927

See my answer, here: https://superuser.com/a/1208858/584439

– Xharlie – 2017-05-13T16:00:01.393

Answers

132

Found a solution here: Cortana not finding Desktop apps when searching for them

Here is the relevant part:

I reinstalled Cortana using the following procedure:

  1. Open an elevated Command Prompt window (press win + X, and then press A)
  2. Type start powershell and press enter
  3. Run the command (in one line):

Get-AppXPackage -Name Microsoft.Windows.Cortana | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

After 30 seconds the problem was solved on my machine. Incredible.

Augusto Barreto

Posted 2015-08-03T16:31:12.480

Reputation: 2 402

5Great find! I really wanted this to work for me. But it didn't. I'm happy this solved it for you, hopefully this helps other people, too. – CleverPatrick – 2015-08-12T13:46:23.137

3Yeah, exactly. I still am having issues with this. At this point I think this is a bug in Windows 10 and will hopefully be fixed as a patch. I may as well mark this as the fix, even though it is not 100% – CleverPatrick – 2015-08-17T21:01:09.150

I've got this to work, steam was instantly findable. I'm running W10 Pro. Other than windows version, the only other thing that comes to mind would be to double check that your powershell prompt is elevated (it would say Administrator in front of it.) – Melikoth – 2015-08-19T23:06:18.237

3Afterwards search for 'Windows Feedback', launch the app and tell Microsoft about this issue so they resolve whatever causes it in the first place. – Daniel Sokolowski – 2015-11-05T13:51:21.083

Awesome. The only problem is that the problem happens again and I have to do this again and again and again – user4951 – 2016-05-18T09:47:17.613

@JimThio Sorry to hear that. Try downloading all the windows updates. It has been a long time. They should have fixed this issue I suppose. Well, you never know. – Augusto Barreto – 2016-05-18T19:08:03.547

it doesn't happen again and again that often I must admit. once in a few months – user4951 – 2016-05-19T03:47:49.830

I wonder why I need to do this several times a year!!!! WINDOWS 10 NEEDS AN UPGRADE to UBUNTU LINUX .. – StixO – 2018-09-30T00:14:08.320

I'm not sure what caused this. It did not start immediately after a 'Feature' update. The above fix worked for me. – Robert Koernke – 2019-03-04T17:56:54.073

23

If you're seeing some but not all of your Desktop apps in the start menu search and "All Apps", there appears to be a bug where Windows 10 will only register up to 512 start menu entries, which may be the cause.

You can see how many start menu entries you currently have by running the following from within powershell

Get-StartApps | measure

You should get a count that reflects all your Modern/Metro apps plus all of the shortcuts in your start menu (one for each .lnk file). If your count is greater than 512, then a workaround is to delete unnecessary start menu entries by either uninstalling unused apps or deleting the unnecessary .lnk files from the start menu directories:

C:\ProgramData\Microsoft\Windows\Start Menu\Programs

%APPDATA%\Microsoft\Windows\Start Menu\Programs

As you delete .lnk files from those folders, Windows 10 will automatically register Start Menu links that it had previously skipped over due to the bug without you having to do anything. If you run the powershell command again it should reflect the updated count. Once you get your count down to 512, your Start Menu search and "All Apps" should no longer be missing items.

NOTE: An easy way to remove a whole bunch of unnecessary .lnk files is to delete all the links to uninstallers, since you almost always already have access to them via "Add/Remove Programs". If that is not enough, you can run WinDirStat against the two start menu folders above and sort by "items" in order to see which apps have added the most links. Lots of apps also add links to their website or documentation which you often do not need since they're just a google search away.

For me, deleting the low hanging fruit was not enough so I ended up having to move a bunch of start menu folders for rarely-used apps to a temporary (non-indexed) directory. I'm planning on moving them back once the bug is resolved. In particular, Visual Studio, SQL Server, and Microsoft's various SDKs add a TON of start menu entries.

ivanatpr

Posted 2015-08-03T16:31:12.480

Reputation: 738

Seraching those start menu directories for "Help", "Uninstall", "Readme", and "Homepage" helped me get rid of quite a few entries (about 200!) – Justin – 2015-10-23T13:05:17.537

@ivanatpr do i need to have programs add start menu shortcuts whenever i install a program? i dont have my programs do that, so they dont end up indexing it seems. – n00b – 2016-09-14T19:13:27.270

Got a count of 315, won't change after removing links/folders from both locations, any idea what could be wrong? – Dan – 2017-12-25T00:43:30.627

Great tips. I had 639 links. After removing various junk, I was down at 483 and everything seems to work properly. – matli – 2019-05-07T11:57:36.057

The Get-Startapps cmdlet does not exist in Windows 10 version 1809. Is there an alternative? – Fopedush – 2019-12-10T02:05:00.710

14

It's hard to believe that something so fundamental to Windows and central from a user perspective can be this buggy. I had pretty much the same problem. I solved it by removing everything from the index except for the Start Menu. This might not be an option for you, as it appears that you like to be able to search across many folders.

Before Windows 7, I used to use a tool called "Find and Run Robot" heavily, much better than launchy in my opinion, to find programs and files in addition to the start menu. It leaves your start menu alone, unlike the Start Menu replacements and works completely independently.

naveed

Posted 2015-08-03T16:31:12.480

Reputation: 257

8

One thing worth trying is Control Panel -> Troubleshooter -> View All -> Search and Indexing. On my Windows 10 (just upgraded from Windows 8.1), it found & fixed some permissions issues on search-related folders.

Of course it hasn't fixed my search problems of not finding most Start Menu applications and settings (neither did reinstalling Cortana, messing with Index folder variations like just using Start Menu, rebuilding the index over and over, etc). Search worked mostly fine before the Windows 10 upgrade - sigh.

gl-

Posted 2015-08-03T16:31:12.480

Reputation: 81

I stuck with this problem as well. Im able to use the search but he does not find any .exe files. I create a txt file he will find that 5 secs later, i rename that file into .exe and he does not find that file. It drives me nuts. – Ivan Viktorovic – 2015-11-23T22:11:20.203

7

My investigation has found that programs in the user start menu

C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu

Is automatically excluded from indexing the users (exclude appData).

I've manually added that folder and am waiting for the index to build.

ck.

Posted 2015-08-03T16:31:12.480

Reputation: 303

@surfasb It was probably just reindexing that did it. The Start Menu folder is an Included Location with no exclusions by default. – 1j01 – 2016-12-03T21:30:15.097

On Windows Server 2016, AppData is excluded by default for all users. When I remove the exlusion, Start Menu under AppData is indexed, but even after forcing a rebuild, most shortcuts are missing. – SebiF – 2017-01-11T16:47:01.220

6

Ok, doing a reindex of the search from the "Advanced Options" screen under Index Options (see screenshot) seems to be fixing the issue. It's going to take awhile to run, but already 7-Zip and Beyond Compare are coming up where they didn't previously (and those are alphabetically closest to the start, I suppose).

enter image description here


EDIT Ultimately this only worked partially. It found some of the missing apps, but 90% of them are still missing.

Plus there seems to be no way to add them back in.

CleverPatrick

Posted 2015-08-03T16:31:12.480

Reputation: 1 651

3I have the same problem and re-indexing didn't work for me. – Ivan Zlatev – 2015-08-06T15:54:04.323

Re-indexing ultimately didn't work for me, either. It found some of the missing apps. But most of them are still gone (like all the office apps) – CleverPatrick – 2015-08-07T14:25:38.777

4

Actually it seems to be a larger problem:

On my account, Microsoft or local, that existed before the upgrade Cortana does not find Apps or settings. It now finds my documents after rebuilding the index.

It doesn't search in "Settings" either. And even worse, outside Cortana, the search in the "Settings" panel search box finds nothing, even if the searched text is in the current search page!

On a newly created local administrator account, just for test, it works like a charm.

It might be an access-right issue somewhere.

cash'in grasse

Posted 2015-08-03T16:31:12.480

Reputation: 41

Did you find a solution for this version of the problem? I'm having this exact issue. – NickG – 2015-12-14T16:12:05.263

Just my 2 cents, I created a local admin account, removed my Microsoft account, and then created my Microsoft account from scratch. After logon all the apps can be found. Certainly looks to be a profile issue. – basvo – 2017-02-23T20:20:52.583

3

I think you're actually indexing too many files and that's stopping the search from returning useful results. Your Indexing Options screen shows around 1.9 million items indexed.

I had about 1.5 million files in my index as well, with all of my development files under my C:\Users\<username>\ directory. My start menu search was really slow and was wasn't returning useful results (wouldn't find built in apps like Internet Explorer or Edge).

I was able to fix it by resetting my "Indexed Locations" to the Windows defaults (Right-click start button -> Control Panel -> Indexing Options -> Modify).

Include only:

  • Offline Files
  • Start Menu (C:\ProgramData\Microsoft\Windows\Start Menu\)
  • Users (C:\Users\ but excluding C:\Users\<username>\AppData)
  • I also excluded my large development directories under my user directory (C:\Users\<username>\dev, etc.).

This is how my indexing settings look now (Note I now only have ~36K files indexed):

My updated Indexed Locations

Finally I triggered a rebuild of the index (Right-click start button -> Control Panel -> Indexing Options -> Advanced -> Rebuild).

My updated Indexed Locations

After waiting a little while for things to re-index the start menu is returning correct results as quickly as I can type!

This FAQ on how to Improve Windows searches using the index is what tipped me off to the issue.

Can I index my entire computer so all searches are fast?

You shouldn't do this. If you make the index too large, or if you include system file locations (such as the Program Files folder), your routine searches will slow down. For best results, we recommend that you only add folders that you search frequently.

The default set of indexed folders was based on the defaults from my media PC which had a clean install of Windows 10 (wasn't upgraded from Windows 7 -> Windows 8 -> Windows 8.1 -> Windows 10 like my main machine)

Sly_cardinal

Posted 2015-08-03T16:31:12.480

Reputation: 231

2

This answer is my own discovery on Windows 10 Pro 1703 x64. (That's Creators Update, folks.) I had to resort to it because, to my surprise, the answer by Augusto Barreto did not work for me. Without further ado:

  1. Do either of the following:
    • Create a new temporary user account with Administrative privileges, log out of your current account (very important) and log into the temporary account
    • Start your computer in Windows Recovery Environment
  2. Delete, rename or move the following folder:

    C:\Users\[Your username]\AppData\Local\Packages\Microsoft.Windows.Cortana_cw5n1h2txyewy
    

    Note: In Windows Recovery Environment, C: can sometimes become D:, E: or even F:, depending on your computer's configuration.

  3. Log back into your original account.

Cortana will not work immediately. (It is busy recreating the folder you just deleted.) But when it does, everything will be alright. Don't forget to delete the temporary user account.

Important notice: By the time I reached the conclusion to do this, I had ascertained that Windows Search Indexer was working okay and it was Cortana's problem that didn't show the result well. My evidence was that Cortana could find literally everything else (including my music) and searches from File Explorer worked well.

user477799

Posted 2015-08-03T16:31:12.480

Reputation:

Resetting Cortana as this answer https://superuser.com/a/1349887/322261 suggest has the same effect I think: (the folder's date is now today date) and it quickly solved this ugly issue for me.

– GLM – 2018-12-16T19:30:25.697

2

The more radical (and effective) solution to any of the indexing problems is to reset the Indexing Options to defaults.

Since there is no official method to do this, one can use unofficial method, editing Windows Registry. The steps to perform are described here: https://superuser.com/a/963621/210811.

But hey, here is the copypaste:

  1. Stop Windows Search service:

    Win + R, services.msc, Enter

    Find the Windows Search entry, click on it, and choose Stop from the left column.

  2. Remove the following registry branch in its entirety:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search\CrawlScopeManager\Windows\SystemIndex

    You can use the free home edition of Registrar Registry Manager for this.

  3. Follow the step #1, but click Start instead of Stop this time.

Neurotransmitter

Posted 2015-08-03T16:31:12.480

Reputation: 996

Even with the service stopped, I get an error trying to delete it. Turns out I had to take ownership first. – jpmc26 – 2019-02-16T03:48:35.870

Correct, that's why I mentioned Registrar Registry Manager. Regular regedit.exe cannot delete this branch due to this ownership issue. – Neurotransmitter – 2019-02-18T13:41:56.190

1

After upgrading to Windows 10, Cortana search was not finding applications for me because the Samsung Magician software I installed for my SSD drive was configured to Maximum Reliability mode, which disabled indexing service/search. In order get Cortana to find applications installed on my machine again, I needed to change to Maximum Reliability mode in the Samsung Magician software. This answer will be helpful for anyone with Samsung SSD and Samsung Magician software.

enter image description here

kimbaudi

Posted 2015-08-03T16:31:12.480

Reputation: 217

1

This worked for me and didn't involve changing search index settings or reinstalling Cortana.

Start > Find Cortana app in alphabetical app list > Right click > More > App Settings > Scroll down and click 'Reset'

Richard Williams

Posted 2015-08-03T16:31:12.480

Reputation: 231

Next time I had to solve some issue I'll check latest shown solution first. Thanks for sharing – GLM – 2018-12-16T19:26:38.977

1

This bug apparently existed since the Technical Preview.

One proposed solution is to ensure that Program Files and Program Files (x86) are checked in the Indexed Locations window.

Other people seem to have found that the bug only hits when the number of items in the menu exceeds 512. To verify this theory, I suggest to minimize the Indexed Location to the bare minimum and rebuild the index. Once the essential items are indexed and available, you may add more locations.

A final solution is to install an alternative Start menu, such as the free Classic Shell. The Windows Start menu and Classic Shell can both be used in parallel.

harrymc

Posted 2015-08-03T16:31:12.480

Reputation: 306 093

1

I had the same issue, the following solved it for me:

I first of all reinstalled Cortana as explained in a previous post. This did not solve the issue, and I just want to include it for completeness (maybe not doing so makes a difference ;)

Then I opened up the indexing options and removed the user folder and the start menu folder (which can be found under C:\ProgramData\Microsoft\Windows\Start Menu). To do so, hidden files must be displayed. I clicked OK and closed the indexing options.

Then I reopend the indexing options, added the two folders again, clicked on advanced and enabled "Index encrypted files" and I clicked on Rebuild.

This solved the issue for me. Now Word, Excel and all programs can be found with the search. Maybe not all of my steps are necessary.

Fabi

Posted 2015-08-03T16:31:12.480

Reputation: 11

I had high hopes for this fix! Unfortunately, for me it did not work. In fact, now I have a permanent "We're getting search ready..." notification at the top of the search area. I will try and reboot later and see if it makes a different. – CleverPatrick – 2015-08-13T19:14:09.673

1

I fixed this problem by Enabling the Windows Search service in services.msc. Not sure if I disabled it during tweaking by accident or if it came like that after Win 8.1 upgrade. After re-enabling and starting the Windows Search service I could search my apps again.

Rob

Posted 2015-08-03T16:31:12.480

Reputation: 9

If your domain services disables this 'for performance reasons' in the past, it will bite you with windows 10! – CarComp – 2015-11-09T18:29:41.007

0

If I browse to "C:\ProgramData\Microsoft\Windows\Start Menu\Programs" I can see that the shortcuts for these applications all still exist. But Cortana is not finding them. Everything from the Microsoft Office applications to IIS to Beyond Compare to hundreds of other applications I have installed.

I could fix this by recreating my profile.

  1. Create a new user
  2. Restart the pc and witch to that new user
  3. Rename the user direcory under C:\Users\ to _old
  4. Open regedit and look for the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  5. There a serveral sub folders. You should remove the folder where the "profileImagePath" key matches you . Be carefull deleting the wrong folders here.
  6. Restart the pc and log in with you
  7. Your PC should now create a new profile

If you do skip the step 4 windows will create on every restart a new temporary user folder with will be removed with a reboot.

Be aware some test showed me the there seems to be no difference copying files to "C:\ProgramData\Microsoft\Windows\Start Menu\Programs" OR "C:\Users\John\AppData\Roaming\Microsoft\Windows\Start Menu\Programs".

As well i read on some topics that you should NOT exclude the default library folders (e.g. dokuments, pictures etc) from the indexed folders because this will cause massive problems with the search.

Ivan Viktorovic

Posted 2015-08-03T16:31:12.480

Reputation: 564

Please add a comment if you downvote answers why this is a bad/worng answer. – Ivan Viktorovic – 2015-12-02T11:39:05.987

0

We had the same problem, but the cause was having UAC disabled.

To fix, re-enable UAC and then rebuild the index.

Spongeboy

Posted 2015-08-03T16:31:12.480

Reputation: 131