I wanted to remove the Xbox app (Figure A) because it serves no purpose on my productivity-only notebook computer. After I surf online for good uninstall method, the right way to uninstall the Xbox app is to use PowerShell.
Figure A
Start by typing powershell in the Cortana search box and right-clicking the first result in the list to run the PowerShell app as administrator. At the PS prompt type (or better yet, copy and paste) the following command (Figure B) and then press Enter:
Get-AppxPackage xboxapp | Remove-AppxPackage
Figure B
Close PowerShell and check the Start Menu again and you should see a missing spot where the Xbox app used to be (Figure C).
Figure C
Other eligible apps
Some other Windows 10 apps you might consider removing with this method include:
Get-AppxPackage officehub | Remove-AppxPackage
Get-AppxPackage solitairecollection | Remove-AppxPackage
Get-AppxPackage bingfinance | Remove-AppxPackage
Get-AppxPackage bingnews | Remove-AppxPackage
Get-AppxPackage bingsports | Remove-AppxPackage
Get-AppxPackage bingweather | Remove-AppxPackage
Once removed the desired apps, take a few minutes to rearrange the Start Menu since it is going to have a few holes in it now.
Getting them back
Users still can reinstall the apps with a special PS command. Start PowerShell in administrative mode again, then copy and paste this command into the prompt and press Enter:
Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
It will likely take a few minutes, so be patient. All the built-in Windows 10 apps should return to the Start Menu.