Microsoft Search window disapears immediatly after pressing "Win + S".

Henry Lowe 1 Reputation point
2021-10-13T21:07:20.597+00:00

I am running the 19043.1288 build of Windows 10 21H1. After pressing "Win + S", the windows search box will appear, then terminate shortly thereafter. Opening the start menu and beginning to type yields no results. Event viewer logs this:

Faulting application name: SearchApp.exe, version: 10.0.19041.1266, time stamp: 0xd719c871
Faulting module name: ConstraintIndex.Search.dll, version: 10.0.19041.1202, time stamp: 0x99c05bd4
Exception code: 0xc0000005
Fault offset: 0x00000000000bb393
Faulting process id: 0x2c84
Faulting application start time: 0x01d7c06ff6260e0b
Faulting application path: C:\WINDOWS\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe
Faulting module path: C:\Windows\System32\ConstraintIndex.Search.dll
Report Id: ecd80dbc-707b-47cd-a0d2-9aba332144ec
Faulting package full name: Microsoft.Windows.Search_1.14.2.19041_neutral_neutral_cw5n1h2txyewy
Faulting package-relative application ID: CortanaUI

This only occurs under one user account on the PC, it's the one I use the most. a newly created user doesn't have this problem.
Sfc and dism didn't seem to do anything, and I can't find anything else. Is there another fix for this error?

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Pavel Krot 41 Reputation points
    2022-01-24T12:50:28.593+00:00

    Method #1 (that helped me):

    One of the rare causes of the SearchApp.exe crashing is access to the Fonts folder.

    I found this topic comment on reddit and the proposed method solved my issue:
    https://www.reddit.com/r/Windows10/comments/nyye3s/comment/h5ryskx/?utm_source=share&utm_medium=web2x&context=3

    • Go to: C:\Users\[username]\AppData\Local\Microsoft\Windows\Fonts
    • Right click on the folder -> Properties -> Security Tab -> Edit -> Add
    • Add the following group: ALL APPLICATION PACKAGES
    • Give this group Read & execute permissions

    167897-image.png

    Method #2:

    • Hold Down the Windows key + X
    • Click on Windows PowerShell (Admin)
    • Type the following command and hit enter (all on one line)
      Get-AppXPackage -Name Microsoft.Windows.Cortana | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
    • Restart your PC and see if the search feature is restored, if not proceed to method #3

    Method #3:

    • Hold down the Windows Key + R
    • Type regedit and hit enter
    • Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search and make a backup of it.
    • Delete the Search folder entry,
    • Restart your PC and see if Windows Search is still crashing.
    7 people found this answer helpful.

  2. Daniel Vahid Lima Tolouei 30 Reputation points
    2023-08-03T16:29:47.7466667+00:00

    Hi

    If none of the above methods solves it, and the problem is only with a specific user and not generalized (with another new user created it works normally), I recommend trying the following:

    1. Create a new user, restart and login with it (it's not logoff, it's restart before entering the new user);
    2. Go to C:\Users\user_with_problem\AppData\Local\Packages directory

    Note: "user_with_problem" is the account login with problem

    1. Locate the folder that starts with "Microsoft.Windows.Search_" , something like "Microsoft.Windows.Search_cs41h5txwa"
    2. Rename this folder to any name, example: "Microsoft.Windows.Search_cs41h5txwa.OLD"
    3. Restart the computer and log in with the problem user
    4. Wait a few minutes, click start and try to do a search or else in the search field. Restart the computer and test.

    In my case, I was only able to solve it by following the steps above. No other method did the trick.

    If it still does not resolve, follow the suggestions in this link:

    https://learn.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/fix-problems-in-windows-search

    6 people found this answer helpful.

  3. Pavel Krot 41 Reputation points
    2022-01-24T12:55:28.25+00:00

    Method #1 (that helped me):

    One of the rare causes of the SearchApp.exe crashing is access to the Fonts folder.

    I found this topic comment on reddit and the proposed method solved my issue:
    https://www.reddit.com/r/Windows10/comments/nyye3s/comment/h5ryskx/?utm_source=share&utm_medium=web2x&context=3

    • Go to: C:\Users\[username]\AppData\Local\Microsoft\Windows\Fonts
    • Right click on the folder -> Properties -> Security Tab -> Edit -> Add
    • Add the following group: ALL APPLICATION PACKAGES
    • Give this group Read & execute permissions

    167897-image.png

    Method #2:

    • Hold Down the Windows key + X
    • Click on Windows PowerShell (Admin)
    • Type the following command and hit enter (all on one line)
      Get-AppXPackage -Name Microsoft.Windows.Cortana | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
    • Restart your PC and see if the search feature is restored, if not proceed to method #3

    Method #3:

    • Hold down the Windows Key + R
    • Type regedit and hit enter
    • Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search and make a backup of it.
    • Delete the Search folder entry,
    • Restart your PC and see if Windows Search is still crashing.
    1 person found this answer helpful.

  4. S.Sengupta 24,716 Reputation points MVP
    2021-10-14T00:49:22.13+00:00

    Kindly go through the following Microsoft reference:

    Fix problems in Windows Search


  5. Limitless Technology 39,931 Reputation points
    2021-10-14T09:46:16.803+00:00

    Hi there,

    Use the Windows Search and Indexing troubleshooter to try to fix any problems that may arise. To use the troubleshooter, follow these steps:

    Select Start, then select Settings.
    In Windows Settings, select Update & Security > Troubleshoot. Under Find and fix other problems, select Search and Indexing.
    Run the troubleshooter, and select any problems that apply.

    Restart Windows Search or your device
    End the SearchUI process to restart Windows Search by following these steps:

    Press Ctrl+Alt+Delete, and select Task Manager.
    In the Task Manager window, select the Details tab.
    In the Name column, right-click SearchUI.exe, and then select End task.
    When you're prompted to end SearchUI.exe, select End Process.

    https://learn.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/fix-problems-in-windows-search

    -------------------------------------------------------------------------------------------------------------------------

    If the reply is helpful, please Upvote and Accept it as an answer


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.