Forum Discussion

dltr's avatar
dltr
Copper Contributor
Jan 12, 2025

Reinstalling the Microsoft Gaming Overlay

Hi! 

Some time ago, I uninstalled the Microsoft Gaming Overlay - I think it was the overlay used by the Xbox Game Bar (win+G to bring it up). 

I am trying to reinstall it, but I can't figure it out. Is there a powershell command I can use to reinstall it? Every time I launch a game, I get the following popup a few times:

 

Any ideas?

Thanks!

29 Replies

  • wsophia's avatar
    wsophia
    Bronze Contributor

    You can do this by searching for "Microsoft Store" in the Start menu or by typing "msstore" in the Run dialog box (Windows key + R).

    • JonyBang's avatar
      JonyBang
      Copper Contributor

      This doesn't work for me for some reason, I'm on a PC running windows 11, when I go to the Microsoft store and enter the MS-gamingoverly in to search box I get no such program exists.

      • Charli3Dubs's avatar
        Charli3Dubs
        Copper Contributor

        Try installing the Xbox app and opening it. Installing it may fix it but if you open the app it'll check and find the missing file and offer you a download button. I had the Xbox app installed and removed ms-gamingoverlay by accident, after opening the Xbox app the button to download it was at the top. Hopefully that's the ticket for you! 

  • pyattshl's avatar
    pyattshl
    Bronze Contributor

    Once the commands have run successfully, it’s good practice to restart your computer. This ensures all the settings and services are refreshed.

  • OregonRain's avatar
    OregonRain
    Iron Contributor

    After running the command, it’s a good idea to restart your computer. This helps finalize the installation and ensures everything is loaded correctly.

  • Tomilsonw's avatar
    Tomilsonw
    Silver Contributor

    Yes, you can easily reinstall the Microsoft Gaming Overlay (Xbox Game Bar) using PowerShell. Here’s how:

    Open PowerShell as Administrator:

    Press Windows + X and select Windows PowerShell (Admin).
    Run the following command to reinstall the Xbox Game Bar:

    get-appxpackage *Microsoft.XboxApp* | remove-appxpackage
    Get-AppxPackage -AllUsers *Microsoft.XboxApp* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}


    This command should reinstall the Xbox Game Bar and restore the Microsoft Gaming Overlay. Once done, restart your PC, and you should be good to go!

    Let me know if it works for you!

    • dltr's avatar
      dltr
      Copper Contributor

      Thanks for the reply! I tried those two commands and they seemed to have no effect after rebooting.

       

      • ArloGilbert's avatar
        ArloGilbert
        Copper Contributor

        They didn't do anything for me either. Just uninstall and reinstall the xbox app from the microsoft store. When I opened it, it showed me all the errors about missing stuff and installed it all instantly.

Resources