Share via

Apps removed using powershell come back

VgerNYC 1 Reputation point
2022-09-08T18:17:26.777+00:00

I noticed if I remove apps for all users from Windows 11 and then sign in as a new user, they still get the apps anyway.

For example, I used the PowerShell command to remove a specific app for all users

Get-AppxPackage -AllUsers zunevideo | Remove-AppxPackage

Is this command incorrect to use?

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments

2 answers

Sort by: Most helpful
  1. VgerNYC 1 Reputation point
    2022-09-08T21:22:58.447+00:00

    I have tried that command and I get errors in Powershell in Windows 10 Enterprise for Virtual Desktops 21H2

    Oddly....it works in Windows 11 ?!

    Was this answer helpful?


  2. Michael Taylor 61,221 Reputation points
    2022-09-08T19:22:18.447+00:00

    All that command does is remove an app from the machine. If you create a new user on the machine then Windows will simply reinstall the default programs again. Your command doesn't prevent that. To get the list of apps that will be installed when a new user is created run the Get-AppxProvisionedPackage command instead.

    I've never tried it but I believe the Remove-AppxProvisionedPackage command will allow you to remove provisioned apps which will prevent them from being auto-installed.

    Was this answer helpful?

    0 comments No comments

Your answer

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