By Delia / Last update April 28, 2023

What does Sysprep do in Windows 10

Have you ever heard about Sysprep (System Preparation) in Windows 10/11? Built into Windows, it is often used to prepare a system image, which can be deployed to multiple computers. The preparation process is also called generalizing the image.

Sysprep Windows

Each time you install Windows on a computer, the operating system assigns an unique SID (Security Identifier) on it. If you create a system image for the purpose of installing the same OS on multiple computers, the SID info will be copied to the other devices as well, which may cause some problems.

To avoid WSUS incompatibility and such issues caused by SID duplications on the same network, you must remove the computer-specific information. Luckily, Microsoft provides Sysprep to not only clear the SID information, but also generalize new SIDs for client computers. It helps you to prepare a Windows image for deployment.

How to Sysprep Windows 10 step by step

What you should do first:

Before generalizing the image and deploying it, first you need to configure a reference computer. This means:

  • An up-to-date Windows build;
  • A clean Windows installation;
  • Necessary drivers, applications, and configurations.

You can then use Sysprep to remove computer-specific information (SID, GUID, etc.) and generalize the image. Here I will take Windows 10 as an example.

Steps to generalize system image using Sysprep:

1. Press Windows logo key + X at the same time. Select Command Prompt (Admin) from the menu.

2. Type the following command and press Enter, this will change the working directory to “Sysprep”.

cd \Windows\System32\Sysprep

3. Then, enter this command to generalize system image:

sysprep /generalize /shutdown

*If you are running Windows 10/11 in a VM, you can generalize the OS by: sysprep /generalize /mode:vm

Optionally, you can type sysprep and press Enter to open Sysprep GUI mode. Choose Enter System Out-of-Box Experience (OOBE) and tick the Generalize checkbox. Select Shutdown from the drop-down menu. Then click OK.



  • To explore the command line mode, you can type sysprep /h and then press Enter at Step 3.

  • Enter System Out-of-Box Experience (OOBE): prepares the server as if it is powered on for the first time.

  • Generalize: removes SID information from the image.

  • Shutdown: once Sysprep completes, shutdown the server.

  • The above steps also work with Sysprep in Windows 7 or Windows 11.

💬You still need to capture and deploy the image

After generalizing the Windows 10/11 OS, you need to capture the image for deployment in WinPE. 👉More »

Download Free TrialWin PCs & Servers
20,000,000 people have downloaded it

Frequently asked questions about Sysprep

Care must be taken when using Sysprep, as it has some limitations. Here are some frequently asked questions.

How many times can you Sysprep Windows 10?

💬On a single system image, you can run Sysprep up to 8 times. After running this tool 8 times, you must recreate your system image.

Why my Windows 10 Sysprep fails?

💬Sysprep may fail if you install or update Microsoft Store apps before generalizing a system image.

To prevent Microsoft Store from updating apps, you can unplug the Internet connection or disable Automatic Updates in Audit mode before creating the image.

What is Audit mode for?

💬It allows you to make additional changes to the Windows installation before you send it away or capture the image for deployment. You can install drivers included in a driver package, install apps, or make other updates that require the Windows installation to be running.

If you want to run Sysprep in Audit Mode, type the following command (under the Sysprep directory):

sysprep /audit

Last but not least, Sysprep itself doesn't has the ability to create a system image. This means you still need other tools to capture the prepared Windows OS.

How to capture a Syspreped Windows 10 image

After generalizing the image using Sysprep, the reference device will shut down. Next time your start the device, it will boot into OOBE.

📢Note: Don't power the reference computer on until you are ready to capture an image. Otherwise, you'll need to repeat the Sysprep process.

Then, in order to create a system image for deployment, you will need to do the following in conventional means:

>> Create a bootable WinPE USB drive, which can be used to capture and deploying the Windows image.

>> Boot the computer from the bootable USB drive. You may need to enter BIOS (by press specific key during startup) and select the USB as the first boot option. Then the computer should be able to boot into WinPE.

windows 11

>> Access Command prompt from WinPE, then you can use DISM to capture Windows 10 image. For example:

DISM /capture-image /imagefile:C:\IoTOS.wim /CaptureDir:C:\ /Name:"Windows 10 IoT Enterprise"

