Here is what is removed, not sure what that leaves. :)
"microsoft.windowscommunicationsapps",
"Microsoft.BingFinance",
"Microsoft.BingMaps",
"Microsoft.BingWeather",
"Microsoft.ZuneVideo",
"Microsoft.ZuneMusic",
"Microsoft.Media.PlayReadyClient.2",
"Microsoft.XboxLIVEGames",
"Microsoft.HelpAndTips",
"Microsoft.BingSports",
"Microsoft.BingNews",
"Microsoft.BingFoodAndDrink",
"Microsoft.BingTravel",
"Microsoft.WindowsReadingList",
"Microsoft.BingHealthAndFitness",
"Microsoft.WindowsAlarms",
"Microsoft.Reader",
"Microsoft.WindowsCalculator",
"Microsoft.WindowsScan",
"Microsoft.WindowsSoundRecorder",
"Microsoft.SkypeApp"
<#
************************************************************************************************************
Purpose: Remove built in apps specified in list
Pre-Reqs: Windows 8.1
************************************************************************************************************
#>
#---------------------------------------------------------------------------------------------------------------
# Main Routine
#---------------------------------------------------------------------------------------------------------------
# Get log path. Will log to Task Sequence log folder if the script is running
in a Task Sequence
# Otherwise log to \windows\temp
try
{
$tsenv = New-Object -COMObject Microsoft.SMS.TSEnvironment
$logPath = $tsenv.Value("LogPath")
}
catch
{
Write-Host "This script is not running in a task sequence"
$logPath = $env:windir + "\temp"
}
$logFile = "$logPath\$($myInvocation.MyCommand).log"
# Start logging
Start-Transcript $logFile
Write-Host "Logging to $logFile"
# List of Applications that will be removed
$AppsList =
"microsoft.windowscommunicationsapps","Microsoft.BingFinance","Microsoft.BingMaps","Microsoft.BingWeather","Microsoft.ZuneVideo","Microsoft.ZuneMusic","Microsoft.Media.PlayReadyClient.2","Microsoft.XboxLIVEGames","Microsoft.HelpAndTips","Microsoft.BingSports","Microsoft.BingNews","Microsoft.BingFoodAndDrink","Microsoft.BingTravel","Microsoft.WindowsReadingList","Microsoft.BingHealthAndFitness","Microsoft.WindowsAlarms","Microsoft.Reader","Microsoft.WindowsCalculator","Microsoft.WindowsScan","Microsoft.WindowsSoundRecorder","Microsoft.SkypeApp"
ForEach ($App in $AppsList)
{
$Packages = Get-AppxPackage | Where-Object {$_.Name -eq $App}
if ($Packages -ne $null)
{
Write-Host "Removing Appx Package: $App"
foreach ($Package in $Packages)
{
Remove-AppxPackage -package $Package.PackageFullName
}
}
else
{
Write-Host "Unable to find package: $App"
}
$ProvisionedPackage = Get-AppxProvisionedPackage -online | Where-Object
{$_.displayName -eq $App}
if ($ProvisionedPackage -ne $null)
{
Write-Host "Removing Appx Provisioned Package: $App"
remove-AppxProvisionedPackage -online -packagename
$ProvisionedPackage.PackageName
}
else
{
Write-Host "Unable to find provisioned package: $App"
}
}
# Stop logging
Stop-Transcript
Daniel Ratliff
From: [email protected] [mailto:[email protected]] On
Behalf Of Merenda, Kenneth
Sent: Monday, December 29, 2014 9:47 AM
To: [email protected]
Subject: [mssms] RE: Updating Windows 8 apps
Thanks for the feedback. Which apps do you leave in?
Kenneth Merenda
From: [email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of Daniel Ratliff
Sent: Monday, December 29, 2014 7:13 AM
To: [email protected]<mailto:[email protected]>
Subject: [mssms] RE: Updating Windows 8 apps
Can they be patched? No, not the built in Store apps, only from the Windows
Store. The .msi and .appx files are not available for patching.
For us, we just remove all the built in store apps except a couple.
Daniel Ratliff
From: [email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of Merenda, Kenneth
Sent: Monday, December 29, 2014 8:06 AM
To: '[email protected]'
Subject: [mssms] Updating Windows 8 apps
This question is a bit more windows than it is SCCM - sorry for that.
Our corporate image for Windows 8.1 has the Windows Store app disabled. Some
users are now getting prompted to update the built-in apps, like the weather
app or the video app. When these users attempt to update, they are taken to the
Windows store app, where they receive a message that states the store has been
disabled by the administrator.
We're using SCCM 2012 R2 CU3. Is it possible to patch these apps through SCCM
software updates rather than through the store? Is it possible to leave the
store open for updates, but not for new app downloads? What is everyone else
doing? I'm tempted to just remove all of the built-in modern/metro apps from
the golden image.
Kenneth Merenda
The information transmitted is intended only for the person or entity to which
it is addressed
and may contain CONFIDENTIAL material. If you receive this material/information
in error,
please contact the sender and delete or destroy the material/information.
The information transmitted is intended only for the person or entity to which
it is addressed
and may contain CONFIDENTIAL material. If you receive this
material/information in error,
please contact the sender and delete or destroy the material/information.