System Preparation Tool - Use to Customize Windows


How to Use Sysprep to Customize Windows 7 and Windows 8

   Information
This tutorial is a short introduction to the wonderful world of Sysprep :).

The built-in Windows System Preparation Tool, Sysprep to put it short, is a tool not very well known outside the geek circles although it is quite easy and simple to use. Alone it can do quite little, basically only two tasks: boot Windows to a so called Audit Mode, and generalize your Windows setup by removing all hardware independent information and drivers to allow the Windows image be transfered to another computer.

Add an Answer File and everything is possible! An Unattended Answer File is an XML script containing settings information to be used during Windows Setup. You can for instance put the product key, your selected username and other such information in answer file, run it with Sysprep and capture the image created. Now when you want to install Windows on a new computer, you can use this image and let Windows install itself completely unattended, without it stopping to ask user information. This is why we call it Unattended Answer File.

Honestly, this will be a long and boring tutorial. I will try to show you how Sysprep works with a few simple self-explanatory examples. It would be impossible to explain sysprepping with an answer file with a few words.

Anyway, don't let funny words and strange acronyms fool you, sysprepping is quite easy as you will see.

This tutorial applies to both Windows 7 and Windows 8.

Kari

   Warning
Notice that as an upgraded Windows cannot be sysprepped and as a so called repair install is also considered as an upgrade (in-place upgrade to same edition), you cannot sysprep an existing Windows installation as shown in Part 3 of this tutorial if your Windows is either in-place upgraded from an earlier version, or if you have done an Anytime Upgrade from a minor edition of same Windows version, or if you have done a repair installation.

When sysprepping an existing Windows setup, it only works if the Windows was installed clean and has never been upgraded or repaired using repair install.

If you have Internet Explorer 10 installed on a Windows 7 system, please read this first: Sysprep Fatal Error With IE 10 (FIX) | System Administration

IE10 has no issues on Windows 8 with sysprep.


If you get easily bored when reading background information you can jump into action in Part 2. If you decide to get into boredom instead and read the whole tutorial, keep in mind that although this might sound complicated and there are so many strange and comical words, at the end sysprepping really is no rocket science ;).


First a few words good to know before proceeding:
  • Sysprep
    • (Noun) Commonly used short name for Windows System Preparation Tool
  • To sysprep
    • (Verb) prepare (customize) a new Windows Image or existing Windows setup using Sysprep tool
  • Answer File
    • A settings file written in XML containing instructions for Sysprep
  • Audit Mode
    • A special mode of Windows (compare to normal and Safe Mode) to allow preparing a Windows image with user customizations and modifications
  • Welcome (OOBE) Mode
    • A special mode of Windows, normally run only once after installation, first boot after installation is finished. Initial User Account is created, PC named, network location and time zone set during OOBE boot
  • OOBE
    • Out-of-Box Experience, first boot after installation, welcoming user
  • Windows PE
    • Windows Preinstallation Environment, a reduced and very limited "mini operating system" to be used to prepare a computer for Windows installation. PE images can be used for computer rescue and much more but usually a normal user has ever seen only one version of PE, the one which starts when you boot with Windows installation DVD and asks you if you want to start Windows installation and accept the license terms. The installation runs on Windows PE until first reboot during installation



Part 1:

Sysprep Basics


1.1. Answer File

Sysprep works with Unattended Answer Files, without an answer file it can only those two simple tasks mentioned in Introduction above. When you sysprep you tell the system that the settings you will change and tasks you want Sysprep to do are listed in an answer file. The answer file consists of two different sections, Components and Packages.

Answer File Components Section

The components section of an answer file has one or more from a total of 7 different groups or as they are called Configuration Passes. Each Configuration Pass contains information for different parts of Windows system and setup.

Table here below shows name of the Configuration Pass on left column and description on right.

windowsPE | Configures Windows PE options and basic Windows Setup options. These options can include setting the product key and configuring a disk.
offlineServicing | Applies updates to a Windows image. Also applies packages, including software fixes, language packs, and other security updates. During this pass, you can add drivers to a Windows image before that image is installed and processes out-of-box device drivers during Windows Setup.
specialize | Creates and applies system-specific information. For example, you can configure network settings, international settings, and domain information.
generalize | Enables you to minimally configure the sysprep /generalize command, as well as configure other Windows settings that must persist on your reference image. The sysprep /generalize command removes system-specific information. For example, the unique security ID (SID) and other hardware-specific settings are removed from the image. The generalize pass runs only if you run the sysprep /generalize command.
auditSystem | Processes unattended Setup settings while Windows is running in system context, before a user logs onto the computer in Audit mode. The auditSystem pass runs only if you boot to Audit mode.
auditUser | Processes unattended Setup settings after a user logs onto the computer in Audit mode. The auditUser pass runs only if you boot to Audit mode.
oobeSystem | Applies settings to Windows before Windows Welcome (OOBE) starts.
(Table source: How Configuration Passes Work)

Answer File Packages Section

The most important of all Windows distribution packages is the Windows Foundation Package which is included in all Windows installation medias by default and includes all basic Windows features like Media Player, games, gadgets (Vista & 7) and so on.

Using Sysprep you can add various packages to your Windows image. Language Packs, Service Packs, Windows and third party updates and so on. These packages will be added to answer file's Packages section.

