In audit mode we can add additional drivers, applications and test our image before capturing. We must run this option if we intend to transfer the image to a different computer. When Setup starts at the next reboot after the generalize pass, the specialize pass of the installation will occur unless the system is configured to boot into Audit mode.
This allows a user to customize their system, such as creating accounts and setting the computer name. Many of these steps can be automated using an answer file. These two parameters specify what to do when Sysprep has completed its work.
This parameter will suppress any on-screen messages when using an answer file to automate the installation process. We use this option if we are using a custom answer file not named Autounattend. Several Sysprep switches can be used in the same command.
If we run Sysprep without any command line options, Sysprep will run with a graphical interface. This allows us to pick and choose the actions we would like the Sysprep to perform, like choose the setup mode OOBE or Audit mode , choose the generalize option and choose the shutdown option quit, reboot, or shutdown. First we have to install Windows on the reference computer using any method that we like.
When the installation is complete we can restart our computer in Audit mode. You can run Sysprep command up to times on a single Windows image.
After running Sysprep times, you must recreate your Windows image. Refer the following table:. 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. Installing new Microsoft Store apps or updating your existing Microsoft Store apps before generalizing a Windows image will cause Sysprep to fail.
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. To generalize an image, you have to first boot into Audit Mode.
Boot a PC into Audit Mode. You can choose to either close the System Preparation Tool window or allow it to remain open.
Customize Windows by adding drivers, changing settings, and installing programs. Don't install any Microsoft Store apps using the Microsoft Store. Run Sysprep from Command Prompt. Once you've tested the image and are confident that it's configured the way you want it, you are ready to being the cloning process. After completing the steps outlined in the previous section, you are ready to launch the Sysprep utility to clone the reference computer.
From the command prompt, change to the Sysprep directory and type in the following command:. Once Sysprep has successfully duplicated the reference computer and shutdown remember the computer can be shutdown automatically by using the -reboot optional parameter , you can remove the hard disk and clone it using third party disk-imaging software.
When you restart a computer from a cloned disk for the first time, two events will occur. First, the Setupcl. Second, the Mini-Setup Wizard will start, allowing you to customize the computer. You can also automate this event by creating and using a Sysprep. The first time a computer reboots after being cloned by Sysprep, a Mini-Setup wizard starts. The Mini-Setup wizard prompts the user for information to customize the installation on the target computer.
However, if you want to automate the Mini-Setup wizard, you can use a Sysprep. The Sysprep. In order to use the sysprep. The first time the computer is restarted, it will automatically look for the sysprep. Creating the Sysprep. The utility used to create the answer file is called Setup Manager.
Conversely, if you are skilled in the area of answer files, you can also create one using a text editor such as Notepad.
Before you can use Setup Manager to create the answer file, it must first be installed on your computer. Open the Deploy. Once the files have been copied, you can follow the steps outlined below to create an answer file. Open the folder on your computer that contains the contents of the deploy.
The Windows Setup Manager Wizard will appear. Click Next. Specify whether to create a new answer file or modify an existing one. If you want to modify one, you must enter the path to the file. Select the platform that you will be using the answer file to deploy. Setup Manager creates the answer file and prompts you to choose a location to save the file.
Once the Sysprep. The file may look something like the one shown below.
0コメント