remover la app xbox por ps

Mario 260 Reputation points
2024-10-29T21:27:58.6166667+00:00

Hi guys.

I need to remove the Xbox app completely from Win11,

I run in admin mode:

get-appxpackage xbox | remove-appxpackage

But. It gives an error:

This application is part of Windows and cannot be uninstalled individually by each user. An administrator can try to remove the application from the computer by enabling or disabling features,

Is there any way to remove it through Powershell?

Thanks

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,255 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,561 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Karlie Weng 18,581 Reputation points Microsoft Vendor
    2024-10-30T03:13:26.1933333+00:00

    Hello,

    You might need to use Remove-AppxProvisionedPackage (DISM) | Microsoft Learn

    XBOX are pre-installed UWP app treated differently by the operating system.

    • Run the following command to list all provisioned packages:

    Get-AppxProvisionedPackage -Online | Where-Object {$_.DisplayName -like "Xbox"}

    • Remove Each Package Using the PackageName:

    Remove-AppxProvisionedPackage -Online -PackageName "PackageName" -AllUsers

    User's image

    Note to create a system restore point so you can revert the changes if something goes wrong.

    Reference: How to Uninstall Built-in UWP (APPX) Apps on Windows 10 or 11 | Windows OS Hub


    If the Answer is helpful, please click Accept Answer and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.