Answer files are created with Windows System Image Manager.

1.2. Sysprep usage

Sysprep can be used from command line (command prompt) or with graphical user interface. The GUI is very limited only allowing user to boot to Audit Mode, Welcome (OOBE) Mode and generalize the Windows setup by removing all hardware related information and drivers to allow Windows image to be moved or deployed to different hardware setup.

Sysprep GUI:
SystemPreparationTool3.14.png
You can run it by typing %windir%\system32\sysprep\sysprep.exe to Run dialog (Win + R), or by browsing to folder C:\Windows\system32\sysprep\ and double clicking Sysprep icon. Be careful, though; if you do not want to do a Welcome (OOBE) boot as if the PC and Windows were totally new, close that dialog by clicking Cancel. Once you click OK there's no way to interrupt Sysprep.

Command line usage lets you use more options. To see the usage of sysprep command, type %windir%\system32\sysprep\sysprep /? to command prompt or Run dialog:
SystemPreparationTool3.14_2.png
Be sure to close all open applications including browser windows before running Sysprep! Do not launch any applications or processes while Sysprep is running.

   Tip
Sysprep really hates sharing ;). The single most common reason for Sysprep errors after typos in answer file is that user has Windows Media Player Network Sharing Service (WMPNetworkSvc) running causing a fatal error when sysprepping. To be sure this Windows service does not interfere with your sysprepping, stop the service before running the Sysprep command. You can stop it by typing net stop WMPNetworkSvc to command prompt and hitting Enter.




Part 2:

Sysprep Windows Image during installation


2.1. Install Windows

Install Windows (clean, fresh install) using valid original install media. If needed consult respective tutorial for installation help and tips:
2.2. Enter Audit Mode

When installation after last reboot stops for user and computer name (Win 7) or Personalize page (Win 8), do not enter any information and do not click Next! We will now interrupt the last phase of Windows installation (Welcome (OOBE) boot) and reboot to Audit Mode. When we have sysprepped the image, installation automatically continues from here

Press CTRL + SHIFT + F3 when you see this window to reboot Windows to Audit Mode:

Windows 7
EnterAuditMode_Win7.png
Windows 8
EnterAuditMode_Win8.png
(Click to enlarge images.)
   Note
If you have got a new PC with pre-installed Windows, enter Audit Mode as told above when you see the respective Enter User and Computer Name or Personalize screens during the first time boot.

Windows reboots now and enters Audit Mode. As no user profiles are yet created it uses the built-in administrator account.

On Windows 7 you will see an empty desktop, Sysprep GUI in the middle of it. On Windows 8 you need to click the Desktop tile on Start Screen to enter desktop.

Before anything else close the Sysprep GUI by clicking Cancel:
SystemPreparationTool3.14_3.png
2.3. Install Windows System Image Manager

To create your first answer file you will need Windows System Image Manager (Windows SIM or simply SIM). Windows SIM is part of the Windows Automated Installation Kit (AIK) for Windows 7, and part of the Windows Assessment and Deployment Kit (ADK) for Windows 8.

Download respective AIK or ADK. You can use Internet totally normally in Audit Mode. Use the native built-in Internet Explorer for this download, do not install any third party browsers yet:
Of course you could have downloaded AIK or ADK already before you started the installation using another PC and now simply transfer the downloaded files to your new installation.

You can install AIK or ADK on any Windows computer to create answer files, it don't have to be done with the computer you are sysprepping. Install AIK on PC1, prepare an answer file, save it to a USB stick and use when sysprepping PC2.

Windows 7 AIK is an ISO file. Burn it to a CD or USB and run setup application. Alternatively you can download and install a virtual drive application and mount the image on a virtual CD drive.

Windows 8 ADK is an executable install package, simply run it to start installation.

2.3.1. Install on Windows 7

If the autorun does not automatically run the setup launch it manually by double clicking the executable StartCD.exe on the WAIK CD.

Click Windows AIK Setup:
7AIK_1.png
Accept all default settings, install WAIK. After installation you will find Windows SIM in Start Menu:
7AIK_2.png
2.3.2. Install on Windows 8

Run the downloaded ADK executable file. Click Install accepting default setup settings:
8ADK_1.png
After installation you will find Windows SIM tile on Start Screen:
8ADK_2.png
2.4. Create an Answer File

Open the File Menu in SIM, select New Answer File:
7AIK_3.png
Click Yes to open a Windows Image to be sysprepped:
7AIK_4.png
Browse to your Windows install media (DVD or USB), open the folder Source and select the file install.wim. Click Open:
7AIK_5.png
Select the correct Windows edition according to the one you have installed:
7AIK_6.png
-- OR --
8ADK_3.png

   Note
I will use Windows 7 Ultimate in this tutorial. I will create an image which does the following changes during Windows installation to various settings and variables:
  • Relocates the Main User Profile folder and all future user accounts including all user specific files and folders to drive D: from default location C:\Users to save space on system drive
  • Modifies the Default User Profile so that all accounts when created have desktop settings as I want to have them
  • Names the PC
  • Creates my personal user account
  • Enters the product key
To learn Sysprep you do not have to do all the changes and customizations I will do, the main thing is for you to understand how these changes are made. You can also do your own modifications. Answer file components used in Windows SIM are quite logically named so you will have no problems in finding some interesting stuff by yourself.

