Aug 26, 2018 2 min read

PowerShell Removing Windows 10 apps

PowerShell Removing Windows 10 apps

Windows 10 comes with lots of preinstalled apps, you can use PowerShell to remove the apps we do not want to use one of the following methods:

You can remove Windows 10 apps, from the installation.wim using a PowerShell script originally created by Andre Picker on Technet, first download the PowerShell script Download Script

Watch the following video to remove any apps you do not want to install from Windows 10:

Extract the ShellScript to the root of your hard drive, I used my D:\ drive

You will need to run this command to be able to execute scripts:

Set-ExecutionPolicy Unrestricted -Scope LocalMachine -Force

Then run this command to remove the apps:

D:\.\removeapps.ps1 -pathtowim C:\full path to your file\install.wim -selectapps $true

You can choose what you want to remove by entering Y for each application, after it finishes you can create a bootable USB stick using one of the applications from the Free Software page

Then copy the install.wim file to the sources' folder of the USB stick to use your edited install.wim you just created.

You now have a bootable Windows 10 USB stick with the apps removed, this method works fine if you plan on installing via USB, if you have already installed Windows 10 then you can use PowerShell to remove built in Apps.

The following video shows you how to remove apps from a Windows 10 machine.

PowerShell Commands

These are the commands used in the video, they will remove the apps for the current and additional users. I removed the Get-appxpackage -allusers *ContactSupport* | Remove-AppxPackage as this cannot be removed using PowerShell in the new version of windows.

Set-ExecutionPolicy Unrestricted -Scope LocalMachine -Force

Get-appxpackage -allusers *3dbuilder* | Remove-AppxPackage

Get-appxpackage -allusers *windowsalarms* | Remove-AppxPackage

Get-appxpackage -allusers *Appconnector* | Remove-AppxPackage

Get-appxpackage -allusers *Asphalt8Airborne* | Remove-AppxPackage

Get-appxpackage -allusers *windowscamera* | Remove-AppxPackage

Get-appxpackage -allusers *CandyCrushSodaSaga* | Remove-AppxPackage

Get-appxpackage -allusers *DrawboardPDF* | Remove-AppxPackage

Get-appxpackage -allusers *Facebook* | Remove-AppxPackage

Get-appxpackage -allusers *WindowsFeedbackHub* | Remove-AppxPackage

Get-appxpackage -allusers *officehub* | Remove-AppxPackage

Get-appxpackage -allusers *skypeapp* | Remove-AppxPackage

Get-appxpackage -allusers *getstarted* | Remove-AppxPackage

Get-appxpackage -allusers *zunemusic* | Remove-AppxPackage

Get-appxpackage -allusers *windowsmaps* | Remove-AppxPackage

Get-appxpackage -allusers *Messaging* | Remove-AppxPackage

Get-appxpackage -allusers *solitairecollection* | Remove-AppxPackage

Get-appxpackage -allusers *ConnectivityStore* | Remove-AppxPackage

Get-appxpackage -allusers *zunevideo* | Remove-AppxPackage

Get-appxpackage -allusers *OneConnect* | Remove-AppxPackage

Get-appxpackage -allusers *Office.Sway* | Remove-AppxPackage

Get-appxpackage -allusers *Twitter* | Remove-AppxPackage

Get-appxpackage -allusers *xboxapp* | Remove-AppxPackage

Get-appxpackage -allusers *XboxOneSmartGlass* | Remove-AppxPackage

Check out my free software page for useful tools and apps

Techie Mike
Techie Mike
Self-taught techie, with a passion for computers and all the cool things you can do with them. Techie Mike, B.Eng. B.Sc.
Great! You’ve successfully signed up.
Welcome back! You've successfully signed in.
You've successfully subscribed to Techie Mike - The IT guy in Thailand.
Your link has expired.
Success! Check your email for magic link to sign-in.
Success! Your billing info has been updated.
Your billing was not updated.