Unable to remove Xbox app from start menu in Windows 11 22H2


ijalabs

Member
Local time
4:55 AM
Posts
13
OS
Windows 11
Hi Experts,

I am creating image for Windows 11 22 H2 in that one of the requirement is to remove Xbox shortcut from the start menu. I was using the PowerShell commands to remove the shortcut given below.
get-appxpackage -allusers *xboxapp* | Remove-AppxPackage
get-appxprovisionedpackage –online | where-object {$_.packagename –like “*xboxapp*”} | remove-appxprovisionedpackage –online
Get-AppxPackage -allusers Microsoft.Xbox.TCUI | Remove-AppxPackage
Get-AppxPackage -allusers Microsoft.XboxGameOverlay | Remove-AppxPackage
Get-AppxPackage -allusers Microsoft.XboxGamingOverlay | Remove-AppxPackage
Get-AppxPackage -allusers Microsoft.XboxGamingOverlay | Remove-AppxPackage
Get-AppxPackage -allusers Microsoft.XboxIdentityProvider | Remove-AppxPackage
Get-AppxPackage -allusers Microsoft.XboxSpeechToTextOverlay | Remove-AppxPackage
get-appxprovisionedpackage –online | where-object {$_.packagename –like “*xbox*”} | remove-appxprovisionedpackage –online

these same commands did the job in Win11 21H2 as well but in Win1122H2 the shortcut still remains in the start menu as per the attached.

I have tried to uninstall from start menu and under apps in settings, after capturing and applying the image using sysprep the shortcut still shows up again.

Kindly suggest on how to get this removed from the start menu for all users.

Thanks
Bala
 
Windows Build/Version
Windows 11 22H2

Attachments

  • xbox screenshot.png
    xbox screenshot.png
    1.1 KB · Views: 4

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
I don't see Microsoft.GamingApp* stated anywhere.
 

My Computers

System One System Two

  • OS
    Win11 All /Debian/Arch
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & ADSL Bouygues -fr
    Browser
    Edge Canary- Firefox Nightly
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 12
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
Hi OAT,

Thanks for the reply i wanted to remove only the xbox app so i use the PowerShell command to get that that's why i have included "microsoft.gamingapp"

what i want is to remove the shortcut from the start menu.

Thanks
Bala
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
All the icons for Xbox are located in Microsoft.GamingApp_version_x64__8wekyb3d8bbwe in Assets folder.
Short of modifying the manifest.xml and the <uap:VisualElements> tag within that file, I don't see how else to do it.
This is not ideal as one would have to modify rights, at least temporarily.
I have not checked the Group Policies, there might be one to prevent its display.
I am sure someone else will chime in.
 

My Computers

System One System Two

  • OS
    Win11 All /Debian/Arch
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & ADSL Bouygues -fr
    Browser
    Edge Canary- Firefox Nightly
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 12
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
You can remove all Xbox features except for XboxGameCallableUI, because it's a protected inbox app.

Code:
> Get-AppxPackage * | Where-Object { $_.Name -match 'xbox|gam' -and $_.Name -notmatch 'Callable' } | Select Name

Name                            
----                            
Microsoft.XboxSpeechToTextOverlay
Microsoft.XboxGameOverlay       
Microsoft.Xbox.TCUI             
Microsoft.XboxIdentityProvider  
Microsoft.XboxGamingOverlay     
Microsoft.GamingApp             

> Get-AppxPackage * | Where-Object { $_.Name -match 'xbox|gam' -and $_.Name -notmatch 'Callable' } | Remove-AppPackage -AllUsers

> Get-AppxPackage * | Where-Object { $_.Name -match 'xbox|gam' } | Remove-AppxPackage
Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CFA)
error 0x80070032: AppX Deployment Remove operation on package Microsoft.XboxGameCallableUI_1000.22621.1.0_neutral_neutral_cw5n1h2txyewy from: C:\Windows\SystemApps\Microsoft.XboxGameCallableUI_cw5n1h2txyewy failed. This app is part of Windows and cannot be uninstalled on a per-user basis. An administrator can attempt to remove the app from the computer using Turn Windows Features on or off. However, it may not
be possible to uninstall the app.

But your Xbox shortcut is gone.

1694055440073.png
 

My Computer

System One

  • OS
    Windows 7

Latest Support Threads

Back
Top Bottom