⚡ PowerShell 5.1+

Disable Start Menu Web Search

Stops the Start Menu search from including web results.

By WindowsScripting.com · 692 B
Set-DisableWebSearch.ps1
<#
.SYNOPSIS
    Disable Start Menu Web Search.

.DESCRIPTION
    Stops the Start Menu search from including web results.

    Sets HKCU:\Software\Microsoft\Windows\CurrentVersion\Search \ BingSearchEnabled to 0.

.EXAMPLE
    .\Set-DisableWebSearch.ps1
#>

[CmdletBinding()]
param()

$regPath = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Search'

if (-not (Test-Path $regPath)) {
    New-Item -Path $regPath -Force | Out-Null
}

New-ItemProperty -Path $regPath -Name 'BingSearchEnabled' -Value 0 -PropertyType DWord -Force | Out-Null

Write-Host "Disable Start Menu Web Search applied. Sign out and back in (or restart explorer.exe) for it to fully take effect." -ForegroundColor Green