If I leave the product key out of the answer file, I could also use this image to install Windows 7 Ultimate on to any and as many computers I'd like to with my user account already created, computer named, Default User Profile for all new user accounts set as I want to. However, for this tutorial I am creating this image only to be used on this Windows setup we interrupted in 2.2. to enter Audit mode, therefore I can automate the product key input.

This, deployment of hardware independent tailor-made Windows image is the main purpose of Sysprep, Windows SIM and AIK / ADK. It makes the IT department's job easier in company environment where they install identical images (Windows setups) to various hardware. This, however, is no reason for a normal user not to use the same method; even though created and meant for business use, the same tools can make an individual user's computing easier.


After you have created a new empty answer file you will see this:
WSIM_1.png

  1. A list of Components and Packages for your selected Windows version and edition
  2. Content of the answer file, still empty
  3. Properties of selected answer file content
  4. System messages
Click the + sign to open the Components list on Windows Image pane (#1. in screenshot above). We will start from the component group Microsoft Windows Shell Setup, most of the settings I wanted to modify can be found from this group.

Let's work in that order I listed my chosen modifications above. Click the + sign to open Microsoft Windows Shell Setup component group, right click FolderLocations:
WSIM_04.png
You remember the table of different Component Passes earlier in this tutorial? As it explains, the oobeSystem pass is the one which will be done when Windows is started first time after installation. Logical place to change system variables is here, before the user gets control, so the pass 7 oobeSystem is only selectable here, all others being grayed out.

I select Add Setting to Pass 7 oobeSystem. Now the Answer File pane got its first content. As Microsoft does not recommend relocating other system folders than Users and ProgramData I will see those two folders here. Users folder is where all future user accounts will be stored, and ProgramData folder contains application settings for all users. As the Users folder can take a lot of space I want it located away from the system drive C:, so let's change the value (location) here. Default is C:\Users, I want to have D:\Users.
WSIM_05.png
To edit or add a value first right click the component in Components list in Windows Image pane, select correct pass from context menu (for this component we selected Pass 7 oobeSystem), click the component name in Answer File pane, in this case FolderLOcations, click the subcomponent ProfilesDirectory in Properties pane and enter the value, in this case now D:\Users.

Next on my list of modifications is to copy Default User Profile settings. The Default User Profile in Windows is a reference profile; when a new user account is created it gets settings like desktop background and settings, IE favorites and home page, theme and default program shortcuts from this profile.

After we have created the answer file, we can modify the desktop and other settings while still in Audit Mode. These modifications will then be copied to Default User Profile when we finally sysprep.

To do this, we need to go back upwards a bit on components list and select the the main component Microsoft Windows Shell Setup, right click it and select Add Setting to pass 4 specialize. As you can see the Properties pane is now showing variable CopyProfile among othe things. This is the variable we need to set to True to copy our personalization settings to Default User Profile. As this variable only has two possible values, True and False (default), we do not have to type anything. Simply click the variable and select correct value from drop down list. We want it to be True:
WSIM_06.png
   Note
Do not panic! There are literally hundreds of components and settings, you do not have to remember where each of them are and which component pass it belongs. The nice thing with Windows SIM and answer files is that you can keep trying and practicing. An answer file does nothing if it is not used in sysprepping so you can create as many practice answer files as you need to.

Keep clicking those components selecting different passes to see which values can be changed. Searching Internet for a component name usually gives you enough information to see what that component is for. Read this article to get to know the most important components: Walkthrough: Build a Simple Answer File

   Tip
If you are familiar with virtualization it is a good idea to create a virtual machine to be used as a sandbox. Create the vm, install Windows as described in 2.1. above, enter Audit Mode (2.2) and install Windows SIM (2.3). Now shut down the vm and create a snapshot (image).

Run the VM and create your first answer file. Sysprep using your answer file, see how it works. Restore the snapshot and create a new answer file to test.

The same can of course also be done with an extra PC if you have one lying around. Instead of a snapshot as when using virtual machine, create a system image after installing Windows Sim to be able to restore system when needed and start playing!

OK, let's move on. The next change on my list is giving the PC a name. Luckily it can also be found on Microsoft Windows Shell Setup as above the Default Profile, using the same pass 4 specialize so the only thing I need to do now is to click ComputerName variable in Properties pane and type the name for my PC. I also set Registered Organization and Registered Owner values as they are very practically also available here:
WSIM_07.png
Next my personal main user account, next item on my wishlist. We are still staying in main component group Microsoft Windows Shell Setup, this time we will need component UserAccounts > LocalAccounts > LocalAccount:
WSIM_09.png
That's done! Username Kari belonging to Administrators group. I also set password although it's blurred in this screenshot:
WSIM_08.png
Last item on my wishlist is the Product Key. It belongs to Microsoft Windows Setup main component group. Open the main group, right click UserData > ProductKey component and select Add Setting to pass 1 windowsPE. Set the key:
WSIM_10.png
We are almost there. Now the automatic acceptance of End User License Agreement, EULA. Just one step upwards where we were above with Product Key, the EULA acceptance can be found in Microsoft Windows Setup > UserData. As the Product Key it belongs to pass 1 windowsPE, too. Set value to True
WSIM_11.png
Below tip shows how to partition your hard disks with Sysprep. If at this point you would rather continue with our project, skip it and jump to 2.5. to validate your answer file.

   Tip
As we are now preparing our partly installed Windows to be sysprepped, main core of Windows is already installed on C:. For this Windows setup it is not a good idea to change disk and partition information with Sysprep, for this setup modifiying partitions should be done with Windows Disk Manager.

However, if we were now creating a general Windows image to be deployed, used in installing Windows to other computers, we could also automatize the partitioning of the hard disk or disks. To give you an example how easy it is, here below you can see what would be needed to automatically partition a system with two 500GB hard disks creating a 250GB partition C: for system with name OS and a 250GB partition D: for user profiles named as UserProfiles, both these partition on first hard disk, and then use the second hd completely for one partition called Data and giving it a drive letter X:.

All partitioning components can be found in component group Microsoft Windows Setup > DiskConfiguration. We need one component for creating each partition and one component to modify each partition as follows (all settings in Pass 1 windowsPE):

Hard disk numbers start from 0, partition numbers from 1 therefore in this example C: = Disk 0 Partition 1, D: = Disk 0 Partition 2 and X: = Disk 1 Partition 1. Remembering this I need to browse to component group Microsoft-Windows-Setup > DiskConfiguration and start configuring. (Remember: all following components to Pass 1 windowsPE!)

First we create two disks and wipe them to be able to start from empty disks, Microsoft-Windows-Setup > DiskConfiguration > Disk, values to Pass 1 windowsPE
  • DiskID = 0
  • WillWipeDisk = true (this will erase the hard disk so partitions are created on an empty disk)
And the same for second hard disk:
  • DiskID = 1
  • WillWipeDisk = true
Next we create first partition on first disk. Component Microsoft-Windows-Setup > DiskConfiguration > Disk > CreatePartitions > CreatePartition, values to Pass 1 windowsPE
  • Extend = false
  • Order = 1
  • Size = 250000 (size in Megabytes)
  • Type = Primary
And second partition, component Microsoft-Windows-Setup > DiskConfiguration > Disk > CreatePartitions > CreatePartition, values to Pass 1 windowsPE
  • Extend = false
  • Order = 2
  • Size = 250000
  • Type = Primary
Finally the third, Data partition, first partition on second disk. Component Microsoft-Windows-Setup > DiskConfiguration > Disk > CreatePartitions > CreatePartition, values to Pass 1 windowsPE
  • Extend = false
  • Order = 1 (first partition of second HD)
  • Size = 500000
  • Type = Primary
Now we need to edit those three raw partitions. First C:

Microsoft-Windows-Setup > DiskConfiguration > Disk > ModifyPartitions > ModifyPartition, values to Pass 1 windowsPE:
  • Active = true
  • Extend = false
  • Format = NTFS
  • Label = OS (any name you want to give to your system partition)
  • Letter = C
  • Order = 1
  • PartitionID = 1
The D: partition:

Microsoft-Windows-Setup > DiskConfiguration > Disk > ModifyPartitions > ModifyPartition, values to Pass 1 windowsPE:
  • Active = false (only one partition can be active)
  • Extend = false
  • Format = NTFS
  • Label = UserProfiles (any name you want to)
  • Letter = D
  • Order = 2
  • PartitionID = 2
Last but not least the data partition X:

Microsoft-Windows-Setup > DiskConfiguration > Disk > ModifyPartitions > ModifyPartition, values to Pass 1 windowsPE:
  • Active = false
  • Extend = false
  • Format = NTFS
  • Label = Data
  • Letter = X
  • Order = 1
  • PartitionID = 1
WSIM_29.png
These components with correct values would then create our two disk three partition system when Windows would be installed using our sysprepped image.


2.5. Review and Validate your Answer File

Time to check we didn't forget something. The Answer File pane shows your content, small + sign in the component box before its name tells that component has modified (non-default) values:
WSIM_18.png
When you are satisfied, you need to validate the answer file. Select Validate Answer File in Tools menu:
WSIM_19.png
If validation finds errors it shows them on Messages pane. Check the components that produced error messages and try to fix errors. In our case now everything seems OK:
WSIM_21.png


Now save the answer file, name it as you wish. Extension must be xml. The file can of course be saved anywhere you want to but when used with Sysprep it must be on root of a removable media, USB, CD, floppy or such.
WSIM_22.png
I save this answer file as MyAnswerFile.xml on a USB Flash Stick, drive F:.

I am used to do one extra check at this point: I open the answer file from where I saved it with IE and read it through to see if my eyes can catch a typo. You can open XML files with IE and open & edit with Notepad if you want to see results of your hard work yourself. If not, here's an example, the answer file we created together:

Code:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <FolderLocations>
                <ProfilesDirectory>D:\Users</ProfilesDirectory>
            </FolderLocations>
            <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value>VABpAHQAeQBzAG8AZgB0ADEAUABhAHMAcwB3AG8AcgBkAA==</Value>
                            <PlainText>false</PlainText>
                        </Password>
                        <Description>Kari&apos;s account</Description>
                        <DisplayName>Kari</DisplayName>
                        <Group>Administrators</Group>
                        <Name>Kari</Name>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
        </component>
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <CopyProfile>true</CopyProfile>
            <ComputerName>TestPC02</ComputerName>
            <RegisteredOrganization>Sevenforums.com</RegisteredOrganization>
            <RegisteredOwner>Kari</RegisteredOwner>
        </component>
    </settings>
    <settings pass="windowsPE">
        <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <UserData>
                <AcceptEula>true</AcceptEula>
                <FullName>Kari The Finn</FullName>
                <Organization>SevenForums.com</Organization>
            </UserData>
        </component>
        <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <SetupUILanguage>
                <UILanguage>en-US</UILanguage>
            </SetupUILanguage>
            <InputLocale>fi-FI</InputLocale>
            <UILanguage>en-US</UILanguage>
            <SystemLocale>en-US</SystemLocale>
            <UserLocale>en-US</UserLocale>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:x:/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Before proceeding I need to create a partition D: using Disk Management (see tutorial); as you remember I changed the value of the component ProfilesDirectory to a yet non-existing partition D:. Creating it now will save me a lot of problems, sysprepping would have stopped for an error if it hadn't found the partition needed.

I also change some desktop settings like wallpaper and theme, create shortcuts and install a few gadgets, also I will set IE home page to Seven Forums and save Windows 8 Forums to Favorites. All these modifications will be copied to Default User Profile with CopyProfile component we used above so each and every user account that will be created on this Windows will have the wallpaper, icons and shortcuts, gadgets, home page and favorites as I want to have them.


2.6. Sysprep Windows using your Answer File

Time to do something with our Answer File, put it in action. Close all open applications and browsers and open command prompt.

First let's jump to Sysprep folder which is a subfolder of System32 in C:\Windows. Type following to command prompt and hit Enter:
Code:
CD C:\Windows\System32\Sysprep

Now the sysprep command. Sysprep get's the instructions from various switches. In this case we need four switches to tell Sysprep what to do:
  • Generalize
    • The CopyProfile component we used does not work without generalizing, removing all hardware related information. This is not a problem for us, our Windows is freshly installed and hardware specific drivers will first be installed when we do the OOBE boot
  • OOBE
    • This switch tells Sysprep to prepare computer for a Welcome (OOBE) mode boot i.e. first time boot. The other alternative here is Audit, to boot to Audit Mode but as we are finishing here and want to continue installing Windows, OOBE is our choice
  • Reboot
    • We ask Sysprep to reboot after it has finished. Other alternatives here are Shutdown which is practical if you want to sysprep then capture the image to be moved to another computer, and Quit, asking Sysprep to keep Windows on and stay in Audit Mode after sysprepping
  • Unattend
    • This switch tells Sysprep we want to use an answer file. To tell which answer file, add a colon after switch name Unattend, then the full path to answer file. Remember that if the answer file path contains any spaces you must put it in between quotation marks. Path F:\MyAnswerFile.xml does not need quotation marks but path "F:\My Answer File.xml" does
A switch is separated from the command with a slash sign (/).

Our command for now is:
Code:
sysprep.exe /generalize /oobe /reboot /unattend:F:\MyAnswerFile.xml
WSIM_30.png
Type the command and Hit Enter. You will see that Sysprep is working:
WSIM_33.png
After a while Sysprep finishes and reboots to Welcome (OOBE) mode. So far so good, Windows starts to prepare computer for first time use:
WSIM_26.png
As normal in OOBE boot, Windows install devices it found:
WSIM_25.png
As my username and password were already set using respective components Windows stops for asking my credentials:
WSIM_27.png
Finally there! As our CopyProfile component has told Windows, all user accounts get the walpaper, gadgets, theme, shortcuts, colors etc. from the new Default Profile. IE has also got a new default home page, every new user account has Seven Forums as home page and Eight Forums in Favorites as the CopyProfile component copied all changes made to built-in administrator account to Default User Profile:
WSIM_32.png



Part 3:

Sysprep existing Windows setup


3.1. Boot to Audit Mode

   Warning
After sysprepping an existing Windows setup it needs to be reactivated. For this you will need your valid original product key.

Do not proceed without backing up your system. The Seven Forums, Eight Forums nor me as the author of this tutorial cannot be held liable if you lose data or functionality of your Windows due failed sysprepping. If the instructions are followed to the letter this is highly unlikely but as a small user error or typo can cause a malfunctioning system I feel it is important to point this out.

For a complete system image backup consult this tutorial: http://www.sevenforums.com/tutorials/663-backup-complete-computer-create-image-backup.html

To boot Windows from normal mode to Audit Mode there can't be any pending reboots due updates. If Windows Update has a pending update reboot, do it now.

Close all applications. Type this to Run dialog or command prompt and hit Enter:
Code:
C:\Windows\System32\Sysprep\Sysprep.exe /audit /reboot

Windows reboots now to Audit Mode.


3.2. Install Windows System Image Manager

Follow the instructions given in 2.3. above.


3.3. Create an Answer File

Follow the instructions given in 2.4. above.

Notice that if you want to use the CopyProfile component when sysprepping an existing Windows setup, you need to delete all user accounts except the built-in administrator account while in Audit Mode. Executing the CopyProfile component will fail if any user accounts exists.

See more: http://www.sevenforums.com/tutorials/285983-user-profile-customize-during-installation.html


3.4. Review and Validate your Answer File

Follow the instructions given in 2.5. above.


3.5. Sysprep Windows using your Answer File

Follow the instructions given in 2.6. above.




Part 4:

Use the Sysprepped Image to install Windows on another Computer


To capture the Windows image and deploy it to another computer, Sysprep needs to be run with Shutdown switch (see 2.6).

The procedure is quite simple:
For a practical reference see these tutorials:
A complete Seven Forums tutorial of capturing a sysprepped image is already "under construction" ;).




