Windows 2022 Index Options causing search failure

Anonymous
2023-12-15T22:37:31+00:00

File Explorer folder search works as expected until the searched folder is added into the Index Options, then same search returns no results. I have tried both "Rebuilding" via Advanced Options/Index Settings and the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search\SetupCompletedSuccessfully set to "0" and restart, both had no effect.

Recently deployed with fresh image

Windows Server 2022 Standard

Version 21H2

OS Build 20348.2113

Environment: DMZ Web server

Any help would be appreciated.

Windows for business | Windows Server | Performance | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-12-18T07:26:30+00:00

    Hello,

    Thank you for posting in Microsoft Community forum.

    Based on the information you have provided, it seems that you have already tried rebuilding the index and modifying the registry key, but the issue persists. In this case, I would recommend checking if the Windows Search service is running and set to automatic startup. You can do this by following these steps:

    1. Press the Windows key + R to open the Run dialog box.
    2. Type "services.msc" and press Enter.
    3. Scroll down to find the "Windows Search" service.
    4. Check if the service is running and set to automatic startup. If not, right-click on the service and select "Properties". Set the "Startup type" to "Automatic" and click "Apply" and "OK".
    5. Restart the Windows Search service by right-clicking on it and selecting "Restart".

    If the issue persists, you can try resetting the Windows Search service by following these steps:

    1. Press the Windows key + R to open the Run dialog box.
    2. Type "cmd" and press Ctrl + Shift + Enter to open an elevated Command Prompt.
    3. Type the following command and press Enter: "net stop wsearch"
    4. Type the following command and press Enter: "net start wsearch"

    This will stop and start the Windows Search service, which may help resolve the issue.

    If the issue still persists, you can try running the System File Checker (SFC) and Deployment Image Servicing and Management (DISM) tools to check for and repair any corrupted system files. You can do this by following these steps:

    1. Open an elevated Command Prompt as described above.
    2. Type the following command and press Enter: "sfc /scannow"
    3. Wait for the scan to complete. If any corrupted files are found, the tool will attempt to repair them automatically.
    4. Type the following command and press Enter: "dism /online /cleanup-image /restorehealth"
    5. Wait for the scan to complete. This tool will check for and repair any issues with the Windows image.

    I hope this information helps you resolve the issue. If you have any further questions or concerns, please feel free to ask.

    Best Regard

    Zack Lu

    0 comments No comments