

Sign in using your pre-established administrator account. In a few minutes, you will arrive at the desktop. Your customized Windows 10 image is now set up. When DISM finishes, reset the technician VM and allow it to boot from its VHD. For the first 15 minutes or so, you will see no progress indicator. This can take anywhere from five to 30 minutes depending on your host PC's hardware and available VM resources. /ScratchDir:E:\Scratch: E:\ : Scratch is a temporary working folder you create on the image drive./capturedir:D\: D:\ : the current drive ID for Windows drive./imagefile:E\install.wim: E:\ : the image drive where you save install.wim.Enter the following Desktop Image Servicing and Management (DISM) command string, changing it to match actual drive letters on your PC:ĭism /capture-image /imagefile:E:\install.wim /capturedir:D:\ /ScratchDir:E:\Scratch /name:"AnyName" /compress:maximum /checkintegrity /verify /bootableĮdit the following elements if necessary: In this example, please note that the Windows partition is currently D:, and the image partition is E.Įnter the command exit to leave diskpart. Notice that, in recovery mode, when you boot from installation media, partition ID letters are not the same as when you boot normally.

Enter the command list vol to list the available volumes, and then check the drive letters for Windows and image partitions. Type diskpart and hit Enter to start the Windows disk partitioning utility. When Windows Setup shows the regional selections screen, press Shift + F10 to open the Recovery Console command prompt. Create a snapshot of your custom Windows 10 image

For this process to work, it is essential to boot from a mounted ISO or installation media - DVD, USB flash drive, etc. If it does, restore the last checkpoint, then try again. Do not let the VM boot from a virtual hard disk (VHD). Be sure to boot from the ISO or install media. To do so, boot the technician virtual machine (VM) from the same install media - ISO in the case of a VM - you used to install Windows on it. But first, you should use Microsoft Hyper-V to create a checkpoint.
