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.
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.
More in Windows 7
Microsoft Acknowledges Office Zero-Day Flaw Affecting Windows Diagnostic Tool
May 31, 2022 | Rabia Noureen
How to Achieve World-Class Windows Patching Like a Pro
Aug 3, 2021 | Michael Reinders
Microsoft’s PrintNightmare Patch Not Effective Against Vulnerability
Jul 7, 2021 | Brad Sams
How to use the Windows Recovery Environment
Apr 21, 2021 | Michael Reinders
Everything You Need to Know About Windows – January 2020
Feb 3, 2020 | Russell Smith
Paul Thurrott's Short Takes: Microsoft Earnings Special Edition
Jan 31, 2020 | Paul Thurrott
Most popular on petri