🐍 Python 3.10+
Disable Bing Search Suggestions (Python)
Stops the taskbar search box from showing web/Bing suggestions. Applies the tweak via the stdlib winreg module.
set_disable_bing_search.py
#!/usr/bin/env python3
"""
set_disable_bing_search.py
Disable Bing Search Suggestions.
Stops the taskbar search box from showing web/Bing suggestions.
Usage:
python set_disable_bing_search.py
"""
import winreg
def main() -> None:
key = winreg.CreateKeyEx(
winreg.HKEY_CURRENT_USER, r"Software\Policies\Microsoft\Windows\Explorer", 0, winreg.KEY_SET_VALUE
)
winreg.SetValueEx(key, "DisableSearchBoxSuggestions", 0, winreg.REG_DWORD, 1)
winreg.CloseKey(key)
print("Disable Bing Search Suggestions applied.")
if __name__ == "__main__":
main()