Converting Windows 10 Media Creation tool to install.wim

When creating media with the Microsoft Windows 10 media creation tool, the USB drive or ISO file will not have install.wim included.  Therefore, you are not able to import an operating system into MDT.  There must be a install.wim in the “sources” in the media.  By default, the media creation tool creates a “install.esd” file.

 

To convert install.esd into install.wim, you can you use dism.

Open the Deployment and Imaging Tools Environment CMD prompt as admin, and browse to your folder location of install.esd

type:  dism /Get-WimInfo /WimFile:install.esd

 

 

 

 

We are looking for the index of the version we want to convert.  For example, if you want Windows 10 PRO, use index 1.

then type:  dism /export-image /SourceImageFile:install.esd /SourceIndex:1 /DestinationImageFile:install.wim /Compress:max /CheckIntegrity

 

 

 

 

This will convert your install.wim file and can now delete install.esd.  This should now import into MDT.

Posted in dism, MDT, MDT 2010, Windows 10 | Tagged , , , | Leave a comment

Remove all Windows 10 Metro Apps, except the Store

As you probably already know, sysprep will usually fail if the Windows 10 store metro style apps aren’t removed.  Most of my customers want these apps removed anyway.  I did have a request today to have all apps removed, but keep the Windows store just in case something wanted to be added in the future.

 

The normal method of removing the apps also removes the store.  I just tested the following Powershell commands that remove every app, except the store.  This may be useful as it’s difficult to add the store after the fact.

 

Get-appxprovisionedpackage –online | where-object {$_.packagename –notlike “*store*”} | Remove-AppxProvisionedPackage –online

 

Get-AppxPackage -AllUsers | where-object {$_.name –notlike “*store*”} | Remove-AppxPackage

Posted in MDT, MDT 2010, Microsoft Deployment Toolkit, Windows 10 | Tagged , , | Leave a comment