9 Replies Latest reply on Jan 25, 2013 5:38 AM by Frank Wils

    UK - english Sysprep

    Rookie

      Hi guys Currently with Win 7 deployment with Landesk the language and location always reverts to United States.

       

      The Gold Image is definately all set as United Kingdom -UK and Us has been removed however after deployment it always seems to revert to English US  / United States Location.

       

      I tried to play around with the Sysprep.XML file but still get the same issues

       

      below is a extract copy of my latest effort which has also failed.

       

      I have tried

       

      en-GB

      en-UK

      and even 0809 but still no luck am i placing this in the correct location?

       

       

       

       

      <?xml version="1.0" encoding="utf-8"?>

      <unattend>

        <settings pass="auditSystem">

          <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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>0809:00000809</InputLocale>

                  <SystemLocale>en-GB</SystemLocale>

                  <UILanguage>en-GB</UILanguage>

                  <UILanguageFallback>en-GB</UILanguageFallback>

                  <UserLocale>en-GB</UserLocale>

                  <DriverPaths>

              <PathAndCredentials wcm:keyValue="1" wcm:action="add">

                <Path>c:\windows\LDDriverStore</Path>

              </PathAndCredentials>

            </DriverPaths>

          </component>

          <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x64">

            <UserAccounts>

              <AdministratorPassword>

      .....

        • 1. Re: UK - english Sysprep
          Frank Wils ITSMMVPGroup

          You need to set this in the OOBE settings pass in your unattend file.

           

          Frank

          • 2. Re: UK - english Sysprep
            Rookie

            Thanks Frank

             

            do you know whether it should be en-UK or eng-GB or 0809:00000809 ?

            • 3. Re: UK - english Sysprep
              Frank Wils ITSMMVPGroup

              That should be en-GB in your case.

               

              Frank

              • 4. Re: UK - english Sysprep
                Rookie

                Hi tried the following no luck.

                 

                by placing the

                  <settings pass="oobeSystem">

                    <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">

                      <OOBE>

                      <InputLocale>0809:00000809</InputLocale>

                            <SystemLocale>en-GB</SystemLocale>

                            <UILanguage>en-GB</UILanguage>

                            <UILanguageFallback>en-GB</UILanguageFallback>

                            <UserLocale>en-GB</UserLocale>

                        <HideEULAPage>true</HideEULAPage>

                        <ProtectYourPC>1</ProtectYourPC>

                        <SkipMachineOOBE>true</SkipMachineOOBE>

                        <SkipUserOOBE>true</SkipUserOOBE>

                      </OOBE>

                 

                I receive errors that OOBE cannot be read and windows has to be reinstalled.

                • 5. Re: UK - english Sysprep
                  Frank Wils ITSMMVPGroup

                  Can you open the completed XML in Internet Explorer to verify the syntax? Sometimes a hidden spacecor tab can make the XML invalid. Otherwise please post your full XML, minus passwords, to check it here.

                   

                  Frank

                  • 6. Re: UK - english Sysprep
                    Rookie

                    following is my unattend.xml

                     

                    <?xml version="1.0" encoding="utf-8"?>

                    <unattend>

                      <settings pass="auditSystem">

                        <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">

                                      <DriverPaths>

                            <PathAndCredentials wcm:keyValue="1" wcm:action="add">

                              <Path>c:\windows\LDDriverStore</Path>

                            </PathAndCredentials>

                          </DriverPaths>

                        </component>

                        <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">

                          <UserAccounts>

                            <AdministratorPassword>

                              <PlainText>true</PlainText>

                              <Value>********</Value>

                            </AdministratorPassword>

                          </UserAccounts>

                          <AutoLogon>

                            <Enabled>true</Enabled>

                            <Username>Administrator</Username>

                            <Password>

                              <PlainText>true</PlainText>

                              <Value>********</Value>

                            </Password>

                            <LogonCount>1</LogonCount>

                          </AutoLogon>

                        </component>

                      </settings>

                      <settings pass="auditUser">

                        <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>c:\windows\System32\sysprep\sysprep.exe /oobe /generalize /reboot </Path>

                            </RunSynchronousCommand>

                          </RunSynchronous>

                        </component>

                      </settings>

                      <settings pass="generalize">

                        <component name="Microsoft-Windows-PnpSysprep" 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">

                          <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>

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

                                </SetupUILanguage>

                                <InputLocale>0809:00000809</InputLocale>

                                <SystemLocale>en-GB</SystemLocale>

                                <UILanguage>en-US</UILanguage>

                                <UserLocale>en-GB</UserLocale>

                                <UILanguageFallback>en-GB</UILanguageFallback>

                            </component>

                      </settings>

                      <settings pass="oobeSystem">

                        <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">

                          <OOBE>

                            <HideEULAPage>true</HideEULAPage>

                            <ProtectYourPC>1</ProtectYourPC>

                            <SkipMachineOOBE>true</SkipMachineOOBE>

                            <SkipUserOOBE>true</SkipUserOOBE>

                          </OOBE>

                          <ProductKey>*************</ProductKey>

                          <RegisteredOwner>COMPANY</RegisteredOwner>

                          <RegisteredOrganization>COMPANY</RegisteredOrganization>

                          <TimeZone>GMT Standard Time</TimeZone>

                          <UserAccounts>

                            <AdministratorPassword>

                              <PlainText>true</PlainText>

                              <Value>********</Value>

                            </AdministratorPassword>

                          </UserAccounts>

                          <AutoLogon>

                            <Enabled>true</Enabled>

                            <Username>Administrator</Username>

                            <Password>

                              <PlainText>true</PlainText>

                              <Value>**********</Value>

                            </Password>

                            <LogonCount>1</LogonCount>

                          </AutoLogon>

                          <FirstLogonCommands>

                            <SynchronousCommand>

                              <CommandLine>*********\JoinDomain.vbs</CommandLine>

                              <Description></Description>

                              <Order>1</Order>

                            </SynchronousCommand>

                            <SynchronousCommand>

                              <CommandLine>c:\ldsleep.exe 30</CommandLine>

                              <Description></Description>

                              <Order>2</Order>

                            </SynchronousCommand>

                            <SynchronousCommand>

                              <CommandLine>cmd /q /c del /q c:\ldsleep.exe</CommandLine>

                              <Description></Description>

                              <Order>3</Order>

                            </SynchronousCommand>

                            <SynchronousCommand>

                              <CommandLine>cmd /q /c del /q c:\unattend.xml</CommandLine>

                              <Description></Description>

                              <Order>4</Order>

                            </SynchronousCommand>

                            <SynchronousCommand>

                              <CommandLine>net use \\CORE\packages\LANDesk *** /u:DOMAIN\lnimage</CommandLine>

                              <Description></Description>

                              <Order>5</Order>

                            </SynchronousCommand>

                            <SynchronousCommand>

                              <CommandLine>cmd /q /c \\CORE\packages\LANDesk\wscfg32.exe /F /L /STATUS /NOREBOOT</CommandLine>

                              <Description></Description>

                              <Order>6</Order>

                            </SynchronousCommand>

                            <SynchronousCommand>

                              <CommandLine>cmd /q /c del /q c:\ldiscan.cfg</CommandLine>

                              <Description></Description>

                              <Order>7</Order>

                            </SynchronousCommand>

                          </FirstLogonCommands>

                        </component>

                      </settings>

                      <settings pass="specialize">

                        <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">

                          <ComputerName>%COMPUTERNAME%</ComputerName>

                              <CopyProfile>True</CopyProfile>

                        </component>

                        <component name="Microsoft-Windows-UnattendedJoin" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">

                    f    </component>

                      </settings>

                    </unattend>

                    • 7. Re: UK - english Sysprep
                      Rookie

                      Have uploaded now Frank thanks.

                      • 8. Re: UK - english Sysprep
                        Frank Wils ITSMMVPGroup

                        Difficult to check on Ipad :( If nobody else can check before, i will get back to you tomorrow when i am at my laptop again.

                         

                        Frank

                        • 9. Re: UK - english Sysprep
                          Frank Wils ITSMMVPGroup

                          Ok, there might still be a lot of tweaking and tuning to be done on your deployment and this XML, but I moved the language settings from Generalize to OOBESYSTEM. That should work:

                           

                          <?xml version="1.0" encoding="utf-8"?>

                          <unattend>

                            <settings pass="auditSystem">

                              <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">

                                            <DriverPaths>

                                  <PathAndCredentials wcm:keyValue="1" wcm:action="add">

                                    <Path>c:\windows\LDDriverStore</Path>

                                  </PathAndCredentials>

                                </DriverPaths>

                              </component>

                              <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">

                                <UserAccounts>

                                  <AdministratorPassword>

                                    <PlainText>true</PlainText>

                                    <Value>********</Value>

                                  </AdministratorPassword>

                                </UserAccounts>

                                <AutoLogon>

                                  <Enabled>true</Enabled>

                                  <Username>Administrator</Username>

                                  <Password>

                                    <PlainText>true</PlainText>

                                    <Value>********</Value>

                                  </Password>

                                  <LogonCount>1</LogonCount>

                                </AutoLogon>

                              </component>

                            </settings>

                            <settings pass="auditUser">

                              <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>c:\windows\System32\sysprep\sysprep.exe /oobe /generalize /reboot </Path>

                                  </RunSynchronousCommand>

                                </RunSynchronous>

                              </component>

                            </settings>

                            <settings pass="generalize">

                              <component name="Microsoft-Windows-PnpSysprep" 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">

                                <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>

                              </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" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">

                                <OOBE>

                                  <HideEULAPage>true</HideEULAPage>

                                  <ProtectYourPC>1</ProtectYourPC>

                                  <SkipMachineOOBE>true</SkipMachineOOBE>

                                  <SkipUserOOBE>true</SkipUserOOBE>

                                </OOBE>

                                <ProductKey>*************</ProductKey>

                                <RegisteredOwner>COMPANY</RegisteredOwner>

                                <RegisteredOrganization>COMPANY</RegisteredOrganization>

                                <TimeZone>GMT Standard Time</TimeZone>

                                <UserAccounts>

                                  <AdministratorPassword>

                                    <PlainText>true</PlainText>

                                    <Value>********</Value>

                                  </AdministratorPassword>

                                </UserAccounts>

                                <AutoLogon>

                                  <Enabled>true</Enabled>

                                  <Username>Administrator</Username>

                                  <Password>

                                    <PlainText>true</PlainText>

                                    <Value>**********</Value>

                                  </Password>

                                  <LogonCount>1</LogonCount>

                                </AutoLogon>

                                <FirstLogonCommands>

                                  <SynchronousCommand>

                                    <CommandLine>*********\JoinDomain.vbs</CommandLine>

                                    <Description></Description>

                                    <Order>1</Order>

                                  </SynchronousCommand>

                                  <SynchronousCommand>

                                    <CommandLine>c:\ldsleep.exe 30</CommandLine>

                                    <Description></Description>

                                    <Order>2</Order>

                                  </SynchronousCommand>

                                  <SynchronousCommand>

                                    <CommandLine>cmd /q /c del /q c:\ldsleep.exe</CommandLine>

                                    <Description></Description>

                                    <Order>3</Order>

                                  </SynchronousCommand>

                                  <SynchronousCommand>

                                    <CommandLine>cmd /q /c del /q c:\unattend.xml</CommandLine>

                                    <Description></Description>

                                    <Order>4</Order>

                                  </SynchronousCommand>

                                  <SynchronousCommand>

                                    <CommandLine>net use \\CORE\packages\LANDesk *** /u:DOMAIN\lnimage</CommandLine>

                                    <Description></Description>

                                    <Order>5</Order>

                                  </SynchronousCommand>

                                  <SynchronousCommand>

                                    <CommandLine>cmd /q /c \\CORE\packages\LANDesk\wscfg32.exe /F /L /STATUS /NOREBOOT</CommandLine>

                                    <Description></Description>

                                    <Order>6</Order>

                                  </SynchronousCommand>

                                  <SynchronousCommand>

                                    <CommandLine>cmd /q /c del /q c:\ldiscan.cfg</CommandLine>

                                    <Description></Description>

                                    <Order>7</Order>

                                  </SynchronousCommand>

                                </FirstLogonCommands>

                              </component>

                            </settings>

                            <settings pass="specialize">

                              <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">

                                <ComputerName>%COMPUTERNAME%</ComputerName>

                                    <CopyProfile>True</CopyProfile>

                              </component>

                              <component name="Microsoft-Windows-UnattendedJoin" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">

                          f    </component>

                            </settings>

                          </unattend>