Search box not working in Start Menu/Taskbar

Hi, I've removed quite a few components in an attempt to make a lite Windows ISO. When I click the search box inside the start menu, it just abruptly closes the menu before letting me type. Nothing happens when I click the search box on the taskbar as well, no matter if I change the mode to search icon only, search icon and label, or search box.

Modern app support, OOBE, and Shell Search are enabled under Compatibility. Shell Search and Windows Search were NOT removed from Components. Any ideas what might've broken this?

I tried manually opening the search menu at "C:\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\SearchHost.exe", only to be met with this error: "The system detected an overrun of a stack-based buffer in this application. This overrun could potentially allow a malicious user to gain control of this application."
 

Attachments

  • qd3XMFJD1E.png
    qd3XMFJD1E.png
    10.3 KB
Okay... after some trial and error, I finally figured out the problem! Removing the "Windows Feature Experience Pack - Desktop" component is what's breaking search. Hopefully there's a way we could separate it from SearchHost.exe, in order to make it work while still removing the bloatware.
 
That's the specific reason why I asked nuhi to highlight whenever Feature Experience Pack was removed.

Because the first thought is to remove FEP without considering how intertwined it is with other features. The next problem was everyone crying that NTLite put up a red warning about Feature Experience Pack. Without FEP, you're basically returning the desktop to early W10.
 
Has this been resolved?

I need SearchHost removed. It keeps trying to use the Internet for searches all the time and only firewall blocks it. I prefer a broken Search Bar in Start Menu to that, but is it possible to remove CBS Client without breaking other functions?
 
I need SearchHost removed. It keeps trying to use the Internet for searches all the time and only firewall blocks it. I prefer a broken Search Bar in Start Menu to that, but is it possible to remove CBS Client without breaking other functions?
Removing Client.CBS breaks your desktop, it's not optional in W11.

No more web searches.
Code:
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer]
"DisableSearchBoxSuggestions"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search]
"BingSearchEnabled"=dword:00000000
 
I already use those tweaks, but firewall keeps detecting SearchHost trying to resolve domains regardless. Someone should create an actual network block feature, one that tells whichever executable image that there is no network or network API doesn't exist or network adapter doesn't exist. That's a much better method of blocking than using a firewall.
 
For confirmation, I loaded the above tweaks and installed WireShark. After restarting Windows, and typing random terms into the Search Bar which I know don't exist on the system, WireShark failed to see any outbound network traffic.

Just to be sure, I flushed the DNS cache and searched again. Which domains is your firewall saying are being resolved?
 
I don't remember how it happened before, but it was back when I was manually removing components via explorer (with TI prvis) and disabling important UWP serivces, such as Capability Access Manager.

I just tried it today with tweaks you mentioned on a ripped, but healthy image (with 100% in-tact Component Store + File Integrity) without my over-tweakage and didn't see any attemps of SearchHost trying to make outbound connections when using the search bar!

Many thanks!
 
Back
Top