Link to home
Start Free TrialLog in
Avatar of hyperbyte
hyperbyteFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Removing Apps Win 10 Pro

All, I am in the process of testing Windows 10 Pro before deploying it to a business.  I'd like to remove some of the built in apps and the ability to access the windows store. I've been using the below scripts, to remove some of the apps:

Get-AppxPackage -AllUsers *3dbuilder* | Remove-AppxPackage
Get-AppxPackage -AllUsers *windowsalarms* | Remove-AppxPackage
Get-AppxPackage -AllUsers *windowscommunicationsapps* | 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 *solitairecollection* | Remove-AppxPackage
Get-AppxPackage -AllUsers *bingfinance* | Remove-AppxPackage
Get-AppxPackage -AllUsers *zunevideo* | Remove-AppxPackage
Get-AppxPackage -AllUsers *bingnews* | Remove-AppxPackage
Get-AppxPackage -AllUsers *onenote* | Remove-AppxPackage
Get-AppxPackage -AllUsers *people* | Remove-AppxPackage
Get-AppxPackage -AllUsers *windowsphone* | Remove-AppxPackage
Get-AppxPackage -AllUsers *windowsstore* | Remove-AppxPackage
Get-AppxPackage -AllUsers *bingsports* | Remove-AppxPackage
Get-AppxPackage -AllUsers *soundrecorder* | Remove-AppxPackage
Get-AppxPackage -AllUsers *bingweather* | Remove-AppxPackage
Get-AppxPackage -AllUsers *xboxapp* | Remove-AppxPackage
Get-AppxPackage -AllUsers *messaging* | Remove-AppxPackage
Get-AppxPackage -AllUsers *OneDrive* | Remove-AppxPackage
Get-AppxPackage -AllUsers *StorePurchaseApp* | Remove-AppxPackage
Get-AppxPackage -AllUsers *WindowsFeedbackhub* | Remove-AppxPackage
Get-AppxPackage -AllUsers *XboxIdentityProvider* | Remove-AppxPackage
Get-AppxPackage -AllUsers *OneConnect* | Remove-AppxPackage
Get-AppxPackage -AllUsers *DuoLingo* | Remove-AppxPackage
Get-AppxPackage -AllUsers *EclipseManager* | Remove-AppxPackage
Get-AppxPackage -AllUsers *MixedRealityPortal* | Remove-AppxPackage
Get-AppxPackage -AllUsers *NetworkSpeedTest* | Remove-AppxPackage
Get-AppxPackage -AllUsers *CodeWriter* | Remove-AppxPackage
Get-AppxPackage -AllUsers *Adobephotoshopexpress* | Remove-AppxPackage

Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*3DBuilder*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*windowsalarms*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*windowscommunicationsapps*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*officehub*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*skypeapp*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*getstarted*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*zunemusic*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*solitairecollection*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*bingfinance*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*zunevideo*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*bingnews*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*onenote*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*people*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*windowsphone*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*windowsstore*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*bingsports*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*soundrecorder*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*bingweather*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*xboxapp*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*StorePurchaseApp*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*XboxIdentityProvider*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*WindowsFeedbackhub*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*OneConnect*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*Messaging*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*OneDrive*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*DuoLingo*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*EclipseManager*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*MixedRealityPortal*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*NetworkSpeedTest*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*CodeWriter*”} | Remove-AppxProvisionedPackage -online
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*Adobephotoshopexpress*”} | Remove-AppxProvisionedPackage -online

For one reason or another it seems to break Edge, and I have to reinstall it.  Can anyone advise on perhaps a better way to achieve this or notice a problem with the above as to why it is breaking edge?

Thank you
Avatar of ☠ MASQ ☠
☠ MASQ ☠

Just a guess that one of those apps is also taking out a dependency for Edge

Could you try kicking Edge back into life at the end of your script by appending
Del C:\Users\%username%\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe

Get-AppXPackage -Name Microsoft.MicrosoftEdge | ForEach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

Open in new window


Hopefully that won't also reinstall everything you've just removed!
Avatar of hyperbyte

ASKER

Hi, thanks for your response.  After further testing it actually seems to be related to the Firewall.  If I disable the firewall, Edge doesn't work.  I don't think its related to the script at all.
If you are removing all store app and you are not planning to use any store apps, why not install LTSB version of Windows 10?
ASKER CERTIFIED SOLUTION
Avatar of hyperbyte
hyperbyte
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This was my resolution