Author Topic: [unsolved] Trying to repair Windows Search after updating to Win11  (Read 1381 times)

0 Members and 1 Guest are viewing this topic.

Offline BWB8771

  • Newbie
  • *
  • Join Date: Mar 2022
  • Posts: 6
  • Karma: 0
    • View Profile
Company updated my Dell laptop running Win10Ent to Win11Ent. Windows Search was borked from the moment I first logged-in the new Win11 instance.

I had moved my search db to a second internal SSD; during the Win11 upgrade the drive got marked read-only. Eventually had to restore to a Win10 backup, put Windows Search db back to default (verified it was working), then mark second SSD as 'offline' and then go through the update again.

Windows Search is still broken.

The built-in troubleshooter yields an idiotically hilarious result (see attached).

Have been through many different approaches, including:
dism /Online /Disable-Feature /FeatureName:"SearchEngine-Client-Package"
then
dism /Online /Enable-Feature /FeatureName:"SearchEngine-Client-Package"

Getting these errors when running the Troubleshooter:
0x%08x (0x80070003 - The system cannot find the path specified. (HRESULT : 0x80070003))

0x%08x (0x80070660 - The Temp folder is on a drive that is full or is inaccessible. Free up space on the drive or verify that you have write permission on the Temp folder. (HRESULT : 0x80070660))

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search
DataDirectory =%ProgramData%\Microsoft\Search\Data\
DefaultDataDirectory =%ProgramData%\Microsoft\Search\Data\

Via ICACLS I've verified permissions look the same as those on a computer whose WSearch service is running.

Really, really, don't want to do a clean Win11 install, and 3rd-party search apps aren't an option in my environment.

Help!

P.S. This is cross-posted from one I created on Reddit - only respondent was one that assumed I wasn't experienced (I am!), and whose only thought was to re-image my machine.


« Last Edit: July 30, 2022, 01:51:28 PM by BWB8771 »

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10180
  • Location: UK
  • Karma: 122
    • View Profile
Re: At wit's end trying to repair Windows Search after updating to Win11
« Reply #1 on: July 15, 2022, 01:51:27 AM »
You could check if the temp folder is full.

Go Start - type %temp% and press enter.

If it's highly populated, press Control and a together to highlight then Control and d together to delete, not forgetting to empty the Recycle Bin.

Then see if you get the same error.

Offline BWB8771

  • Newbie
  • *
  • Join Date: Mar 2022
  • Posts: 6
  • Karma: 0
    • View Profile
Re: At wit's end trying to repair Windows Search after updating to Win11
« Reply #2 on: July 15, 2022, 07:05:22 AM »
Thank you the suggestion.

I use the incredible CATE script (info below) a couple of times a week to keep things tidy on my machine, but I checked my machine's %TEMP% stats: 136 files, 31 folders / 495 MB size on disk.

https://github.com/jebofponderworthy/windows-tools#cate-clean-all-system-and-user-profile-temp-folders-etcetera

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10180
  • Location: UK
  • Karma: 122
    • View Profile
Re: At wit's end trying to repair Windows Search after updating to Win11
« Reply #3 on: July 16, 2022, 01:14:38 AM »
So was there any improvement after cleaning that lot out ?

Offline BWB8771

  • Newbie
  • *
  • Join Date: Mar 2022
  • Posts: 6
  • Karma: 0
    • View Profile
Re: At wit's end trying to repair Windows Search after updating to Win11
« Reply #4 on: July 16, 2022, 06:44:42 AM »
Unfortunately, no.

Thanks for checking back!

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10180
  • Location: UK
  • Karma: 122
    • View Profile
Re: At wit's end trying to repair Windows Search after updating to Win11
« Reply #5 on: July 17, 2022, 03:48:27 AM »
Can you open a Powershell (Admin) and enter sfc /scannow to see what it reports.

Offline BWB8771

  • Newbie
  • *
  • Join Date: Mar 2022
  • Posts: 6
  • Karma: 0
    • View Profile
Re: At wit's end trying to repair Windows Search after updating to Win11
« Reply #6 on: July 17, 2022, 05:45:34 AM »
Thank you for the suggestion.

Not from an elevated PoSh prompt, but from the legacy CMD prompt,
I've run the /checkhealth + /scanhealth, as well as even running the /restorehealth against the Win11 upgrade *.wim
DISM /Online /Cleanup-Image /RestoreHealth /Source:%sources%\install.wim

and then running SFC /SCANNOW

all to no avail.


Offline BWB8771

  • Newbie
  • *
  • Join Date: Mar 2022
  • Posts: 6
  • Karma: 0
    • View Profile
Re: At wit's end trying to repair Windows Search after updating to Win11
« Reply #7 on: July 17, 2022, 07:16:34 AM »
Hmm. oddly/interestingly, Windows Search is not visible in the GUI add/remove Windows Features NOR is the Event Viewer category "Microsoft-Windows-Search" present!

I have done this a couple of times
dism /Online /Disable-Feature /FeatureName:"SearchEngine-Client-Package" (with /norestart AND rebooting)
then
dism /Online /Enable-Feature /FeatureName:"SearchEngine-Client-Package"

Offline Julian

  • "Professional Googler"
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jun 2015
  • Posts: 1325
  • Location: USA, New Mexico
  • Karma: 38
    • View Profile
Re: At wit's end trying to repair Windows Search after updating to Win11
« Reply #8 on: July 17, 2022, 06:54:43 PM »
open start menu type in folder options  click search tab make sure it looks like this

if it does here is a link to reset windows search...
https://www.microsoft.com/en-us/download/confirmation.aspx?id=100295
Julian

Offline BWB8771

  • Newbie
  • *
  • Join Date: Mar 2022
  • Posts: 6
  • Karma: 0
    • View Profile
Re: At wit's end trying to repair Windows Search after updating to Win11
« Reply #9 on: July 19, 2022, 08:00:38 AM »
Julian,

Thanks for the suggestion - as that applies more to the display aspects of the search service, I'll give it a try when I can get search itself working.