Windows 10 Deployment – Wim Creation

I was struggling to start with creating an ‘Unattend.xml’ through the Windows System Image Manager.

I downloaded and installed the Windows 10 deployment and Imaging Tools Environment through the Windows Assessment and Deployment Kit (ADK) for Windows 10 available from  https://msdn.microsoft.com/en-us/windows/hardware/dn913721(v=vs.8.5).aspx . However when attempting to load the ‘\sources\install.wim’ file from the Windows 10 Enterprise DVD I received the error:

09:28 : This application requires version 10.0.10240.16384 of the Windows ADK.
Install this version to correct the problem
09:29 :
09:29 : Error opening Windows image at D:\sources\install.wim.

09:29 :
09:29 : System.ComponentModel.Win32Exception (0x80004005): An attempt was made to load a program with an incorrect format
at Microsoft.ComponentStudio.ComponentPlatformInterface.WimFileHandle..ctor(String wimPath)
at Microsoft.ComponentStudio.ComponentPlatformInterface.WimInfo..ctor(String wimPath)
at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.OpenWim(String wimPath)
at Microsoft.ComponentStudio.ImagePicker.GetImageInfoFromPath(String path)
at Microsoft.ComponentStudio.ImagePicker.ValidateImageFileOrFolder(String fileOrFolder)

After much googling around I did find a reference to the problem (although sadly I’ve now lost the source!), the issue is the compression level of the .wim on the DVD as (I believe) it was authored through the MediaCreationTool and so has undergone some increased compression.

The solution is to use DISM (provided as part of the ADK kit) to re-compress the ESD-wim file into a format that can be used by the Windows System Image Manager for creating the Unattend.xml answer files. To do this I issued the following command from the “Windows Imaging and Tools Environment” which was running in an Elevated Administrative fashion, where D:\ was my DVD drive assignment:

dism.exe /Export-Image /SourceImageFile:D:\sources\install.wim /SourceIndex:1 /DestinationImageFile:C:\install.wim /Compress:max

I hope this is of help to others!

 

Dave

Keble : Microsoft Office 2013 MSP’s

MS OFFICE 2013 MSP:

CONFERENCE:
Install Location and organisation name:
[ProgramFilesFolder]\Microsoft Office
Keble College
Licensing and user interface:
use KMS client key
tick:I accept the terms in the License Agreement
Display Level:None
tick:Suppress modal
Features
Modify User Settings:
Microsoft Office 2013\Privacy\Trust Center\Disable Opt-in Wizard on first run : Enabled
Microsoft Office 2013\Miscellaneous\Show OneDrive Sign In : Disabled
Microsoft Office 2013\Miscellaneous\Block signing into Office : Enabled, NONE ALLOWED

Set feature installation states
DO NOT INSTALL:
Microsoft OneDrive for Business
Microsoft OneNote
Microsoft Outlook
Office Shared Features\Business Connectivity Services
Microsoft PowerPoint\Organization Chart Add-in for Microsoft Office programs
Office Tools\Office Telemetry
Office Tools\Microsoft Sharepoint Foundation Support
Microsoft InfoPath
Microsoft Lync

Configure Shortcuts:
REMOVE:
Database Compare 2013
InfoPath Designer 2013
InfoPath Filler 2013
Lync 2013
Lync Recording Manager
Office 2013 Upload Center
OneDrive for Business 2013
OneNote 2013
Outlook 2013
Send to OneNote 2013
Spreadsheet Compare 2013
Telemetry Dashboard for Office 2013
Telemetry Log for Office 2013
ADD:
Microsoft PowerPoint 2010 [DesktopFolder] STARTIN:%PROGRAMFILES(x86)%\Microsoft Office\Office15 Installed:Yes
Microsoft Word 2010 [DesktopFolder] STARTIN:%PROGRAMFILES(x86)%\Microsoft Office\Office15 Installed:Yes

FELLOWS:
Install Location and organisation name:
[ProgramFilesFolder]\Microsoft Office
Keble College
Licensing and user interface:
use KMS client key
tick:I accept the terms in the License Agreement
Display Level:None
tick:Suppress modal
Features
Modify User Settings:
Microsoft Office 2013\Privacy\Trust Center\Disable Opt-in Wizard on first run : Enabled

Set feature installation states
DO NOT INSTALL:

Configure Shortcuts:
REMOVE:

ADD:

