Windows 7

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.

Sponsored Content

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.

To view this process from end-to-end, check out the video below:

[mediaplayer src=’http://download.microsoft.com/download/8/8/4/8845F6BF-99F9-490E-853F-AD0B3F31406F/Preparing_an_Image_Using_Sysprep_ImageX.wmv’ width=300 height=225]

Related Topics:

Live Webinar - Thursday, December 2nd! Active Directory Masterclass: AD Configuration Strategies for Stronger SecurityREGISTER NOW - Thursday, December 2, 2021 @ 1 pm ET

Active Directory (AD) is leveraged by over 90% of enterprises worldwide as the authentication and authorization hub of their IT infrastructure—but its inherent complexity leaves it prone to misconfigurations that can allow attackers to slip into your network and wreak havoc. 

Join this session with Microsoft MVP and MCT Sander Berkouwer, who will explore:

  • Whether you should upgrade your domain controllers to Windows Server
    2019 and beyond
  • Achieving mission impossible: updating DCs within 48 hours
  • How to disable legacy protocols and outdated compatibility options in
    Active Directory

Sponsored by: