⚡ PowerShell 5.1+

Check "Disable Game Bar Startup Tips" Status

Reads the current registry value behind the "Disable Game Bar Startup Tips" tweak so you can confirm whether it's applied.

By WindowsScripting.com · 742 B
Test-DisableGameBarTipsStatus.ps1
<#
.SYNOPSIS
    Checks whether "Disable Game Bar Startup Tips" is currently applied.

.DESCRIPTION
    Reads HKCU:\Software\Microsoft\GameBar \ ShowStartupPanel and reports its current value,
    or reports that it isn't set (falling back to the Windows default).

.EXAMPLE
    .\Test-DisableGameBarTipsStatus.ps1
#>

[CmdletBinding()]
param()

$regPath = 'HKCU:\Software\Microsoft\GameBar'

$value = Get-ItemProperty -Path $regPath -Name 'ShowStartupPanel' -ErrorAction SilentlyContinue

if ($null -eq $value) {
    Write-Host "'ShowStartupPanel' is not set at $regPath (using the Windows default)." -ForegroundColor Yellow
} else {
    Write-Host "Current value of 'ShowStartupPanel': $($value.'ShowStartupPanel')" -ForegroundColor Green
}