Deployment Solution

 View Only
  • 1.  Looking for Sample unattend.xml for DS 7.1

    Posted Jul 09, 2010 01:40 PM
    I was wondering if anyone had a working unattend.xml for use on DS 7.1?
    We have been trying to get ours working and after three iterations, still come up with errors with in the xml.  Just wondering how others are building.

    Thanks!


  • 2.  RE: Looking for Sample unattend.xml for DS 7.1

    Posted Jul 09, 2010 02:29 PM

    Mine is based on this guy's.  I run sysprep directly though in windows 7.

    http://blog.brianleejackson.com/sysprep-a-windows-7-machine-%E2%80%93-start-to-finish-v2



  • 3.  RE: Looking for Sample unattend.xml for DS 7.1

    Posted Jul 09, 2010 03:31 PM
    I tried to follow his steps but without alot of luck.  So you invoke the sysprep directly from the computer or do you like the create/deploy jobs handle this?  In out DS 6.8 environment, we dont have to sysprep manually.  The create job does it for us.  Not sure how it works in DS 7.1

    Any way you could post your xml file (minus the sensitive info)?

    Thanks



  • 4.  RE: Looking for Sample unattend.xml for DS 7.1

    Posted Jul 09, 2010 03:47 PM
    I have DS 6.9 SP3, but I just run
    c:\windows\system32\sysprep\sysprep.exe /generalize /shutdown /oobe /unattend:unattend.xml
    and then save it with rdeploy.

    It's not that hard to edit in Windows AIK except for the crazy component names.

    I don't have to run the bcdedit commands after imaging, either, and the same image works on different partitions on both mac & pc.  The administrator profile is deleted, but no welcome screen comes up.

    CopyProfile is a wierd situation.  Profilelist in the registry must be clean of invalid folders.  The source of the copy is either administrator if it exists, or the last created account.

    I've heard there's a problem with un-sysprepped machines and kms servers getting the right machine count.

    <?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>
        </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 administrator /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-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>
                <ShowWindowsLive>false</ShowWindowsLive>
                <TimeZone>Eastern Standard Time</TimeZone>
                <ComputerName>ZZZZ</ComputerName>
            </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-us</InputLocale>
                <SystemLocale>en-us</SystemLocale>
                <UILanguage>en-us</UILanguage>
                <UserLocale>en-us</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">
                        <Order>1</Order>
                        <CommandLine>cscript //b c:\windows\system32\slmgr.vbs -skms kms.com</CommandLine>
                        <RequiresUserInput>false</RequiresUserInput>
                    </SynchronousCommand>
                    <SynchronousCommand wcm:action="add">
                        <Order>2</Order>
                        <CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ato</CommandLine>
                        <RequiresUserInput>false</RequiresUserInput>
                    </SynchronousCommand>
                </FirstLogonCommands>
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <NetworkLocation>Other</NetworkLocation>
                    <ProtectYourPC>1</ProtectYourPC>
                </OOBE>
                <UserAccounts>
                    <LocalAccounts>
                        <LocalAccount wcm:action="add">
                            <Password>
                                <Value></Value>
                                <PlainText>false</PlainText>
                            </Password>
                            <Name>Administrator</Name>
                            <Description>Local Administrator</Description>
                            <DisplayName>Administrator</DisplayName>
                            <Group>Administrators</Group>
                        </LocalAccount>
                    </LocalAccounts>
                </UserAccounts>
                <RegisteredOwner>CCS</RegisteredOwner>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="catalog:c:/users/administrator/desktop/install_windows 7 enterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>



  • 5.  RE: Looking for Sample unattend.xml for DS 7.1

    Posted Jul 11, 2010 11:56 AM
    Thanks for the info.  After more testing I found that the sysprep I was using was actually being merged with other data and was causing it to be invalid.  When I would get an error stating the unattend.xml could not be parsed I would Shift + F10 to get a command window.  I would navigate to the Panther dir and take a look at the unattend.xml.  I could see in the file things I added but it also had lots of things I didnt add.  At some point DS 7.1 is adding this and its driving me crazy.

    Might have to call support on this as I have 150 systems coming in a few days and they want Windows 7

    Now if I tell the system to build a sysprep based on computer inventory it kinda works.  It finishes sucessfully, but I have to go and set the Network location :(

    I will post anything else I find.

    Thanks again...it really helped.