+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 23
Windows 7 Thread, Deploying W7 with WDS - ignores unattend file in Technical; I'm trying to use our WDS (Server 2003) to deploy W7 images. I've got a sysprep'd W7 image and also ...
  1. #1

    Join Date
    Mar 2007
    Posts
    421
    Thank Post
    14
    Thanked 16 Times in 10 Posts
    Rep Power
    18

    Deploying W7 with WDS - ignores unattend file

    I'm trying to use our WDS (Server 2003) to deploy W7 images. I've got a sysprep'd W7 image and also the default image (from the DVD)

    I can boot the client PC and install either of these. However, when I create unattend files (for the WDS and Image part) and assign them using the WDS console, the client ignores them.

    The PXE boot goes as normal, then stops at the language selection dialogue - and I specify this in the WDS unattend.xml.

    Anyone know why its ignoring the unattend files? I've only used the WDS console to attach them and used System Image Manager to create them.

  2. #2
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,424
    Thank Post
    10
    Thanked 488 Times in 428 Posts
    Rep Power
    111
    If you choose en-GB for the PE language then it will stop as it is not available. It works with en-US. Shift+F10 will get you into the command prompt. You can then run notepad and find the error log.

    The downside to this is any printers that have drivers are detected when still as en-US and get installed as Letter

  3. #3

    Join Date
    Mar 2007
    Posts
    421
    Thank Post
    14
    Thanked 16 Times in 10 Posts
    Rep Power
    18
    Do you mean the SetupUILanguage setting? I have got this setup to en-GB, but it was originally en-US. Either way prompted the locale dialogue box on boot.

  4. #4
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,424
    Thank Post
    10
    Thanked 488 Times in 428 Posts
    Rep Power
    111
    Quote Originally Posted by GoldenWonder View Post
    Do you mean the SetupUILanguage setting? I have got this setup to en-GB, but it was originally en-US. Either way prompted the locale dialogue box on boot.
    Yes, en-GB is not a valid option with the default language packs included in a windows 7 based PE. It will work fine as an unattended file for the image itself, but not for automating the WDS stage.

  5. #5
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,424
    Thank Post
    10
    Thanked 488 Times in 428 Posts
    Rep Power
    111
    This is for a Vista image, but we use Win 7 from the WDS stage so it should be the same. Automatically wipes the disk, so be careful if you don't want that


    <?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.school</Domain>
    <Password>password</Password>
    <Username>user</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>
    </component>
    </settings>
    </unattend>

  6. Thanks to DMcCoy from:

    GoldenWonder (26th February 2010)

  7. #6

    Join Date
    Mar 2007
    Posts
    421
    Thank Post
    14
    Thanked 16 Times in 10 Posts
    Rep Power
    18
    Cheers - I'll give that a try. It looks very similar to ours except for the language settings.

  8. #7

    Join Date
    Mar 2007
    Posts
    421
    Thank Post
    14
    Thanked 16 Times in 10 Posts
    Rep Power
    18
    Modified my unattend file to change the locale settings and it worked!

    Thanks for that - would never have guessed that one!

  9. #8

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,658
    Thank Post
    858
    Thanked 646 Times in 429 Posts
    Rep Power
    498
    This is my unattend.xml (for the server not the images thereafter!)

    Code:
     <?xml version="1.0" encoding="utf-8" ?> 
    - <unattend xmlns="urn:schemas-microsoft-com:unattend">
    - <settings pass="windowsPE">
    - <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-gb</UILanguage> 
     
     </SetupUILanguage>
     
     
     <InputLocale>en-gb</InputLocale> 
     
     <SystemLocale>en-gb</SystemLocale> 
     
     <UILanguage>en-gb</UILanguage> 
     
     <UILanguageFallback>en-gb</UILanguageFallback> 
     
     <UserLocale>en-gb</UserLocale> 
     
     </component>
     
     
    - <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>
    - <Disk wcm:action="add">
    - <CreatePartitions>
    - <CreatePartition wcm:action="add">
     <Extend>true</Extend> 
     
     <Order>1</Order> 
     
     <Type>Primary</Type> 
     
     </CreatePartition>
     
     
     </CreatePartitions>
     
     
    - <ModifyPartitions>
    - <ModifyPartition wcm:action="add">
     <Active>true</Active> 
     
     <Format>NTFS</Format> 
     
     <Label>OSDisk</Label> 
     
     <Letter>C</Letter> 
     
     <Order>1</Order> 
     
     <TypeID>1</TypeID> 
     
     <PartitionID>1</PartitionID> 
     
     </ModifyPartition>
     
     
     </ModifyPartitions>
     
     
     <DiskID>0</DiskID> 
     
     <WillWipeDisk>true</WillWipeDisk> 
     
     </Disk>
     
     
     </DiskConfiguration>
     
     
    - <WindowsDeploymentServices>
    - <ImageSelection>
    - <InstallTo>
     <DiskID>0</DiskID> 
     
     <PartitionID>1</PartitionID> 
     
     </InstallTo>
     
     
     </ImageSelection>
     
     
     </WindowsDeploymentServices>
     
     
     </component>
     
     
     </settings>
     
     
     <cpi:offlineImage cpi:source="catalog://apps01/reminst/images/operating systems/install_windows 7 enterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> 
     
     </unattend>

  10. #9

    Join Date
    Mar 2007
    Posts
    421
    Thank Post
    14
    Thanked 16 Times in 10 Posts
    Rep Power
    18
    Thats odd, as that is what my original file looked like.

    Until I changed the locale to en-us it failed to work?

  11. #10
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,424
    Thank Post
    10
    Thanked 488 Times in 428 Posts
    Rep Power
    111
    Done some more testing, this should be sufficient to make sure printers etc get installed as A4. The unattended file after install is ok with the en-GB settings, it's just WDSClient that doesn't support en-GB for display.

    My relevant lines now look like

    <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>

  12. #11

    Join Date
    Apr 2008
    Posts
    405
    Thank Post
    22
    Thanked 13 Times in 10 Posts
    Rep Power
    15
    Rather than start a new thread I'll just add to this one.

    I'm facing a similar problem to the OP, a month ago my WDS deployment worked without any problems, including multicasting but last week when I uploaded an updated image WDS began ignoring the answer file.

    The WinPE section works fine but as soon as it gets to the image OOBE part of the process I'm presented with language options and request for a username. If I fill these in, WDS then names the computer (something i've told it not to do) based on the domain admin account we use and joins it to the domain.

    If I don't roll the image out with WDS and instead use command line WinPE then this problem is avoided.

    I mounted the image with imagex and checked the unattend file under C:\Windows\Panther and it was the correct one, if I check it after the image has been applied it is one that WDS has chucked out with the computer name etc that I haven't told it to use.

    I spent some time before the weekend fiddling with the answer files to try and get automatic image selection and I'm not sure if it's related as I can't remember if I did a successful WDS test last week or not. I know it work perfectly at the end of May.

    The WinPE answer file has the language set to en-US and the image answer file is set to en-GB.

    I'm now two days behind my deployment schedule for the summer and this is driving me nuts, so any help is very much appreciated!

  13. #12

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,658
    Thank Post
    858
    Thanked 646 Times in 429 Posts
    Rep Power
    498
    Can you post your Answer file so we can have a quick look at it?

  14. #13

    Join Date
    Apr 2008
    Posts
    405
    Thank Post
    22
    Thanked 13 Times in 10 Posts
    Rep Power
    15
    WinPE WDS Unattend:

    <?xml version="1.0" ?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
    <component name="Microsoft-Windows-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
    <WindowsDeploymentServices>
    <Login>
    <WillShowUI>OnError</WillShowUI>
    <Credentials>
    <Username>User</Username>
    <Domain>domain.local</Domain>
    <Password>Password</Password>
    </Credentials>
    </Login>
    <ImageSelection>
    <WillShowUI>OnError</WillShowUI>
    <InstallImage>
    <ImageName>October-Curriculum-Image</ImageName>
    <ImageGroup>Curriculum</ImageGroup>
    <Filename>XP945Curric-GCNL-Oct.wim</Filename>
    </InstallImage>
    <InstallTo>
    <DiskID>0</DiskID>
    <PartitionID>1</PartitionID>
    </InstallTo>
    </ImageSelection>
    </WindowsDeploymentServices>
    <DiskConfiguration>
    <WillShowUI>OnError</WillShowUI>
    <Disk>
    <CreatePartitions>
    <CreatePartition>
    <Order>1</Order>
    <Type>Primary</Type>
    <Extend>true</Extend>
    </CreatePartition>
    </CreatePartitions>
    <ModifyPartitions>
    <ModifyPartition>
    <Active>true</Active>
    <Extend>false</Extend>
    <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>
    </component>
    <component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
    <SetupUILanguage>
    <WillShowUI>OnError</WillShowUI>
    <UILanguage>en-US</UILanguage>
    </SetupUILanguage>
    <UILanguage>en-US</UILanguage>
    </component>
    </settings>
    </unattend>


    Image OOBE Unattend
    :

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <servicing></servicing>
    <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">
    <CopyProfile>true</CopyProfile>
    <TimeZone>GMT Standard Time</TimeZone>
    <ShowWindowsLive>false</ShowWindowsLive>
    </component>
    <component name="Microsoft-Windows-IE-InternetExplorer" 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">
    <CompanyName>School</CompanyName>
    <PlaySound>false</PlaySound>
    <Home_Page>http://intranet</Home_Page>
    </component>
    <component name="Networking-MPSSVC-Svc" 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">
    <DomainProfile_EnableFirewall>false</DomainProfile_EnableFirewall>
    <PrivateProfile_EnableFirewall>false</PrivateProfile_EnableFirewall>
    <PublicProfile_EnableFirewall>false</PublicProfile_EnableFirewall>
    </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">
    <InputLocale>en-gb</InputLocale>
    <SystemLocale>en-gb</SystemLocale>
    <UILanguage>en-gb</UILanguage>
    <UserLocale>en-gb</UserLocale>
    </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>false</PlainText>
    </Password>
    <Enabled>true</Enabled>
    <LogonCount>1</LogonCount>
    <Username>administrator</Username>
    </AutoLogon>
    <FirstLogonCommands>
    <SynchronousCommand wcm:action="add">
    <CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ipk key</CommandLine>
    <Order>2</Order>
    <RequiresUserInput>false</RequiresUserInput>
    </SynchronousCommand>
    <SynchronousCommand wcm:action="add">
    <CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ato</CommandLine>
    <Order>3</Order>
    <RequiresUserInput>false</RequiresUserInput>
    </SynchronousCommand>
    <SynchronousCommand wcm:action="add">
    <CommandLine>C:\Windows\System32\SysPrep\JoinDomai n\JoinDom.bat</CommandLine>
    <Order>1</Order>
    </SynchronousCommand>
    </FirstLogonCommands>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <NetworkLocation>Home</NetworkLocation>
    <ProtectYourPC>3</ProtectYourPC>
    </OOBE>
    <UserAccounts>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>password</Value>
    <PlainText>false</PlainText>
    </Password>
    <Description>IT Department</Description>
    <DisplayName>itdepartment</DisplayName>
    <Group>Administrators</Group>
    <Name>itdepartment</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    <RegisteredOrganization>School</RegisteredOrganization>
    <RegisteredOwner>IT Department</RegisteredOwner>
    </component>
    </settings>
    <cpifflineImage cpi:source="catalog://ijedi/e$sources/install_windows 7 enterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

  15. #14

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,658
    Thank Post
    858
    Thanked 646 Times in 429 Posts
    Rep Power
    498
    You have this at the end of your WDS Unattend:

    Code:
    <component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">
    <SetupUILanguage>
    <WillShowUI>OnError</WillShowUI> 
    <UILanguage>en-US</UILanguage> 
    </SetupUILanguage>
    <UILanguage>en-US</UILanguage> 
    </component>
    try changing it to this..

    Code:
    <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>
                </SetupUILanguage>
                <InputLocale>en-gb</InputLocale>
                <SystemLocale>en-gb</SystemLocale>
                <UILanguage>en-gb</UILanguage>
                <UILanguageFallback>en-gb</UILanguageFallback>
                <UserLocale>en-gb</UserLocale>
            </component>]
    Also, I have it right at the start of the file... (attached)
    Unattend.rar

  16. #15

    Join Date
    Apr 2008
    Posts
    405
    Thank Post
    22
    Thanked 13 Times in 10 Posts
    Rep Power
    15
    Thanks for the reply, I've seen a couple with it at the start and at the end. The odd (and annoying) thing is, is that it worked fine up until recently. I'll give your way a shot and get back to you.

    Quick thought, I thought that the language options for the WDS unattend all had to be en-US?

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

Similar Threads

  1. WDS or MDT & Deploying W7
    By djh in forum Windows 7
    Replies: 20
    Last Post: 15th March 2010, 12:21 PM
  2. file missing or corrupt after WDS deployment
    By goodhead in forum Windows
    Replies: 4
    Last Post: 6th November 2009, 07:47 PM
  3. Replies: 5
    Last Post: 3rd September 2009, 10:15 PM
  4. WDS install wants a non-existent file
    By Ric_ in forum Windows
    Replies: 5
    Last Post: 13th October 2008, 05:39 PM
  5. Vista Unattend File
    By jkuzo in forum Windows Vista
    Replies: 1
    Last Post: 3rd April 2008, 07:04 PM

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
  •