Part 5:

Recommended Reading


From Microsoft:
Seven Forums & Eight Forums Tutorials about various Sysprep scenarios:
That's it Folks, for this time.

Kari



Footnote: For those interested this tutorial took 36 straight hours, from a Friday afternoon to early Sunday morning, interrupted only for a few hours sleep Saturday afternoon and occasional toilet and coffee breaks. It took almost a bottle of whisky, a few liters coffee, about the same amount of water, over 30 cigarettes, a dozen or so Mars bars, 10 oranges, two liters of orange juice and two family size deep-frozen pizzas.
 
Last edited:
i currently have a Windows 7 AIO Disk (every version with 64 and 32 bit) i have created a custom image.wim file but when i place that image.wim file onto my AIO disk i lose every version but the one i install to customize how can i create a custom image.wim file that still has all versions?
 

My Computer My Computer

At a glance

windows 7 pro 64
Computer type
PC/Desktop
OS
windows 7 pro 64
i currently have a Windows 7 AIO Disk (every version with 64 and 32 bit) i have created a custom image.wim file but when i place that image.wim file onto my AIO disk i lose every version but the one i install to customize how can i create a custom image.wim file that still has all versions?
So on install you have about 6 options: "Windows Home Premium", "Windows Professional", "Windows ultimate" [both x86 and x64]. Do you want 1 extra option for example "My custom image X86"?
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
i currently have a Windows 7 AIO Disk (every version with 64 and 32 bit) i have created a custom image.wim file but when i place that image.wim file onto my AIO disk i lose every version but the one i install to customize how can i create a custom image.wim file that still has all versions?
So on install you have about 6 options: "Windows Home Premium", "Windows Professional", "Windows ultimate" [both x86 and x64]. Do you want 1 extra option for example "My custom image X86"?


