📊 VBA (Excel)

Apply Disable Game Bar Startup Tips (VBA)

Stops the Game Bar from showing its startup tip panel. Applied via WScript.Shell.RegWrite from VBA.

By WindowsScripting.com · 409 B
DisableGameBarTipsRegSet.bas
Attribute VB_Name = "DisableGameBarTipsRegSet"
Option Explicit

Public Sub DisableGameBarTipsRegSet()
    Dim wsh As Object
    Dim regPath As String

    Set wsh = CreateObject("WScript.Shell")
    regPath = "HKEY_CURRENT_USER\Software\Microsoft\GameBar\ShowStartupPanel"

    wsh.RegWrite regPath, 0, "REG_DWORD"

    MsgBox "Disable Game Bar Startup Tips applied." & vbCrLf & regPath, vbInformation
End Sub