Installation requires the creation of a customized image that you apply to each computer.

To deploy OS to different computers, you can use Sysprep in Windows 10 to prepare a system image. This article provides a detailed tutorial and also an easier alternative.

Installation requires the creation of a customized image that you apply to each computer.
By @Delia Last Updated April 19, 2022

Have you ever heard about Sysprep (System Preparation) in Windows 10? 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.

Each time you install Windows on a computer, the operating system assigns an unique SID (Security Identifier) on it. However, 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 before deployment. Luckily, Microsoft provides Sysprep to not only clear the SID information, but also generalize new SIDs for client computers.

How to run Sysprep in Windows 10

Follow the steps below to generalize your image and make it ready for deployment.

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

2. Type cd \Windows\System32\Sysprep and then press Enter.

3. Type sysprep and then press Enter to open Sysprep GUI mode.

4. Choose Enter System Out-of-Box Experience (OOBE) and tick the Generalize checkbox. Select Shutdown from the drop-down menu. Then click OK.

Tips:

  • 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.

Sysprep limitations you should know

Care must be taken when using Sysprep, as it has some limitations. Here are three major restrictions of Sysprep.

  • 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.

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

  • Users are often disappointed to find Windows 10 Sysprep fails when the Generalize checkbox is enabled.

As you can see from above, Sysprep doesn’t always work fine. Once it fails, you can’t perform deployment with Windows deployment tools like Windows Deployment Services (WDS) and Microsoft Deployment Toolkit (MDT). In fact, you still have chances to deploy system remotely if you read on.

Create and deploy system image without SID (easier)

Since Sysprep has the above limitations, you may want a more simple and reliable way for system deployment, and the Image Deploy Tool (AID) of AOMEI Backupper Technician is a good choice.

This tool comes with an easy-to-understand GUI, which can lead you to create and deploy system to unlimited computers over network simultaneously. With it, you can complete the whole process in one place securely.

It works with Windows 11, 10, 8.1, 8, 7, Vista, XP (all editions, 32-bit and 64-bit) and Server 2016, 2012, 2008, 2003, 2008 (including 32/64-bit, R2/SBS/WHS). Here's a free trial for you:

Here are necessary steps to deploy your system.

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.

How to deploy Windows 10 image to multiple computers without SID:

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.

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 your system into WinPE right after running sysprep, or the new SID information will be created.

3. Then you can go to Tools tab, choose Image Deploy Tool to deploy the system image you just created. 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, please tick Enable DHCP.

4. 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.

5. 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.

6. 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. 

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

Verdict

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.

You are preparing a new Windows 8 image. The image will be deployed to the computers sold by your company.You need to add the company's technical support hours, technical support phone number, and technical support URL to the image.Which component of the answer file should you modify?

Before you can deploy a Windows image to new PCs, you have to first generalize the image. Generalizing the image removes computer-specific information such as installed drivers and the computer security identifier (SID). You can either use Sysprep by itself or Sysprep with an unattend answer file to generalize your image and make it ready for deployment.

Generalize a Windows installation

On a generalized Windows image, Windows Setup processes settings in the generalize configuration pass.

Important

Even if you're capturing an image that's going to be deployed to a PC with similar hardware, you still have to generalize the Windows installation to remove unique PC-specific information from a Windows installation, which allows you to safely reuse your image.

When you generalize an image, Windows replaces the computer SID only on the operating system volume where you ran Sysprep. If a single computer has multiple operating systems, you must run Sysprep on each operating system individually.

Prevent Sysprep from removing installed devices

When you set up a Windows PC, Windows Setup configures all detected devices. Generalizing a Windows installation uninstalls these configured devices, but doesn't remove device drivers from the PC.

If you're deploying an image to computers that have identical hardware and devices as the original PC, you can keep devices installed on the computer during system generalization by using an unattend file with Microsoft-Windows-PnpSysprep | PersistAllDeviceInstalls set to true. For more information about Sysprep-related Windows unattend components, see the Unattended Windows Setup Reference for Microsoft-Windows-PnpSysprep.

Limits on how many times you can run Sysprep

You can run Sysprep command up to 1001 times on a single Windows image. After running Sysprep 1001 times, you must recreate your Windows image. Refer the following table:

Operating System Version Sysprep Count Limit
Windows 8.1 and Windows Server 2012 or later 1001
Windows 7 and Windows Server 2008 R2 3
Windows Server 2008 3

In previous versions of Windows, you could use the SkipRearm answer file setting to reset the Windows Product Activation clock when running Sysprep. If you are using a volume licensing key or a retail product key, you don't have to use SkipRearm because Windows is automatically activated.

Microsoft Store apps

Installing new Microsoft Store apps or updating your existing Microsoft Store apps before generalizing a Windows image will cause Sysprep to fail. Sysprep /generalize requires that all apps are provisioned for all users; however, when you update an app from the Microsoft Store, that app becomes tied to the logged in user account. The following error appears in the Sysprep log files (which you can find at %WINDIR%\System32\Sysprep\Panther):

<package name> was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

Instead of using the Microsoft Store to update your apps, you should sideload updates to your line-of-business apps, provision offline-licensed Microsoft Store for Business apps for all users, or have end-users update their apps by using the Microsoft Store on their destination PCs. If Microsoft Store access in a managed environment is disabled by an IT administrator, end-users will not be able to update the Microsoft Store apps.

For more information about sideloading line-of-business Microsoft Store apps, see Sideload Apps with DISM and Customize the Start Screen.

Generalize an image

Generalize from Audit Mode

To generalize an image, you have to first boot into Audit Mode. You can boot into Audit Mode using an unattend file or from the Out-Of-Box Experience (OOBE) screen. You can read about the different ways of booting into Audit Mode at Boot Windows to Audit Mode or OOBE.

  1. Boot a PC into Audit Mode. When Windows boots into Audit Mode, System Preparation Tool will appear on the desktop. You can choose to either close the System Preparation Tool window or allow it to remain open.

  2. Customize Windows by adding drivers, changing settings, and installing programs. Don't install any Microsoft Store apps using the Microsoft Store.

  3. Run Sysprep.

    • If the System Preparation Tool window is still open, click Generalize, click Shutdown, and then click OK to generalize the image and shut down the PC.

      -or-

    • Run Sysprep from Command Prompt. Run %WINDIR%\system32\sysprep\sysprep.exe to open the System Preparation Window. You can also use the Sysprep command together with the /generalize, /shutdown, and /oobe options. See Sysprep command-line options to see available options.

      %WINDIR%\system32\sysprep\sysprep.exe /generalize /shutdown /oobe

      Note

      If you are generalizing a VHD that will be deployed as a VHD on the same virtual machine or hypervisor, use the /mode:vm option with the Sysprep command-line.

      The computer generalizes the image and shuts down.

  4. After the computer shuts down, capture your image with DISM.

  5. Deploy this image to a reference computer. When the reference computer boots, it displays the OOBE screen.

Generalize using unattend

If you use multiple unattend files during your computer deployment, you can add the following settings to your each of your unattend files so Windows Setup will generalize the PC after processing the unattend file.

-or-

  • To generalize the system, and have it boot into Audit Mode, use the [Microsoft-Windows-Deployment | Reseal(/windows-hardware/customize/desktop/unattend/microsoft-windows-deployment-reseal) setting to the oobeSystem configuration pass. Set Mode to Audit.

Sysprep Process Overview

Sysprep Command-Line Options

Sysprep Support for Server Roles

Work with Product Keys and Activation