Completely uninstall preinstalled apps on Windows 11

Hugo Legeard 61 Reputation points
2022-03-28T08:09:25.85+00:00

Hello,

Being in the process of creating a Windows 11 master image,
I wanted to uninstall the preinstalled apps as it had been done on Windows 10, but it turns out that despite uninstalling the apps in powershell with the command "Get-AppxPackage -AllUsers | Remove-AppxPackage" as administrator, it turns out that if I create a new user on the machine all the apps are reinstalled on the new user!
Ditto for the initial user, after a sysprep all the apps are reinstalled!
How is it possible ? While the -AllUsers option is specified?

Thank you in advance for your answers,

Hugo LEGEARD.

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,864 questions
{count} votes

Accepted answer
  1. Limitless Technology 39,666 Reputation points
    2022-04-01T15:23:09.1+00:00

    Hi @Hugo Legeard

    To remove an app from new accounts created in future, modify the desired command as follows:

    Get-AppxProvisionedPackage –online | where-object {$_.packagename –like "PackageName"} | Remove-AppxProvisionedPackage –online

    Also , Windows 11 has a built-in package manager called winget. It supports uninstalling apps,

    Enter the following command: winget list. It will return the list of allapps you have currently installed on your machine.
    Find the app you want to remove and type this command winget uninstall

    For Example : winget uninstall cortana

    Hope this answers your question :)
    Thank you.

    --
    --If the reply is helpful, please Upvote and Accept as answer--

    4 people found this answer helpful.

0 additional answers

Sort by: Most helpful

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.