📊 VBA (Excel)
Apply Disable Start Menu Web Search (VBA)
Stops the Start Menu search from including web results. Applied via WScript.Shell.RegWrite from VBA.
DisableWebSearchRegSet.bas
Attribute VB_Name = "DisableWebSearchRegSet"
Option Explicit
Public Sub DisableWebSearchRegSet()
Dim wsh As Object
Dim regPath As String
Set wsh = CreateObject("WScript.Shell")
regPath = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search\BingSearchEnabled"
wsh.RegWrite regPath, 0, "REG_DWORD"
MsgBox "Disable Start Menu Web Search applied." & vbCrLf & regPath, vbInformation
End Sub