>>This will capture an image of the Windows partition and store it on C: drive. And you can use the bootable USB drive again to deploy the system image.

For specific steps, please refer to this Microsoft document.

Create and deploy Windows 10/11 system image without SID (easier)

Since Sysprep is only for generalizing image, you still need a simple and reliable tool to capture and deploy system image. Although there are some Windows built-in tools can help you do that, you will find the whole process complex and unfriendly to novices.

Therefore, I would like to introduce you an easier way to complete the series of operations - that is using the all round Windows backup & restore utility AOMEI Backupper Technician.

AOMEI Backupper Technician with everything you need

♦ Use the Create Bootable Media tool to prepare a WinPE USB drive.

♦ Create a Windows 10/11 image using the powerful System Backup feature.

♦ The Image Deploy Tool (AID) comes with an intuitive GUI, leading you to create and deploy system to unlimited computers over network simultaneously.

♦ Compatible with Windows 11, 10, 8.1, 8, 7, Vista, XP (all editions, 32-bit and 64-bit) and Server 2022, 2019, 2016, 2012, 2008, 2003 (including 32/64-bit, R2/SBS/WHS).

AOMEI Backupper Technician

Here's a free trial for you. Install it and follow the steps below to capture and deploy the Syspreped Windows 10.

Download Free Trial Win 11/10/8.1/8/7/XP & Servers
Secure Download

How to capture Windows 10 image using Sysprep

Preparations you need to do:

  • Make sure that all the required computers are on the same network, and all client computers support PXE boot (if not, exclude it please).

  • The disk sequence numbers for storing system in target computers must be the same. Move out other disks and only keep the destination disk.

  • Launch AOMEI Backupper to make your partitions be marked first. Then go to Tools tab to create bootable media.

1. First, press Win + R and enter "sysprep" in the textbox to find Sysprep.exe. Run it and choose Enter System OOBE, tick Generalize option, and select Shutdown. This step is to remove SID and avoid related issues after deployment.

sysprep remove sid

2. Click OK and the computer will shutdown automatically. You can then boot the computer into WinPE with the bootable media you created, and perform a full system backup with the pop-up AOMEI Backupper.

📢Note: Please boot into WinPE right after running sysprep, or the new SID information will be created.

full system backup

How to deploy Windows 10 image to multiple computers without SID

1. When the syspreped Windows image is ready, you can go to Tools tab, choose Image Deploy Tool to deploy the system image you just created.

2. In the AID window, choose Create WinPE automatically to create a bootable Windows PE ISO.

In case the drivers being incompatible with your hardware and the WinPE cannot start up the client computers, you can also choose Create bootable WinPE ISO manually to add custom drivers into WinPE.

📢Note: There must be a DHCP server in the LAN for system deploy over network. If not, tick Enable DHCP.

ISO  File

3. When the tool shows "The service has started, waiting for connect...", it's time to start all the client computers. If all the settings are correct, they should boot into AID recovery environment, otherwise you can enter BIOS to set the network boot as the first boot option.

Boot option

4. Here you can see the status for all client computers. Once a computer connects to AID successfully, you will get "Client computers connected". When all the client computers are ready, check I confirm all the... and click Next.


5. Here comes the guide for deploy configuration. For more details, please refer to image deployment.

a. Choose Browse to find your system image.

b. Select the client computers you need or click All to select all connected computers.

c. Input the destination disk number. If all the client computers have only one disk reserved, the disk number is 0.

d. Decide how many computers will be deployed each time.


e. Click Settings to set computer name. Then click OK.


Set IP: click it to preset IP address.
Universal Restore: you can deploy system image to computers with different hardware.

6. After confirming your operations, you can click Start Deploy. Then choose whether to shut down or restart the client computers.

Start Deploy


Although Windows users are given many tools to deploy system image remotely, you must prepare the system image using Sysprep in Windows 10. For many users, Sysprep is time consuming and complex, and sometimes it even goes wrong.

However, the Image Deploy Tool of AOMEI Backupper makes a real difference. By using it, you don’t need to be worried about Sysprep limitations. What’s more, it serves you well as an Acronis Snap Deploy alternative.