before install i have 9 options they are starter (32bit), Home Basic (32 and 64 Bit), home premium (32 and 64 Bit), Professional (32 and 64 Bit), Ultimate (32 and 64 Bit)
i'm in the IT world so what i'm trying to do is have an image that is pre loaded with Adobe reader, flash, air, java, notepad ++, chrome, power dvd, microsoft security essentials, and open office. and i'm wanting that same setup across all 9 editions, i have created an image.wim based off Professional but when i place that wim file in the sources directory i loss all the other versions

how is something like this done?
 

My Computer My Computer

At a glance

windows 7 pro 64
Computer type
PC/Desktop
OS
windows 7 pro 64
The normal image.wim consists off an instal wim file with index 1 and a name, name is "Home Basic x86" for example. That's the name you see in the list. index 2 is "Professional x86" for example. etc

So all versions are in the same wim file, the only have another index! What's more important each file like defrag.exe for example is only once in the wim file. All indexes point to the same file.

DISM.EXE and IMAGEX.EXE are the tools to use.

What do you mean by saying "have an image that is pre loaded with Adobe reader, flash, air, java, notepad ++, chrome, power dvd, microsoft security essentials, and open office"? you did install win7 and all the applications as well and created the wim file (as kind of snapshot)?
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
The normal image.wim consists off an instal wim file with index 1 and a name, name is "Home Basic x86" for example. That's the name you see in the list. index 2 is "Professional x86" for example. etc

