5

I have install a ghost server and i would like to deploy many Windows 7 64 bits. Before creating the master i must sysprep it but i would like to know how to sysprering without create a new user after restart of the computer.

thanks !

inkx
  • 59

4 Answers4

3

When at the OOBE setup, pres CTRL+SHIFT+F3 to enter audit mode. You're actually logged into the admin account. From there you can make changes to the system before deployment. You'll likely want to look into building an answerfile for unattended setup and to ensure drivers persist past generalization.

See this resource for more info: Preparing an Image Using Sysprep and ImageX

Linger
  • 3,332
  • 10
  • 38
  • 47
Colyn1337
  • 1,228
3

Create an answer file, and set the following two options to True:

SkipMachineOOBE
SkipUserOOBE

You will find these options in phase 7: oobeSystem, under Microsoft-Windows-Shell-Setup.

Update

You need to edit your Unattend.xml file using AIK from Microsoft to add these two options.
Also, you can manually edit the file using notepad or another text editor.
Look for:

<settings pass="oobeSystem">

Then under that section look for:

<component name="Microsoft-Windows-Shell-Setup"    >

Under that section add:

<OOBE>
    <HideEULAPage>true</HideEULAPage>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <NetworkLocation>Work</NetworkLocation>
    <SkipMachineOOBE>true</SkipMachineOOBE>
    <SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
2

I know that this is an old posting ... but I'm surprised nobody pointed this out sooner. As this is still valid and useful, it should be noted that the two options in the unnattend answer file which should be set to "true" are:

SkipMachineOOBE and SkipUserOOBE

"ITProStuff" erroneously lists SkipMachineOOBE twice ... I'm sure it was simply a typo, but to help others looking for clarity and understanding.

2

Following @ITProStuff answer, here is a minimal unattend.xml file.

<?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">
      <OOBE>
        <SkipMachineOOBE>true</SkipMachineOOBE>
        <SkipUserOOBE>true</SkipUserOOBE>
      </OOBE>
    </component>
  </settings>
</unattend>

To use it, just add /unattend:[path_to_unattend.xml] to your sysprep command line. Set processorArchitecture to x86 if you make it for a 32bit Windows.

blaniel
  • 21