🐍 Python 3.10+

Disable Game Bar Startup Tips (Python)

Stops the Game Bar from showing its startup tip panel. Applies the tweak via the stdlib winreg module.

By WindowsScripting.com · 544 B
set_disable_game_bar_tips.py
#!/usr/bin/env python3
"""
set_disable_game_bar_tips.py

Disable Game Bar Startup Tips.
Stops the Game Bar from showing its startup tip panel.

Usage:
    python set_disable_game_bar_tips.py
"""

import winreg


def main() -> None:
    key = winreg.CreateKeyEx(
        winreg.HKEY_CURRENT_USER, r"Software\Microsoft\GameBar", 0, winreg.KEY_SET_VALUE
    )
    winreg.SetValueEx(key, "ShowStartupPanel", 0, winreg.REG_DWORD, 0)
    winreg.CloseKey(key)
    print("Disable Game Bar Startup Tips applied.")


if __name__ == "__main__":
    main()