Creating an Image with Sysprep and ImageX
In this quick tutorial, we’ll show how sysprep and ImageX can be used to capture a custom system image of Windows 7 with applications.
Before undertaking, also check out our introductory article on using ImageX for file-based image deployments.
We’ll begin by showing that this desktop has already been configured with custom applications including MS office and an antivirus application.
Passwords Haven’t Disappeared Yet
123456. Qwerty. Iloveyou. No, these are not exercises for people who are brand new to typing. Shockingly, they are among the most common passwords that end users choose in 2021. Research has found that the average business user must manually type out, or copy/paste, the credentials to 154 websites per month. We repeatedly got one question that surprised us: “Why would I ever trust a third party with control of my network?
Once the system is prepared with the applications the configurations we want, we navigate to C:\Windows\System32\sysprep and then open the sysprep tool.
Select ‘Enter System Out of Box Experience’ select the ‘Generalize’ option and then select ‘Quit’.
This process will generalize the Windows installation and allow you to capture a system image of this computer so that it can be installed on other computers.
When sysprep is finished, shutdown the computer.
Now the system image is ready to be captured. We can perform this task from another system partition or from within Windows preinstallation environment.
ImageX command line help will assist us by providing the right command line syntax to capture our previously sysprepped installation.
Capture the image with the imagex /capture command (learn about more ImageX command-line options here) – example below:
imagex /capture h: c:\dismdemo\installcaptured.wim "Windows 7 x86"
That’s it! We’ve now captured a file based .wim image that can be re deployed on multiple hardware types.