📜 VBScript (WSH)

Check "Disable Bing Search Suggestions" Status (VBScript)

Reads the registry value behind the "Disable Bing Search Suggestions" tweak to confirm whether it's applied.

By WindowsScripting.com · 737 B
CheckDisableBingSearchStatus.vbs
' ============================================================
' CheckDisableBingSearchStatus.vbs
'
' Checks whether "Disable Bing Search Suggestions" is currently applied.
'
' Usage: cscript CheckDisableBingSearchStatus.vbs
' ============================================================

Option Explicit

Dim objShell, currentValue
Set objShell = CreateObject("WScript.Shell")

On Error Resume Next
currentValue = objShell.RegRead("HKCU\Software\Policies\Microsoft\Windows\Explorer\DisableSearchBoxSuggestions")

If Err.Number <> 0 Then
    WScript.Echo "'DisableSearchBoxSuggestions' is not set (using the Windows default)."
Else
    WScript.Echo "Current value of 'DisableSearchBoxSuggestions': " & currentValue
End If
On Error Goto 0