Using SYSPREP Before Creating a System Image

SYSPREP is a Windows utility that allows a computer to be generalized. If you’re restoring system images (using Ghost or a similar technology) to multiple PCs on a network, then it is imperitive that you first run SYSPREP to generalize the system.

Not doing this will not only result in several PCs with the same computer name, but their unique identifiers (used by Active Directory and others) will all be identical. As you can imagine, having multiple PCs with the same computer name can be a real issue for network admins. Running a
SYSPREP allows the PC to be generalized with new unique IDs so that you get an “Out of the Box” experience (OOBE) on the next boot. While a SYSPREP can be done to any PC before attaching it to the network, I suggest running SYSPREP before you create a master image.

How to SYSPREP a Windows 7 or Windows 8 PC:

  1. Browse to “C:\Windows\System32\Sysprep” folder and launch the SYSPREP executable.
  2. In the System Cleanup Action drop down select “Enter System Out of Box Experience (OOBE)”
  3. Make sure to check the Generalize checkbox
  4. In the Shutdown options I suggest selecting Shutdown. This way after the system is prepped, the PC will shutdown, and will be ready for you to create your master image.

Once your system has gone through the SYSPREP process, before the computer boots again, it is safe to create a master image using your imaging software.

This method works not only on Windows 7, but Windows 8 and Windows Server 2008 and Windows Server 2012. I do also want to mention that it is a good idea to run SYSPREP on any virtual guest templates before rolling them out in masses on a Hyper-V or VMware host.


Related Posts:

Permanent link to this article:


Skip to comment form

    • Dominik on July 8, 2013 at 3:50 pm
    • Reply

    Hi Robert,

    i´ve searched the net to get a answer how to do the sysprep task right.If I understand you right the process is the

    1. Install the Master with Updates, Tools etc.
    2. Start Sysprep with you settings from above.
    3. Create a Image for example with Acronis
    4. Deploy it to the systems

    But why I read everywhere to use the audit mode to create the image? Is there something wrong with the solution above? I´m already do it like you described it. Is there any advantage to install it in audit mode?
    Hopefully you can help me with that. I like your blog btw 😉



    1. Dominik,

      Audit mode can be used instead of OOBE (Out of Box Experience) if you’d like to customize you Windows image a little more. There is nothing wrong with doing it either way, it all depends on your preference and needs. Running SysPrep in audit mode allows you to skip some of the Welcome screen stuff on your next first boot. If I’m working in a lab environment I tend to use OOBE so I have the equivalent of a new PC or Server.

      Here is a good TechNet article on using Audit mode:

      Robert Borges

    • Ron on September 12, 2013 at 6:38 pm
    • Reply

    Thanks for your excellent counsel with respect to SYSPREP and image creation. I hope my question isn’t too basic, but after I run SYSPREP, generalize, and create an image, am I correct in understanding that PCs running an an operating system built with that image can still be booted into audit mode (CTRL + SHIFT + F3) for a few final tweaks?

    1. That is correct. If you want to enter audit mode on a system/image that has already been generalized using SYSPREP, simply press Shift + Ctrl + F3 when you get to the Windows Welcome Screen on your first boot. For more information see my post Using SYSPREP in Audit Mode Before Creating a System Image.

Leave a Reply

Your email address will not be published.