Remove Windows 10 default apps during OSD Deployment

If you install Windows 10 and after you will install Updates. Default apps will be installed automatic.

After a while all default apps downloaded.

Find all installed Apps with Powershell as Administrator:

Get-AppxPackage | Select name

To remove Windows Apps, you can use Powershell commands with Administrator rights:

We will remove Apps for all Users:

Get-AppxPackage -AllUsers *Package* Remove-AppxPackage; Get-ProvisionedAppxPackage -online | Where {$_.Displayname -like ‘*Package*’} | Remove-ProvisionedAppxPackage –online;

3DBuilder
Appconnector
BingFinance
BingNews
BingSports
BingWeather
CandyCrushSodaSaga
CommsPhone
GetStarted
Messaging
OfficeHub
OneNote
People
SolitaireCollection
WindowsAlarms
WindowsCommunicationsApps
WindowsMaps
WindowsPhone
XboxApp
ZuneMusic
ZuneVideo

Example of a PowerShell script:

# Remove W10 Apps
#
# Example (use parameters to remove custom app(s)):
# powershell.exe -ExecutionPolicy Bypass .\RemoveApps.ps1 -RemoveApp 3DBuilder, CandyCrushSodaSaga
#
# Version: 1.1.2
# PowerShell argument ‘-RemoveApp’ for remove custom app(s)
Param
(
[string[]]$RemoveApp
)

# Without arguments use default remove apps
if(-not($RemoveApp))
{
$RemoveApp = “Microsoft.3DBuilder”,
“Microsoft.BingFinance”,
“Microsoft.BingNews”,
“Microsoft.BingSports”,
“Microsoft.BingWeather”,
“Microsoft.CandyCrushSodaSaga”,
“Microsoft.CommsPhone”, # Phone
“Microsoft.Getstarted” # Get Started
“Microsoft.IENS”,
“Microsoft.MicrosoftOfficeHub”, # Get Office
“Microsoft.Office.OneNote”,
“Microsoft.SkypeApp”, # Get Skype
“Microsoft.SolitaireCollection”,
“Microsoft.Twitter”,
“Microsoft.WindowsMaps”, # Maps
“Microsoft.WindowsPhone”, # Phone Companion
“Microsoft.XboxApp”, # Xbox
“Microsoft.ZuneMusic”,
“Microsoft.ZuneVideo” # Movies & TV
}

# Try to remove apps
ForEach ($App in $RemoveApp)
{
# Get package name
$PackageName = Get-AppxPackage | Where-Object {$_.Name -eq $App}

# Check if package exist
if ($PackageName -ne $null)
{
foreach ($Package in $PackageName)
{
Remove-AppxPackage -package $Package.PackageFullName
}
}
else
{
Write-Host “Unable to find package: $App”
}

# Get provisioned package name
$ProvisionedPackage = Get-AppxProvisionedPackage -online | Where-Object {$_.displayName -eq $App}

# Check if provisioned package exist
if ($ProvisionedPackage -ne $null)
{
remove-AppxProvisionedPackage -online -packagename $ProvisionedPackage.PackageName
}
else
{
Write-Host “Unable to find provisioned package: $App”
}
}

6 comments

  1. Thank you a bunch for sharing this with all folks you actually understand what you are speaking about! Bookmarked. Kindly also discuss with my site =). We may have a hyperlink alternate arrangement between us

  2. great post, very informative. I wonder why the other experts of this sector do not notice this. You must continue your writing. I am sure, you’ve a great readers’ base already!

  3. I have been reading out a few of your stories and it’s pretty good stuff. I will definitely bookmark your website.

  4. Fantastic blog! Do you have any helpful hints for aspiring writers?
    I’m planning to start my own blog soon but I’m
    a little lost on everything. Would you suggest starting with a free platform like WordPress or go for a paid option? There are so many options out there that I’m
    completely confused .. Any tips? Thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *