Windows 10 Deployment Re-adds bloatware
Good Morning,
We are starting to build a gold image of Windows 10 for test deployment in our educational organization then roll it out to everyone in due time.
At this time we are using version 1511 of Win 10 Education Volume. A default install of windows adds a ton of bloat such as Candy Crush, XBOX, and Twitter. After initial install we removed these and others via powershell and made a few basic changes to windows. Since we are utilizing both the K1000 and K2000 we push out apps during imaging and by labels.
After making the initial changes, we sysprepped the system with our general information (organization name, keys, and admin info) then imaged the system with the k2000. We test pushed (no domain joining or software install) the image only to a Win 10 compatible system. The image pushed fine and the proper drivers for the system were pushed.
Upon looking the system over all the bloat we removed prior to imaging was re-installed.
What can we do to prevent this?
Are there any tools to manage the install.wim to customize how windows installs prior to sysprep?
Any help appreciated.
Thank You,
Mark Howard
1 Comment
[ + ] Show comment
Answers (9)
Please log in to answer
Posted by:
SMal.tmcc
8 years ago
I have a post task that runs this to reduce the crap
start /wait Powershell "Get-AppxPackage | % {if (!($_.IsFramework -or $_.PublisherId -eq "cw5n1h2txyewy")) {$_}} | Remove-AppxPackage"
start /wait Powershell "Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online"
start /wait Powershell "Get-AppxPackage | % {if (!($_.IsFramework -or $_.PublisherId -eq "cw5n1h2txyewy")) {$_}} | Remove-AppxPackage"
start /wait Powershell "Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online"
Comments:
-
This is awesome SMal.tmcc. Thanks. - chucksteel 8 years ago
-
Sweet I'll have to use this as well, I cannot believe they have those stinking apps on ENTERPRISE that prevent sysprep from running.... - nheyne 8 years ago
-
If you want to pick and choose what to get rid of
use
Powershell "Get-AppXProvisionedPackage > file.txt" on you win10 master to see what apps you have then use
Powershell "Get-AppxPackage "app package name" | Remove-AppxPackage"
to get rid of
also run
Powershell "Get-AppXProvisionedPackage -allusers > allfile.txt" to see what ones you need to remove as admin. - SMal.tmcc 8 years ago -
I am new to KACE. Would I need to have these commands as a BAT file? - m698322h 8 years ago
-
see answer - SMal.tmcc 8 years ago
Posted by:
SMal.tmcc
8 years ago
I am keeping this blog up to date on the bloatware
http://www.itninja.com/blog/view/windows-10-deployment-re-adds-bloatware-tips-and-tricks-to-help-get-rid-of
but here is the post task I have been testing with.
http://www.itninja.com/blog/view/windows-10-deployment-re-adds-bloatware-tips-and-tricks-to-help-get-rid-of
but here is the post task I have been testing with.
Posted by:
m698322h
8 years ago
Posted by:
SMal.tmcc
8 years ago
I am testing today this in as my first post task as user administrator to get rid of everything I can and see if the image still functions ok.
start /wait Powershell "Get-AppXPackage | Remove-AppxPackage"
start /wait Powershell "Get-AppXPackage -allusers | Remove-AppxPackage"
start /wait Powershell "Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online"
start /wait Powershell "Get-AppXPackage | Remove-AppxPackage"
start /wait Powershell "Get-AppXPackage -allusers | Remove-AppxPackage"
start /wait Powershell "Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online"
Posted by:
SMal.tmcc
8 years ago
Here is another good one to use. I wanted to blow away the contact support button on the all apps menu that goes to Microsoft
http://winaero.com/blog/how-to-uninstall-and-remove-contact-support-in-windows-10/
you can also gather the alluser.txt names and get rid of some of those with this by editing the line in the command file that has the app name.
http://winaero.com/blog/how-to-uninstall-and-remove-contact-support-in-windows-10/
you can also gather the alluser.txt names and get rid of some of those with this by editing the line in the command file that has the app name.
Posted by:
jgarcia29
7 years ago
#This is a short script I put in powershell that goes thru a list of apps and remove them.
Set-ExecutionPolicy -ExecutionPolicy Bypass -Force -Scope CurrentUser
$apps = @(
# default Windows 10 apps
"Microsoft.3DBuilder"
"Microsoft.Appconnector"
"Microsoft.BingFinance"
"Microsoft.BingNews"
"Microsoft.BingSports"
"Microsoft.BingWeather"
"Microsoft.Getstarted"
"Microsoft.MicrosoftOfficeHub"
"Microsoft.MicrosoftSolitaireCollection"
"Microsoft.Office.OneNote"
"Microsoft.People"
"Microsoft.SkypeApp"
"Microsoft.Windows.Photos"
"Microsoft.WindowsAlarms"
"Microsoft.WindowsCamera"
"Microsoft.WindowsMaps"
"Microsoft.WindowsPhone"
"Microsoft.WindowsSoundRecorder"
"Microsoft.XboxApp"
"Microsoft.ZuneMusic"
"Microsoft.ZuneVideo"
"microsoft.windowscommunicationsapps"
"Microsoft.MinecraftUWP"
"Microsoft.BingFoodAndDrink"
"Microsoft.BingTravel"
"Microsoft.BingHealthAndFitness"
"Microsoft.WindowsReadingList"
"Microsoft.CommsPhone"
"Microsoft.ConnectivityStore"
"Microsoft.Messaging"
"Microsoft.Office.Sway"
"Microsoft.OneConnect"
"Microsoft.WindowsFeedbackHub"
"9E2F88E3.Twitter"
"PandoraMediaInc.29680B314EFC2"
"Flipboard.Flipboard"
"ShazamEntertainmentLtd.Shazam"
"king.com.CandyCrushSaga"
"king.com.CandyCrushSodaSaga"
"king.com.*"
"ClearChannelRadioDigital.iHeartRadio"
"4DF9E0F8.Netflix"
"6Wunderkinder.Wunderlist"
"Drawboard.DrawboardPDF"
"2FE3CB00.PicsArt-PhotoStudio"
"D52A8D61.FarmVille2CountryEscape"
"TuneIn.TuneInRadio"
"GAMELOFTSA.Asphalt8Airborne"
"TheNewYorkTimes.NYTCrossword"
"DB6EA5DB.CyberLinkMediaSuiteEssentials"
"Facebook.Facebook"
"flaregamesGmbH.RoyalRevolt2"
"Playtika.CaesarsSlotsFreeCasino"
"AdobeSystemsIncorporated.AdobePhotoshopExpress"
)
foreach ($app in $apps)
{
Get-AppxPackage $app -AllUsers | Remove-AppxPackage -AllUsers -Verbose
}
write-host "--Done--"
Set-ExecutionPolicy -ExecutionPolicy Bypass -Force -Scope CurrentUser
$apps = @(
# default Windows 10 apps
"Microsoft.3DBuilder"
"Microsoft.Appconnector"
"Microsoft.BingFinance"
"Microsoft.BingNews"
"Microsoft.BingSports"
"Microsoft.BingWeather"
"Microsoft.Getstarted"
"Microsoft.MicrosoftOfficeHub"
"Microsoft.MicrosoftSolitaireCollection"
"Microsoft.Office.OneNote"
"Microsoft.People"
"Microsoft.SkypeApp"
"Microsoft.Windows.Photos"
"Microsoft.WindowsAlarms"
"Microsoft.WindowsCamera"
"Microsoft.WindowsMaps"
"Microsoft.WindowsPhone"
"Microsoft.WindowsSoundRecorder"
"Microsoft.XboxApp"
"Microsoft.ZuneMusic"
"Microsoft.ZuneVideo"
"microsoft.windowscommunicationsapps"
"Microsoft.MinecraftUWP"
"Microsoft.BingFoodAndDrink"
"Microsoft.BingTravel"
"Microsoft.BingHealthAndFitness"
"Microsoft.WindowsReadingList"
"Microsoft.CommsPhone"
"Microsoft.ConnectivityStore"
"Microsoft.Messaging"
"Microsoft.Office.Sway"
"Microsoft.OneConnect"
"Microsoft.WindowsFeedbackHub"
"9E2F88E3.Twitter"
"PandoraMediaInc.29680B314EFC2"
"Flipboard.Flipboard"
"ShazamEntertainmentLtd.Shazam"
"king.com.CandyCrushSaga"
"king.com.CandyCrushSodaSaga"
"king.com.*"
"ClearChannelRadioDigital.iHeartRadio"
"4DF9E0F8.Netflix"
"6Wunderkinder.Wunderlist"
"Drawboard.DrawboardPDF"
"2FE3CB00.PicsArt-PhotoStudio"
"D52A8D61.FarmVille2CountryEscape"
"TuneIn.TuneInRadio"
"GAMELOFTSA.Asphalt8Airborne"
"TheNewYorkTimes.NYTCrossword"
"DB6EA5DB.CyberLinkMediaSuiteEssentials"
"Facebook.Facebook"
"flaregamesGmbH.RoyalRevolt2"
"Playtika.CaesarsSlotsFreeCasino"
"AdobeSystemsIncorporated.AdobePhotoshopExpress"
)
foreach ($app in $apps)
{
Get-AppxPackage $app -AllUsers | Remove-AppxPackage -AllUsers -Verbose
}
write-host "--Done--"
Posted by:
aktivexkontrol
7 years ago
Hi Everyone,
I tried the script above
start /wait Powershell "Get-AppXPackage | Remove-AppxPackage"
start /wait Powershell "Get-AppXPackage -allusers | Remove-AppxPackage"
start /wait Powershell "Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online"
start /wait Powershell "Get-AppXPackage -allusers | Remove-AppxPackage"
start /wait Powershell "Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online"
on a VM sysprep it, reboot but it re-download the apps
Posted by:
m698322h
8 years ago
Here is a great script I found to be ran during the deployment of an image to a PC. It can be modified to suit your company needs.
Script works great!
https://github.com/cluberti/VDI/blob/master/ConfigAsVDI.ps1
Comments:
-
I received many errors when I ran this. I am not a programmer. How did it work great for you. I ran it on a 1511 Windows 10 machine with no customizations.
Need to get rid of crapware. Any help would be appreciated. - Multiplatformguy 8 years ago
Posted by:
m698322h
8 years ago
start /wait Powershell "Get-AppXPackage -allusers | Remove-AppxPackage"
start /wait Powershell "Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online" - aktivexkontrol 7 years ago