I have been having trouble getting Windows Spotlight to work in Windows 10 21H2. Following various bits of advice I have found on the Internet what I have done so far (with the spotlight turned off) is:-
1. Run sfc /scannow
2. Run DISM to restore health
3. Run a batch file containing the following to reset and re-register Windows Spotlight:-
<beginning of batch file>
:: Reset Windows Spotlight
DEL /F /S /Q /A “%USERPROFILE%/AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets”
DEL /F /S /Q /A “%USERPROFILE%/AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\Settings”
:: Re-register Windows Spotlight
PowerShell -ExecutionPolicy Unrestricted -Command “& {$manifest = (Get-AppxPackage *ContentDeliveryManager*).InstallLocation + ‘\AppxManifest.xml’ ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}”
<end of batch file>
All this was completed about a week ago now and all to no avail. I have read that others have experienced this problem too, I have got the media creation tool for 21H2 and I wondered if running that would make any difference.
Has anybody got any ideas of what else I could do to get Spotlight back?