Got this error when attempting running a scheduled update against my Windows Server 2012 R2 U1 image:
WIM::GetWIMImageCount returned code 0x80004005
Environment
- SCCM 2012 R2 SP1 running on Windows Server 2008 R2.
- Server 2012 R2 U1 image created using MDT 2013 U1 running on a Server 2012 R2 U1 server.
Problem
- SCCM server had WADK 8.1 installed.
- MDT server running WADK 10.
Fix
- Installed Windows Management Framework 3.0 (includes Powershell v3 – prerequisite for WADK 10) on the SCCM server.
Updated WADK on the SCCM server to WADK 10.
Scheduled updates then worked OK.
Link to Windows Management Framework 3.0 download:
http://www.microsoft.com/en-us/download/details.aspx?id=34595.
Link to WADK 10:
https://msdn.microsoft.com/en-us/windows/hardware/dn913721.aspx.
Just a couple of quick PowerShell commands that can be used to create a Server 2012 R2 custom Start Screen.
Set up the Start Screen as required and then run this:
- Export-StartLayout -As BIN -Path C:\Temp\CustomStartScreenLayout.bin
Use this to import.
- Import-StartLayout -LayoutPath C:\Temp\CustomStartScreenLayout -MountPath c:\
The import line can be used in a script as part of an SCCM/MDT Task Sequence.
Quick reminder on how to get an MDT 2013 environment up-and-running and ready to deploy a basic client or server image.
Required Software
- Server 2012 R2
- MDT 2013
- WADK 10
Basic Steps
- Install the WDS server role – don’t configure it initially.
- Install WADK selecting these components:
- Deployment Tools.
- WinPE.
- USMT.
- Instal MDT 2013.
- Create a new Deployment Share.
- Import full set of OS source files – not just an ISO or a WIM.
- Create a basic Task Sequence referencing the imported OS.
- Update the Deployment Share.
- Configure WDS, including adding the boot image generated by MDT.
- Ready to PXE boot and deploy an image.
Real world sys admin – getting the job done without the need to stroke your own ego