⚡ PowerShell 5.1+

Disable Game Bar Startup Tips

Stops the Game Bar from showing its startup tip panel.

By WindowsScripting.com · 647 B
Set-DisableGameBarTips.ps1
<#
.SYNOPSIS
    Disable Game Bar Startup Tips.

.DESCRIPTION
    Stops the Game Bar from showing its startup tip panel.

    Sets HKCU:\Software\Microsoft\GameBar \ ShowStartupPanel to 0.

.EXAMPLE
    .\Set-DisableGameBarTips.ps1
#>

[CmdletBinding()]
param()

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

if (-not (Test-Path $regPath)) {
    New-Item -Path $regPath -Force | Out-Null
}

New-ItemProperty -Path $regPath -Name 'ShowStartupPanel' -Value 0 -PropertyType DWord -Force | Out-Null

Write-Host "Disable Game Bar Startup Tips applied. Sign out and back in (or restart explorer.exe) for it to fully take effect." -ForegroundColor Green