📜 VBScript (WSH)

Check "Disable Game Bar Startup Tips" Status (VBScript)

Reads the registry value behind the "Disable Game Bar Startup Tips" tweak to confirm whether it's applied.

By WindowsScripting.com · 686 B
CheckDisableGameBarTipsStatus.vbs
' ============================================================
' CheckDisableGameBarTipsStatus.vbs
'
' Checks whether "Disable Game Bar Startup Tips" is currently applied.
'
' Usage: cscript CheckDisableGameBarTipsStatus.vbs
' ============================================================

Option Explicit

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

On Error Resume Next
currentValue = objShell.RegRead("HKCU\Software\Microsoft\GameBar\ShowStartupPanel")

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