So all versions are in the same wim file, the only have another index! What's more important each file like defrag.exe for example is only once in the wim file. All indexes point to the same file.

DISM.EXE and IMAGEX.EXE are the tools to use.

What do you mean by saying "have an image that is pre loaded with Adobe reader, flash, air, java, notepad ++, chrome, power dvd, microsoft security essentials, and open office"? you did install win7 and all the applications as well and created the wim file (as kind of snapshot)?

What i mean is i installed windows 7 pro, then went into audit mode, installed the above programs, and then sysprep and generalized, then captured the drive with imagex

is there something i should have done?
 

My Computer My Computer

At a glance

windows 7 pro 64
Computer type
PC/Desktop
OS
windows 7 pro 64
What i mean is i installed windows 7 pro, then went into audit mode, installed the above programs, and then sysprep and generalized, then captured the drive with imagex

is there something i should have done?
No, there is not.

When you enter Audit Mode on your reference computer, Windows edition is already selected and installed, in your case the Professional edition. The installation has completed, although you have entered Audit Mode and bypassed the OOBE phase meaning no user profiles exist yet.

Simple logics: you cannot change the edition of the installed Windows version, not even by editing something (anything!) in install.wim file and assume that the software you installed in Professional will then when your image is deployed also be installed and work if the end user selects Home Premium.

Kari
 

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
No, there is not.

When you enter Audit Mode on your reference computer, Windows edition is already selected and installed, in your case the Professional edition. The installation has completed, although you have entered Audit Mode and bypassed the OOBE phase meaning no user profiles exist yet.

