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!

21 Replies

  • Younhz's avatar
    Younhz
    Copper Contributor

    After downloading the xbox app, open settings and download dependencies here.

  • jamereach66t's avatar
    jamereach66t
    Brass Contributor

    Hey! Yes, you can try reinstalling the Xbox Game Bar using PowerShell. Just run this command as administrator:

    Get-AppxPackage -allusers Microsoft.XboxGamingOverlay | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

    If that doesn’t work, you can also try reinstalling it from the Microsoft Store. Let me know if you still see the popup!

  • Barbarank's avatar
    Barbarank
    Iron Contributor

    Open the Microsoft Store: Search for "Xbox Game Bar".

    Reinstall: If available, click "Install" or "Get" to reinstall the app.

    Launch: Press Win + G to open the Game Bar.

  • Blesse be the forums, thank you all! Downloading the Xbox app from the Microsoft store and installing components it accused of being missing solved it! (Also, enabling Game Bar in Windows Settings, of course.)

  • Pixelscrafters's avatar
    Pixelscrafters
    Copper Contributor

    I'm facing the same issue. Whenever I start playing the stardew valley apk game, this pops up for me too. I have done a lot of research for this but my issue has not been resolved. I hope your post will resolve my issue as well. Thanks https://stardewvalleyapkfree.com/

    • Charli3Dubs's avatar
      Charli3Dubs
      Copper Contributor

      Have you tried installing the Xbox app? I had removed ms-gamingoverlay from my system accidentally and the Xbox app had an option to download the missing overlay files. Haven't had any issues after that. Once the app is open it's a notification pop up at the top of the window that says it found the file is missing and offer the download button. GLHF!

  • wsophia's avatar
    wsophia
    Iron 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
    Iron 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
    Iron 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