How to uninstall Windows 10 apps for all users

We are doing a rollout of laptops and workstation using windows 10 pro and are driving me crazy by the default apps installed with windows.  i am checking what are you guys doing to remove the app from all users i see a lot of powershell scripts online just checking whats working for you. any help would be greatly appreciated.


0 Comments   [ + ] Show comments

Answers (3)

Answer Summary:
Posted by: Channeler 4 years ago
Red Belt
If you use the Enterprise Edition is easier... 


Use GPO Policies to remove Apps, and\or prevent users from Accessing the Store.


Build and Push a PowerShell Script to Remove apps:


Posted by: akmagnum 4 years ago
Red Belt

Top Answer

I get rid of mine as a post install task in the installation.

write list of apps needed for uninstall in a text file.....save as a PowerShell script  (PS1)

call it "RemoveApps.ps1" or whatever else you like.

It should have all the apps you want to remove listed as below for example

Get-AppxPackage *3dbuilder* | Remove-AppxPackage
Get-AppxPackage *windowscamera* | Remove-AppxPackage
Get-AppxPackage *CandyCrushSaga* | Remove-AppxPackage
Get-AppxPackage *officehub* | Remove-AppxPackage
Get-AppxPackage *skypeapp* | Remove-AppxPackage

then create a bat file called "uninstall.bat" or any other name with the command...

powershell.exe -executionPolicy bypass -file RemoveAppsFinal.ps1

Zip these two up and upload to the k2  in a post install task.

(don't zip the folder they are in......just the two files)

In the "Full command line" box call the bat file..


cleans all the apps I don't need.

Posted by: Ziggi 4 years ago
Blue Belt

You need to get rid for All Users, you need to use -AllUsers

See below

Function RemMostApps {
        Write-Host "***Removing all apps and provisioned appx packages for this machine except Photos,Calculator...***"     
        Get-AppxPackage -AllUsers | where-object {$_.name -notlike "*Microsoft.Net.Native*" -and $_.name -notlike "*Calculator*" -and $_.name -notlike "*sticky*" -and $_.name -notlike "*Windows.Photos*" -and $_.name -notlike "*SoundRecorder*" -and $_.name -notlike "*MSPaint*"} | Remove-AppxPackage -erroraction silentlycontinue
        Get-AppxPackage -AllUsers | where-object {$_.name -notlike "*Microsoft.Net.Native*" -and $_.name -notlike "*Microsoft.VCLibs*" -and $_.name -notlike "*Calculator*" -and $_.name -notlike "*sticky*" -and $_.name -notlike "*Windows.Photos*" -and $_.name -notlike "*SoundRecorder*" -and $_.name -notlike "*MSPaint*"} | Remove-AppxPackage -erroraction silentlycontinue
        Get-AppxProvisionedPackage -online | where-object {$_.displayname -notlike "*Microsoft.Net.Native*" -and $_.displayname -notlike "*Microsoft.VCLibs*" -and $_.displayname -notlike "*Calculator*" -and $_.displayname -notlike "*sticky*" -and $_.displayname -notlike "*Windows.Photos*" -and $_.displayname -notlike "*SoundRecorder*" -and $_.displayname -notlike "*Netflix*" -and $_.displayname -notlike "*MSPaint*"} | Remove-AppxProvisionedPackage -online -erroraction silentlycontinue      


This gets rid of everything apart from Netflix I think.  I do not recommend getting rid of the store though.

Once it runs, when you login as the New User it will have cleaned up all the apps.

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