Skip to content

Instantly share code, notes, and snippets.

View xuaopsd's full-sized avatar
🎯
Focusing

João Vitor Cardoso xuaopsd

🎯
Focusing
View GitHub Profile
@xuaopsd
xuaopsd / disable-web-search.ps1
Last active December 10, 2025 04:32 — forked from pirafrank/disable-web-search.reg
Disable Web Search feature in Windows 10 and Windows 11 for faster searching in the Start Menu. Tested on Win 11 Pro, should work on all editions.
# Disable Bing, Web Search e Cortana no Windows Search
# Create keys if they don’t exist
New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search" -Force | Out-Null
New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" -Force | Out-Null
# Windows Search - machine level
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search" -Name "DisableWebSearch" -Type DWord -Value 1
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search" -Name "ConnectedSearchUseWeb" -Type DWord -Value 0
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search" -Name "AllowCortana" -Type DWord -Value 0