Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Building a Win 7 Enterprise x64 image. Does this look right.

Created: 12 Aug 2012 | 1 comment

HI all, sorry I am new to using Deployment Solution as a tool. Can someone please tell me whether my process is correct? My main issue is that after doing a Sysprep the step of capturing the image does not quite seem right.

Deployment Solution 6.9 SP5

The master PC is built by hand. At the moment a very basic.
Win 7 Enterprise x64
Updates to a number of drivers.
Deployment Agent installed.
Sysprep with the following command and switches.
sysprep /oobe /generalize /unattend:c:\windows\system32\sysprep\unattend.xml (copy of unattend pasted below, with domain info removed)
PC shuts down after processing the command

I then go to the DA Console and set up an imaging job. At the moment I am using Ghost as I was encountering some issues with rdeploy. I want to switch back to rdeploy in the future.
The job has a tick in the tick box "Do not boot to Production" (Checked and double checked.)
I have not ticked the box "Prepare using Sysprep" (cos I have already sysprepped it.)
When I schedule the job, the PC starts to boot windows. Not what I expected! (I have double and triple checked, the Network adapter is the first boot device)
It then starts loading windows and configuring Drivers and services. I.e. the following steps
Windows is updating registry settings
Setup is starting services
Setup is installing devices
Setup is applying system settings.
Setup will continue after restarting your computer.

At this point it then boots off the network adapter and PXE boot share and creates the image.
The image is created with a non fatal error "Error -99 during imaging process". Status Code 60 - user defined
PC then reboots and completes the OOBE.
I can put that image onto other PCs.

So my issue is I was not expecting the partial Windows build before booting from the network. Is this normal? or do I have an issue to resolve?
Also if I run the above with rdeploy instead of ghost selected I get an empty image file (1kb on disk) with nothing in it

Contents of unattend.xml below.

Thanks in advance

 

 

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="generalize">
        <component name="Microsoft-Windows-Security-SPP" 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">
            <SkipRearm>1</SkipRearm>
        </component>
        <component name="Microsoft-Windows-PnpSysprep" 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">
            <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
        </component>
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-Deployment" 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">
            <RunSynchronous>
                <RunSynchronousCommand wcm:action="add">
                    <Order>1</Order>
                    <Path>net user removed /active:yes</Path>
                </RunSynchronousCommand>
            </RunSynchronous>
        </component>
        <component name="Microsoft-Windows-Security-SPP-UX" 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">
            <SkipAutoActivation>true</SkipAutoActivation>
        </component>
        <component name="Microsoft-Windows-UnattendedJoin" 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">
            <Identification>
                <Credentials>
                    <Domain>removed</Domain>
                    <Password>aremoved</Password>
                    <Username>removed</Username>
                </Credentials>
                <JoinDomain>removed</JoinDomain>
                <DebugJoin>true</DebugJoin>
            </Identification>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-International-Core" 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">
            <InputLocale>en-AU</InputLocale>
            <SystemLocale>en-AU</SystemLocale>
            <UILanguage>en-AU</UILanguage>
            <UILanguageFallback>en-US</UILanguageFallback>
            <UserLocale>en-AU</UserLocale>
        </component>
        <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">
            <FirstLogonCommands>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ipk</CommandLine>
                    <Order>1</Order>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>csript //b c:\windows\system32\slmgr.vbs /ato</CommandLine>
                    <Order>2</Order>
                    <RequiresUserInput>false</RequiresUserInput>
                </SynchronousCommand>
            </FirstLogonCommands>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Work</NetworkLocation>
            </OOBE>
            <UserAccounts>
                <AdministratorPassword>
                    <Value>removed=</Value>
                    <PlainText>false</PlainText>
                </AdministratorPassword>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value>removed=</Value>
                            <PlainText>false</PlainText>
                        </Password>
                        <Description>Local Administrator</Description>
                        <DisplayName>removed</DisplayName>
                        <Group>Administrators</Group>
                        <Name>removed</Name>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
            <RegisteredOrganization>removed</RegisteredOrganization>
            <RegisteredOwner>removed</RegisteredOwner>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:c:/program%20files/windows%20aik/images/w7entsp1x64/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
 

 

Comments 1 CommentJump to latest comment

njsmith's picture

Update:

I have stripped the unattend.xml to almost nothing. Canot get an rdeploy image.

Tried both rdeploy and ghost image from the console without a manual sysprep. Ghost is Ok, rdeploy does not work.

Server environment Windows Server 2003 R2 Standard Edition sp2 if that makes any difference (32 bit).