STAFF:
Install Location and organisation name:
[ProgramFilesFolder]\Microsoft Office
Keble College
Licensing and user interface:
use KMS client key
tick:I accept the terms in the License Agreement
Display Level:None
tick:Suppress modal
Features
Modify User Settings:
Microsoft Office 2013\Privacy\Trust Center\Disable Opt-in Wizard on first run : Enabled
Microsoft Office 2013\Miscellaneous\Show OneDrive Sign In : Disabled
Microsoft Office 2013\Miscellaneous\Block signing into Office : Enabled, NONE ALLOWED

Set feature installation states
DO NOT INSTALL:
Microsoft OneDrive for Business
Office Shared Features\Business Connectivity Services
Microsoft PowerPoint\Organization Chart Add-in for Microsoft Office programs
Office Tools\Office Telemetry
Office Tools\Microsoft Sharepoint Foundation Support
Microsoft InfoPath
Microsoft Lync

Configure Shortcuts:
REMOVE:
Lync 2013
Lync Recording Manager
Office 2013 Upload Center
OneDrive for Business 2013
Telemetry Dashboard for Office 2013
Telemetry Log for Office 2013

Keble : Microsoft Office 2010 MSP’s

MS OFFICE 2010 MSP:

CONFERENCE:
Install Location and organisation name:
[ProgramFilesFolder]\Microsoft Office
Keble College
Licensing and user interface:
use KMS client key
tick:I accept the terms in the License Agreement
Display Level:None
tick:Suppress modal
Features
Modify User Settings:
Microsoft Office 2010\Privacy\Trust Center\Disable Opt-in Wizard on first run : Enabled
Set feature installation states
DO NOT INSTALL:
Microsoft Access\Add-ins\Package Wizard
Microsoft Sharepoint Workspace
Microsoft OneNote
Microsoft Outlook
Microsoft PowerPoint\Organization Chart Add-in for Microsoft Office programs
Office Tools\Hosted Webs
Microsoft InfoPath
Configure Shortcuts:
Microsoft PowerPoint 2010 [DesktopFolder] Installed:Yes
Microsoft Word 2010 [DesktopFolder] Installed:Yes

FELLOWS:
Install Location and organisation name:
[ProgramFilesFolder]\Microsoft Office
Keble College
Licensing and user interface:
use KMS client key
tick:I accept the terms in the License Agreement
Display Level:None
tick:Suppress modal
Features
Modify User Settings:
Microsoft Office 2010\Privacy\Trust Center\Disable Opt-in Wizard on first run : Enabled
Set feature installation states
DO NOT INSTALL:
Microsoft Access\Add-ins\Package Wizard
Microsoft Outlook\Outlook Templates
Office Tools\Hosted Webs

STAFF:
Install Location and organisation name:
[ProgramFilesFolder]\Microsoft Office
Keble College
Licensing and user interface:
use KMS client key
tick:I accept the terms in the License Agreement
Display Level:None
tick:Suppress modal
Features
Modify User Settings:
Microsoft Office 2010\Privacy\Trust Center\Disable Opt-in Wizard on first run : Enabled
Set feature installation states
DO NOT INSTALL:
Microsoft Access\Add-ins\Package Wizard
Microsoft Outlook\Outlook Templates
Office Tools\Hosted Webs

STUDENTS:
Install Location and organisation name:
[ProgramFilesFolder]\Microsoft Office
Keble College
Licensing and user interface:
use KMS client key
tick:I accept the terms in the License Agreement
Display Level:None
tick:Suppress modal
Features:
Modify User Settings:
Microsoft Office 2010\Privacy\Trust Center\Disable Opt-in Wizard on first run : Enabled
Set feature installation states:
DO NOT INSTALL:
Microsoft Access\Add-ins\Package Wizard
Microsoft Outlook
Office Tools\Hosted Webs
Microsoft InfoPath\.NET Programmability Support\Visual Studio Tools for Applications
Configure Shortcuts:
Microsoft Word 2010 [DesktopFolder] Installed:Yes

Create El Capitan 10.11 USB Installer Disk

  1. Download the installer from the App Store but do not install it, close the installer when it launches
  2. Format an 8GB+ USB Drive in the GUID type and Journaled (not case sensitive) partition
  3. run the command (where Untitled is the name of the partition you created in step 1):
    sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction
  4. Sit back and relax, smoke a pipe while you wait maybe