Jump to content
DeployCentral

How to setup WIndows 10 VM base image for SmartDeploy


DJ_Mo

Recommended Posts

I am wanting to use SmartDeploy to deploy "Windows 10 Edu".  I wanted to get ideas on best practices on how to remove certain provisioned packages from the base image, so when new domain users log on to the PC... they wont see certain provisioned packages.  Provisioned packages such as "Get Office", XBOX, Solitaire Collection, One Drive, Mail App, Groove Music, Zune Video, "Skype Preview" etc.

So far I have fired up my virtual machine, installed Windows 10 Edu, installed Office 2016, our antivirus, Adobe Reader DC, performed all updates.

Do I remove the apps using PowerShell commands as mentioned in this article "https://4sysops.com/archives/remove-provisioned-built-in-apps-in-windows-10/" ?  Does this need to run under Local Administrator?

Or should I use Local Group Policy or should I use our AD Group Policy on the PCs (my fear with this is, I dont want it to slow down boot up time if it has to run uninstall apps all the time on boot up)?  Links or instructions on how to do this would be great.

Any other advice on what you guys do with Windows 10 Edu version before deployment.

Thanks.

 

Link to comment
Share on other sites

  • 4 months later...

Okay my man here is what support told me on making a gold image. First off remove the AV. They have specifically told me that imaging a windows 10 machine with an AV is not something you should do because it can cause errors. 

Smart Deploy actually has a list in the PDF manual (http://download.smartdeploy.com/SDEUsersGuide.pdf , page 10) 

In addition to what they mention:

1. Have a Windows 10 Volume License. This is important because an image can only be syspreped a certain number of times and the volume license is the recommended (required?) way that they tell you to keep your deployments licensed. 

Disclaimer (I have not fully tested this, but I have done this to my most recent master image of win10 and if it works well I will be doing this to all of my win10 images.) 

2. I used this code to remove the built in apps in an administrative version of Powershell from the built in Administrator account: 

get-appxpackage *messaging* | remove-appxpackage
get-appxpackage *sway* | remove-appxpackage
get-appxpackage *commsphone* | remove-appxpackage
get-appxpackage *windowsphone* | remove-appxpackage
get-appxpackage *phone* | remove-appxpackage
get-appxpackage *communicationsapps* | remove-appxpackage
get-appxpackage *people* | remove-appxpackage
get-appxpackage *zunemusic* | remove-appxpackage
get-appxpackage *zunevideo* | remove-appxpackage
get-appxpackage *zune* | remove-appxpackage
get-appxpackage *bingfinance* | remove-appxpackage
get-appxpackage *bingnews* | remove-appxpackage
get-appxpackage *bingsports* | remove-appxpackage
get-appxpackage *bingweather* | remove-appxpackage
get-appxpackage *bing* | remove-appxpackage
get-appxpackage *onenote* | remove-appxpackage
get-appxpackage *alarms* | remove-appxpackage
get-appxpackage *calculator* | remove-appxpackage
get-appxpackage *camera* | remove-appxpackage
get-appxpackage *photos* | remove-appxpackage
get-appxpackage *maps* | remove-appxpackage
get-appxpackage *soundrecorder* | remove-appxpackage
get-appxpackage *xbox* | remove-appxpackage
get-appxpackage *solitaire* | remove-appxpackage
get-appxpackage *officehub* | remove-appxpackage
get-appxpackage *skypeapp* | remove-appxpackage
get-appxpackage *getstarted* | remove-appxpackage
get-appxpackage *3dbuilder* | remove-appxpackage

 

Then I used this code to hold the changes and, hopefully, prevent win10 from installing the built in apps again:

$Applist = Get-AppXProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*3DBuilder*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*Appconnector*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*BingFinance*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*BingNews*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*BingSports*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*BingWeather*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*CommsPhone*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*ConnectivityStore*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*Getstarted*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*Messaging*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*MicrosoftOfficeHub*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*MicrosoftSolitaireCollection*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*OneNote*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*Sway*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*People*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*SkypeApp*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*WindowsAlarms*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*WindowsCamera*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*windowscommunicationsapps*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*WindowsMaps*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*WindowsPhone*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*WindowsSoundRecorder*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*WindowsStore*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*XboxApp*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*ZuneMusic*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*ZuneVideo*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*xbox*"} | Remove-AppxProvisionedPackage -online
$Applist | WHere-Object {$_.packagename -like "*contact support*"} | Remove-AppxProvisionedPackage -online

If you have any questions feel free to ask! I have been deploying with WDS for about 2 months now and have been troubleshooting most of the way! 

EDIT: I do not know of a way to do the same type of thing within either local policy or AD GPO. For more information on powershell uninstall methods check out these articles: http://www.makeuseof.com/tag/easily-remove-bloatware-windows-10/ and http://www.askvg.com/guide-how-to-remove-all-built-in-apps-in-windows-10/  (These are the ones that I originally found the code from). 

Happy Deployments!

Sept

Screen Shot 2016-12-15 at 5.19.14 PM.png

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...