Removes all Microsoft Bing apps (News, Weather, Finance, etc.) and disables Bing web search results from appearing in Windows Search. This improves privacy and speeds up local searches.
$searchPath="HKCU:\Software\Microsoft\Windows\CurrentVersion\Search"if(Test-Path$searchPath){Set-ItemProperty-Path$searchPath-Name"BingSearchEnabled"-TypeDWord-Value1Remove-ItemProperty-Path$searchPath-Name"CortanaConsent"-ErrorActionSilentlyContinue}$explorerPath="HKCU:\Software\Policies\Microsoft\Windows\Explorer"if(Test-Path$explorerPath){Remove-ItemProperty-Path$explorerPath-Name"DisableSearchBoxSuggestions"-ErrorActionSilentlyContinue}Write-Host"Reinstalling Bing apps..."wingetinstall9WZDNCRFHVFW--accept-source-agreements--accept-package-agreements--silent# Bing Newswingetinstall9WZDNCRFJ3Q2--accept-source-agreements--accept-package-agreements--silent# Bing WeatherWrite-Host"Bing search re-enabled. Some apps may need to be reinstalled from Microsoft Store."