+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 24
O/S Deployment Thread, Send me your Unattend.xml file? in Technical; Ive tried and failed numerous time to get an unattended WDS installation working and cannot do it. Always get errors ...
  1. #1
    fairm010's Avatar
    Join Date
    Jun 2010
    Location
    C:/Windows/System32/
    Posts
    1,184
    Thank Post
    47
    Thanked 152 Times in 133 Posts
    Rep Power
    46

    Send me your Unattend.xml file?

    Ive tried and failed numerous time to get an unattended WDS installation working and cannot do it. Always get errors about unatend.xml. Please can somebody send me their working unnattend.xml file?

    Much appreciated, Matt.

  2. #2
    DT2
    DT2 is offline
    DT2's Avatar
    Join Date
    May 2011
    Location
    Lakeville, Carleton County, New Brunswick
    Posts
    695
    Thank Post
    140
    Thanked 197 Times in 138 Posts
    Rep Power
    74
    Unattend.zip

    Here you go buddy, it's for w7 enterprise 32 bit.
    Post up the errors you're getting.

    DT

  3. Thanks to DT2 from:

    speckytecky (14th January 2013)

  4. #3

    Dos_Box's Avatar
    Join Date
    Jun 2005
    Location
    Preston, Lancashire
    Posts
    10,400
    Thank Post
    602
    Thanked 2,171 Times in 994 Posts
    Blog Entries
    23
    Rep Power
    630
    Moving to O/S Deployment forum.

  5. #4
    fairm010's Avatar
    Join Date
    Jun 2010
    Location
    C:/Windows/System32/
    Posts
    1,184
    Thank Post
    47
    Thanked 152 Times in 133 Posts
    Rep Power
    46
    Thanks DT. Will this work for Win 7 Pro?

  6. #5
    DT2
    DT2 is offline
    DT2's Avatar
    Join Date
    May 2011
    Location
    Lakeville, Carleton County, New Brunswick
    Posts
    695
    Thank Post
    140
    Thanked 197 Times in 138 Posts
    Rep Power
    74
    You need to build your answer file with packages from the OS disk, as packages/components used might be slightly different across the versions, likely not. But you could build your own answer file using this as a guideline, just add the corresponding package from pro. This one will prompt you only for computer name.

  7. #6
    fairm010's Avatar
    Join Date
    Jun 2010
    Location
    C:/Windows/System32/
    Posts
    1,184
    Thank Post
    47
    Thanked 152 Times in 133 Posts
    Rep Power
    46
    Brilliant, thanks. You may want to delete the post with the attatchment as it has your product key in it!

  8. #7

    Join Date
    Nov 2011
    Location
    Birmingham
    Posts
    123
    Thank Post
    30
    Thanked 24 Times in 21 Posts
    Rep Power
    10
    I haven't checked as I'm on my phone but it's probably the public kms key so no need to worry.

  9. #8
    fairm010's Avatar
    Join Date
    Jun 2010
    Location
    C:/Windows/System32/
    Posts
    1,184
    Thank Post
    47
    Thanked 152 Times in 133 Posts
    Rep Power
    46
    Finally! A working unnatended install. Is there any way though to automate the deletion of any existing partitions and then install?

    Matt

  10. #9
    Duke5A's Avatar
    Join Date
    Jul 2010
    Posts
    805
    Thank Post
    82
    Thanked 132 Times in 115 Posts
    Blog Entries
    8
    Rep Power
    32
    Quote Originally Posted by fairm010 View Post
    Finally! A working unnatended install. Is there any way though to automate the deletion of any existing partitions and then install?

    Matt
    I created a separate XML used to automated the questions WDS asks it starts up. This should do it...

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="windowsPE">
            <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <DiskConfiguration>
                    <WillShowUI>OnError</WillShowUI>
                    <Disk wcm:action="add">
                        <CreatePartitions>
                            <CreatePartition wcm:action="add">
                                <Order>1</Order>
                                <Type>Primary</Type>
                                <Extend>true</Extend>
                            </CreatePartition>
                        </CreatePartitions>
                        <ModifyPartitions>
                            <ModifyPartition wcm:action="add">
                                <Active>true</Active>
                                <Format>NTFS</Format>
                                <Label>Local Disk</Label>
                                <Letter>C</Letter>
                                <Order>1</Order>
                                <PartitionID>1</PartitionID>
                            </ModifyPartition>
                        </ModifyPartitions>
                        <DiskID>0</DiskID>
                        <WillWipeDisk>true</WillWipeDisk>
                    </Disk>
                </DiskConfiguration>
                <WindowsDeploymentServices>
                    <ImageSelection>
                        <WillShowUI>OnError</WillShowUI>
                        <InstallTo>
                            <DiskID>0</DiskID>
                            <PartitionID>1</PartitionID>
                        </InstallTo>
                    </ImageSelection>
                </WindowsDeploymentServices>
            </component>
        </settings>
    </unattend>

  11. #10
    fairm010's Avatar
    Join Date
    Jun 2010
    Location
    C:/Windows/System32/
    Posts
    1,184
    Thank Post
    47
    Thanked 152 Times in 133 Posts
    Rep Power
    46
    Duke5A thats exactly what im looking for, but where would I put / what would I do with this .xml file?

  12. #11


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    8,914
    Thank Post
    226
    Thanked 2,676 Times in 1,973 Posts
    Rep Power
    787
    Here's an XML file which is a combination of DT2's and Duke5A's. I have changed the time zone and locales to what they should be for the UK.

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="windowsPE">
            <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <DiskConfiguration>
                    <WillShowUI>OnError</WillShowUI>
                    <Disk wcm:action="add">
                        <CreatePartitions>
                            <CreatePartition wcm:action="add">
                                <Order>1</Order>
                                <Type>Primary</Type>
                                <Extend>true</Extend>
                            </CreatePartition>
                        </CreatePartitions>
                        <ModifyPartitions>
                            <ModifyPartition wcm:action="add">
                                <Active>true</Active>
                                <Format>NTFS</Format>
                                <Label>Local Disk</Label>
                                <Letter>C</Letter>
                                <Order>1</Order>
                                <PartitionID>1</PartitionID>
                            </ModifyPartition>
                        </ModifyPartitions>
                        <DiskID>0</DiskID>
                        <WillWipeDisk>true</WillWipeDisk>
                    </Disk>
                </DiskConfiguration>
                <WindowsDeploymentServices>
                    <ImageSelection>
                        <WillShowUI>OnError</WillShowUI>
                        <InstallTo>
                            <DiskID>0</DiskID>
                            <PartitionID>1</PartitionID>
                        </InstallTo>
                    </ImageSelection>
                </WindowsDeploymentServices>
            </component>
        </settings>
        <settings pass="generalize">
            <component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" 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-Security-SPP-UX" processorArchitecture="x86" 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="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <TimeZone>GMT Standard Time</TimeZone>
                <CopyProfile>true</CopyProfile>
                <ShowWindowsLive>false</ShowWindowsLive>
            </component>
            <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" 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>
        </settings>
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <SystemLocale>en-GB</SystemLocale>
                <UILanguage>en-GB</UILanguage>
                <UserLocale>0809:00000809</UserLocale>
                <InputLocale>0809:00000809</InputLocale>
            </component>
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <AutoLogon>
                    <Password>
                        <Value>password</Value>
                        <PlainText>true</PlainText>
                    </Password>
                    <Domain></Domain>
                    <Username>Administrator</Username>
                    <Enabled>true</Enabled>
                    <LogonCount>5</LogonCount>
                </AutoLogon>
                <FirstLogonCommands>
                    <SynchronousCommand wcm:action="add">
                        <CommandLine>cscript /b c:\windows\system32\slmgr.vbs /ipk 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH</CommandLine>
                        <Order>1</Order>
                        <RequiresUserInput>false</RequiresUserInput>
                    </SynchronousCommand>
                    <SynchronousCommand wcm:action="add">
                        <CommandLine>cscript /b c:\windows\system32\slmgr.vbs /ato</CommandLine>
                        <Order>2</Order>
                        <RequiresUserInput>false</RequiresUserInput>
                    </SynchronousCommand>
                </FirstLogonCommands>
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <NetworkLocation>Work</NetworkLocation>
                    <ProtectYourPC>1</ProtectYourPC>
                </OOBE>
                <UserAccounts>
                    <AdministratorPassword>
                        <Value>password</Value>
                        <PlainText>true</PlainText>
                    </AdministratorPassword>
                </UserAccounts>
                <RegisteredOrganization>McCain Foods</RegisteredOrganization>
                <RegisteredOwner>McCain Foods</RegisteredOwner>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="catalog:c:/users/drtaylor/desktop/7/sources/install_windows 7 enterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

  13. #12
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,456
    Thank Post
    10
    Thanked 494 Times in 434 Posts
    Rep Power
    113
    Quote Originally Posted by Arthur View Post
    Here's an XML file which is a combination of DT2's and Duke5A's. I have changed the time zone and locales to what they should be for the UK.
    You'd be better of using the WDS way, you use Windows PE unattended to set the image and format the disk, and attach it to the server properties unattended section, then have the post deployment unattended xml attached to the image itself.

    If you want to automate more than one image you can use the pre-stage option, or slightly more involved MDT.

    Edit you also can't set the UI language to en-gb during the PE phase, it's not present. You need to leave the locale as en-gb so detected printers end up as A4
    Last edited by DMcCoy; 14th January 2013 at 07:27 PM.

  14. #13
    fairm010's Avatar
    Join Date
    Jun 2010
    Location
    C:/Windows/System32/
    Posts
    1,184
    Thank Post
    47
    Thanked 152 Times in 133 Posts
    Rep Power
    46
    Im quite new to WDS. I have it set up and working, taking and deploying images with no problem. But I want to be able to start a machine off PXE booting and leave it. Today i used the XML DT2 gave me and it worked a treat but i'd like to automate the deletion of partitions and continue (and any other steps). Would I just use the XML Arthur has provided in place of the XML DT2 provided?

    "You'd be better of using the WDS way, you use Windows PE unattended to set the image and format the disk, and attach it to the server properties unattended section, then have the post deployment unattended xml attached to the image itself." - Is this what Arthurs XML would do?

    Matt

  15. #14
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,456
    Thank Post
    10
    Thanked 494 Times in 434 Posts
    Rep Power
    113
    For the PE unattended (formats, picks the image and deploys

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="windowsPE">
            <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <DiskConfiguration>
                    <WillShowUI>OnError</WillShowUI>
                    <Disk wcm:action="add">
                        <CreatePartitions>
                            <CreatePartition wcm:action="add">
                                <Order>1</Order>
                                <Type>Primary</Type>
                                <Extend>true</Extend>
                            </CreatePartition>
                        </CreatePartitions>
                        <ModifyPartitions>
                            <ModifyPartition wcm:action="add">
                                <Active>true</Active>
                                <Format>NTFS</Format>
                                <Label>SYSTEM</Label>
                                <Letter>C</Letter>
                                <Order>1</Order>
                                <PartitionID>1</PartitionID>
                            </ModifyPartition>
                        </ModifyPartitions>
                        <DiskID>0</DiskID>
                        <WillWipeDisk>true</WillWipeDisk>
                    </Disk>
                </DiskConfiguration>
                <WindowsDeploymentServices>
                    <Login>
                        <Credentials>
                            <Domain>domain.name</Domain>
                            <Password>password</Password>
                            <Username>WDSUser</Username>
                        </Credentials>
                    </Login>
                    <ImageSelection>
                        <InstallImage>
                            <Filename>Student.WIM</Filename>
                            <ImageGroup>Student</ImageGroup>
                            <ImageName>Student</ImageName>
                        </InstallImage>
                        <InstallTo>
                            <DiskID>0</DiskID>
                            <PartitionID>1</PartitionID>
                        </InstallTo>
                        <WillShowUI>Never</WillShowUI>
                    </ImageSelection>
                </WindowsDeploymentServices>
            </component>
            <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" 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>
                    <WillShowUI>Never</WillShowUI>
                </SetupUILanguage>
    		<UILanguage>en-US</UILanguage>
    		<SystemLocale>en-GB</SystemLocale>
    		<UserLocale>en-GB</UserLocale>
            </component>
        </settings>
    </unattend>

    You combine this with the unattended file that is selected on the *image* which is copied over during the WDS deployment phase and continues the setup once the image is on the drive.
    Last edited by DMcCoy; 14th January 2013 at 09:37 PM.

  16. #15
    fairm010's Avatar
    Join Date
    Jun 2010
    Location
    C:/Windows/System32/
    Posts
    1,184
    Thank Post
    47
    Thanked 152 Times in 133 Posts
    Rep Power
    46
    Thanks, and i'd use that instead of my current unnatend.xml?

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. windows 7 WDS unattend.xml files not working!
    By staylor1972 in forum O/S Deployment
    Replies: 11
    Last Post: 15th February 2011, 11:01 AM
  2. [MS Office - 2007] VERY URGENT - Can Someone Make Me An XML File For Deployment Or Help Please!
    By pritchardavid in forum Office Software
    Replies: 19
    Last Post: 28th January 2010, 09:21 PM
  3. Replies: 7
    Last Post: 23rd January 2007, 12:29 AM
  4. Help with unattended answer file.
    By Kyle in forum Windows
    Replies: 3
    Last Post: 5th November 2006, 06:40 PM
  5. Wireless ... Give me your brains
    By ajbritton in forum Wireless Networks
    Replies: 36
    Last Post: 25th October 2005, 07:47 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •