

It's not fully compatible with MDT 8456 since it no longer contains the x86 version of WinPE which MDT expects to find.įor this guide you need the following software. Note: Please don't use the newly released (May 2022) Windows ADK for Windows 11 22H2. Windows 10 21H2 requires Windows or later, but since you likely want to evaluate Windows 11 as well, I recommend using Windows ADK for Windows 11 21H2 that supports both Windows 10 21H2 and Windows 11 21H2. MDT can be installed either on a file server, or on your own laptop, but in this scenario, I use a file server named MDT01.

I added them in my State Restore section of the task sequence. That way it will get copied to your client when running the task sequence.Īdd those two command lines before the Sysprep step. Place your modified State.ini file in your "scripts" folder (e.g.: C:\DeploymentShare\Scripts). Xcopy "%SCRIPTROOT%\State.ini" %windir%\setup\state\ /H /Y Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\State" /v ImageState /t REG_SZ /d "IMAGE_STATE_GENERALIZE_RESEAL_TO_OOBE" /f And then Steyrs (also, thank you) provided the below steps:Īdd a "Run command line" in your task sequence. Tip: Daniel Barras (thank you), commented about a solution I was not aware of, removing the need for blocking Internet access. Block Internet Accessĭue to how aggressive Windows 10 is regarding updating its native applications, which is known for breaking Sysprep, make sure the virtual machine does not have Internet access during the build and capture process. While more and more organizations are moving to use a thin image, and deploy settings and applications at deployment time instead, if you still need a reference image. However, in a world with better and better peer to peer solutions, better networking, better hardware, you can make deployments go quite fast even without a reference image. The main reason for creating reference images, meaning images with one or more applications in them, is often just deployment speed, and to some extent network efficiency (WIM images are highly compressed). After all, the ISO that you download from Microsoft contains WIM images that are in a deployable state. Real World Note: Since Windows Vista, there is no technical requirement to create reference images in order to deploy Windows. Here is a step-by-step quick guide on building the perfect Windows 10 21H2 reference image using Microsoft Deployment Toolkit (MDT) 8456.