Simple logics: you cannot change the edition of the installed Windows version, not even by editing something (anything!) in install.wim file and assume that the software you installed in Professional will then when your image is deployed also be installed and work if the end user selects Home Premium.

Kari

so... what other options are there to pre install software, i know there is an option out there b/c i have a boot leg copy that installs windows updates after install before you get to the desktop
 

My Computer My Computer

At a glance

windows 7 pro 64
Computer type
PC/Desktop
OS
windows 7 pro 64
so... what other options are there to pre install software
There are no other options. You simply cannot create a universal image with all third party software installed and let the end user then decide which edition and bit version of Windows to install.

i know there is an option out there b/c i have a boot leg copy that installs windows updates after install before you get to the desktop
I repeat: no, there are no other options. You need to prepare an image for each edition separately. Windows updates are not edition specific and can be slipstreamed to an image, that's a totally different thing. You are talking about installing software, not Windows Updates.

A not so practical workaround would be to prepare all 9 images (Starter 32 bit, all others both 32 and 64 bit), install all needed software to each in Audit Mode, then copy them to a Flash Drive (even double sided DVD has not enough space for all 9 images) with a boot menu for user to select whis OS and bit version will be installed. Messy and complicated.

Kari
 

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Microsoft Windows 8.1 Enterprise X64 Metro

Hello Kari.
I'm using the following Operation System: Microsoft Windows 8.1 Enterprise X64.
And I was wondering if it is possible if you used Sysprep and keep afterwards the Metro Menu with all you Customizations like you're Icons & Names above?
Can I create this into the Answer File (WADK) Windows System Image Manager?
If yes can you please make a new turtorial for this or can explain what I must check into this program.
Many Thanks,
DJTest.
 

My Computer My Computer

At a glance

Micorsoft Windows 8.1 Enterprise X64
Computer type
PC/Desktop
OS
Micorsoft Windows 8.1 Enterprise X64
Start Screen items and customizations do not survive the sysprep. There's no use to customize the Start Screen in any way in Audit Mode and then sysprep because Start Screen resets it to default. Can't be done, sorry.

Notice that you cannot enter the Store in Audit Mode to install apps. Apps can be added to image using DISM which takes the whole process to a totally another level. Read more at out sister forums in this thread: Creating a windows 8.1 image containing metro apps

Other than the above and the fact that you should not relocate the ProgramData in Windows 8 you can follow this tutorial; the sysprep and customization processes are the same.

Kari
 

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Is there a way to run KMSPico / AutoPico automatic after the installation with any Users Domains?
Only for testing for purposes ofcourse. ;)
 

My Computer My Computer

At a glance

Micorsoft Windows 8.1 Enterprise X64
Computer type
PC/Desktop
OS
Micorsoft Windows 8.1 Enterprise X64
Kari -

I was given the suggestion of using Sysprep for the problem that I'm having. We have these old, old XP PCs that need to be converted to a Windows 7 image here where I work. These will go out to about 300 of our locations around the country. We had to go with Windows 7 (pro) 32-bit images, because some of our older apps are still very much in use and need 32-bit in order to work.
For our XP images, we use Clonezilla with the most recent updates to burn replacement PCs to go out. The new Windows 7 PCs use a SLIC for identification and have to contact the Licensing Server for "windows activation" out of the box and then every 80 days. These PCs are coming to us from a different department with Windows 7 32-bit already loaded and only the Administrator account. I had to write a Powershell program that adds all that we need - two other user accounts (besides Administrator), our apps, printers, Java, Chrome, Adobe, et al. Because of PCI compliance, we also have about 200 patches (mostly Microsoft patches) that run via this Powershell build. It takes a good 3.5 hours for the build script to finish.
What we want to do is then take that completed image with the 3 user accounts (Administrator, User1, User2) and all of our added items and use Clonezilla to save that image. Then use that image as a "master image" from which to burn the other PCs. We were told by someone that Sysprep might work because it would remove all the "unique identifiers" from the image so we could then just use Clonezilla to create our completed image and send it out without worry of it failing Windows Activation. But we just can't seem to figure out the correct Sysprep command(s) we should be using. We don't want the image to boot up with the "Windows Setup" screen where it asks the user to enter their name and then creates an Admin account such as "Eric-PC." We just want our three accounts (including Administrator) to already be there.
Is there a way to do this with Sysprep? Hope that's enough info to go on.

Thank you
 

My Computer My Computer

At a glance

Windows 7 Professional 64 Bit
OS
Windows 7 Professional 64 Bit
Is there a way to do this with Sysprep?
The simplest way would be to set needed user accounts and automatize the Welcome phase in answer file (see this MS support article), then sysprep the general image with this command:

Code:
%windir%\system32\sysprep\sysprep.exe /generalize /oobe /shutdown /unattend:[hl]X:\Your_AnswerFile.xml[/hl]


The above Sysprep command, its switches explained:
  • /generalize = removes all hardware related information like drivers and registry entries, making the image hardware independent. When the image is deployed Windows will install default drivers if hardware specific drivers not available
  • /oobe = when the image is deployed and the PC it was deployed to booted first time, Windows performs a normal first run OOBE / Welcome boot
  • /shutdown = shuts down the reference PC after Sysprep, allowing you to boot with a live OS to capture the image
  • /unattend = location of your answer file, highlighted in above command example as it is the only part of the command you should edit
