📊 VBA (Excel)
Apply Disable Start Menu App Suggestions (VBA)
Turns off sponsored app suggestions in the Start menu. Applied via WScript.Shell.RegWrite from VBA.
DisableStartMenuAdsRegSet.bas
Attribute VB_Name = "DisableStartMenuAdsRegSet"
Option Explicit
Public Sub DisableStartMenuAdsRegSet()
Dim wsh As Object
Dim regPath As String
Set wsh = CreateObject("WScript.Shell")
regPath = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\SubscribedContent-338388Enabled"
wsh.RegWrite regPath, 0, "REG_DWORD"
MsgBox "Disable Start Menu App Suggestions applied." & vbCrLf & regPath, vbInformation
End Sub