Now my last post was to remove those built-in apps, but later I found it was still in Windows 10 when another user logged-in. After much googling and studying MSDN and TechNet, I found a powershell script and I wrote some sample of my own.
First of all, you still need to run the previous powershell script to ensure that all users are not provisioned with the built-in apps, just in case I have re-posted those script here for your references.
Get-AppxPackage -allusers *3dbuilder* | Remove-AppxPackage
Get-AppxPackage -allusers *windowsalarms* | Remove-AppxPackage
Get-AppxPackage -allusers *zunevideo* | 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 *bingnews* | Remove-AppxPackage
Get-AppxPackage -allusers *people* | Remove-AppxPackage
Get-AppxPackage -allusers *windowsphone* | Remove-AppxPackage
Get-AppxPackage -allusers *commsphone* | Remove-AppxPackage
Get-AppxPackage -allusers *bingsports* | Remove-AppxPackage
Get-AppxPackage -allusers *windowsstore* | Remove-AppxPackage
Get-AppxPackage -allusers *bingweather* | Remove-AppxPackage
Get-AppxPackage -allusers *xboxapp* | Remove-AppxPackage
Get-AppxPackage -allusers *twitter* | Remove-AppxPackage
Get-AppxPackage -allusers *office.sway* | Remove-AppxPackage
Get-AppxPackage -allusers *xboxonesmartglass* | Remove-AppxPackage
Get-AppxPackage -allusers *messaging* | Remove-AppxPackage
|
After you have completed the above script, now you can run the 2nd script as below, also you can choose which apps you want to retain back.
Remove-AppxProvisionedPackage -online -packagename
Microsoft.3DBuilder_11.0.47.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename
Microsoft.BingWeather_4.9.51.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename
Microsoft.Getstarted_3.11.3.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename
Microsoft.Messaging_2.7.1001.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename
Microsoft.MicrosoftOfficeHub_2015.6801.23751.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename
Microsoft.MicrosoftSolitaireCollection_3.9.5100.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename Microsoft.Office.OneNote_2015.6868.57981.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename
Microsoft.OneConnect_1.1605.17.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename
Microsoft.People_2016.709.155.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename
Microsoft.People_2016.709.155.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename
Microsoft.SkypeApp_11.4.86.0_neutral_~_kzf8qxf38zg5c
Remove-AppxProvisionedPackage -online -packagename
Microsoft.StorePurchaseApp_1.0.454.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename
Microsoft.WindowsAlarms_2016.622.2118.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename microsoft.windowscommunicationsapps_2015.6868.41201.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename
Microsoft.WindowsFeedbackHub_1.3.1741.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename Microsoft.WindowsMaps_2016.701.2235.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename
Microsoft.WindowsStore_11606.1001.394.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename
Microsoft.XboxApp_2016.623.248.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename
Microsoft.XboxIdentityProvider_2016.616.818.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename
Microsoft.ZuneMusic_2019.6.19261.0_neutral_~_8wekyb3d8bbwe
Remove-AppxProvisionedPackage -online -packagename
Microsoft.ZuneVideo_2019.6.19281.0_neutral_~_8wekyb3d8bbwe
|
I find this to be useful especially when you want to create a consistent operating environment (COE) for a corporate/enterprise system.
!!! HAPPY SCRIPTING !!!
!!! HAPPY CHINESE NEW YEAR !!!