That's to start with. Please ask if you have any further questions.

Kari
 

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Thanks for the quick reply!

Tried doing this last week with an answer file I created, but ran into a problem with Sysprep also trying to parse an unattend.xml file found in C:\Windows\Panther - my guess is this is the unattend file used by the dept that gives us our original image to use. Is there a way to prevent Sysprep from doing that?

Secondly, we don't want our end users to see that "Welcome" boot. We want them to see the three available accounts - "Administrator"; "User1"; "User2" so they can just login as User1 or User2. Any way to avoid that Welcome screen that makes you change your "Administrator" account to an "Eric-PC" account, for example?
 

My Computer My Computer

At a glance

Windows 7 Professional 64 Bit
OS
Windows 7 Professional 64 Bit
Tried doing this last week with an answer file I created, but ran into a problem with Sysprep also trying to parse an unattend.xml file found in C:\Windows\Panther - my guess is this is the unattend file used by the dept that gives us our original image to use. Is there a way to prevent Sysprep from doing that?
Sorry but without seeing the sysprep logs I cannot tell what went wrong and what could be done to prevent that.

Secondly, we don't want our end users to see that "Welcome" boot. We want them to see the three available accounts - "Administrator"; "User1"; "User2" so they can just login as User1 or User2. Any way to avoid that Welcome screen that makes you change your "Administrator" account to an "Eric-PC" account, for example?
Only way to completely bypass the first run boot (OOBE, also called Welcome phase) is to clone / mirror an existing Windows installation and restore it to production computers. This might or might not work as cloning does not make image hardware independent; for that you will need Sysprep which automatically causes the OOBE / Welcome boot to be run.

Kari
 

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Kari -

Running into this problem currently - using your command above with my unattend.xml on a flash drive, after the shutdown, I saved the image via Clonezilla. Then tried to boot up. It went through several different "Setup is checking..." screens and finally came to "Setup is preparing your computer for first use", but then I get "Windows could not complete the installation. To install Windows on this computer, restart the installation." So I can't even get to a point where I can see the sysprep logs - will not boot past this screen. Keeps re-attempting and coming to the same error.
 

My Computer My Computer

At a glance

Windows 7 Professional 64 Bit
OS
Windows 7 Professional 64 Bit
That means that Sysprep has failed, most common causes are errors in answer file. To start testing and fine tuning your answer file, I prefer this method:

  1. Install Windows on your reference computer and enter Audit Mode as told in this tutorial steps 2.1 to 2.2.
  2. When in Audit Mode desktop and you can see the Sysprep dialog, select as follows
    • System Cleanup Action: Enter System Audit Mode
    • Shutdown Options: Shutdown
    • Check that Generalize is not selected

      2015-01-02_20h15_24.png
  3. Now click OK to shut computer down
  4. Create an image. I prefer Macrium for imaging but you can do it with Clonezilla if you are more familiar with it.
  5. Reboot the computer after image is created, it will now boot back to Audit Mode
  6. Create your answer file, modify it when needed.
  7. Sysprep as told earlier.
  8. Again, create an image, then reboot your reference computer to see if it can finalize the installation. If the reference computer boots normally and finalizes the installation the image is ready for deployment. If not, restore the first image you created (step 4 in this list) and try again editing / modifying the answer file.
In the mean time you could post your answer file here, I can go it through to see if there's any obvious errors. If you post it here please replace possible product keys and other sensitive information with XXXX.

Kari
 

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Kari -

In all honesty, I took the unattend.xml file that was already in C:\Windows\Panther and edited that for what I thought we might need. I'm thinking this is the file that our other dept normally uses in building the basic system with just Windows 7 and an "administrator" account before handing it off to us. Not being completely clear on all that is needed in said file, it's most likely that I don't need a lot of what's in here. My guess is that I only truly need from about <component name="Microsoft-Windows-Shell-Setup" on down. We're looking to have it so that the end users get the PC and it boots up to "Administrator" "User1" and "User2" login options and that they never see the Microsoft Windows Setup screens. I've attached the unattend.xml as a .txt file.
 

Attachments

My Computer My Computer

At a glance

Windows 7 Professional 64 Bit
OS
Windows 7 Professional 64 Bit
That is quite standard answer file, only thing sticking out of it is the autologon of built-in administrator account, but your explanation makes sense, gives reason why it is used.

I would start from scratch. Install, enter Audit Mode, download and install Windows AIK (step 2.3 in this tutorial), make a pot of coffee and start by reading this MS TechNet support article: Walkthrough: Build a Simple Answer File, followed by the video in this TechNet article: Create Answer File, Windows AIK Demo | Deploy Windows 7 | TechNet.

Maybe also see my other more walkthrough like tutorial about sysprep: http://www.sevenforums.com/tutorials/319903-windows-7-image-customize-audit-mode-sysprep.html. At least watch the shorter of two videos in Part 2 in said tutorial to see the procedure in action.

Kari
 

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Thanks - hopefully the videos won't be blocked here!
 

My Computer My Computer

At a glance

Windows 7 Professional 64 Bit
OS
Windows 7 Professional 64 Bit
Back
Top