[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2992
  • Last Modified:

Sysprep answer file with regional, currency and keyboard layout option

Hi,

Could someone help me with my answer file for a Windows 7 SP1 x64 Professional.
I'm unsure that this below is correct and i also need some extra options.
When the answer file is done, i'm going to use a program called Universal Image Utility.
I have taken the answer file from this tread:
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/Windows_7/Q_24635624.html

Things the answer file also need to have:
1. MAK key build in.
2. Option for user to choose "Country or regional", "time and currency" and "keyboard layouts" themself. (The windows gui language is only english)



<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
        <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">
            <Reseal>
                <Mode>OOBE</Mode>
            </Reseal>
        </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">
            <OOBE>
                <ProtectYourPC>1</ProtectYourPC>
                <NetworkLocation>Work</NetworkLocation>
                <HideEULAPage>true</HideEULAPage>
            </OOBE>
            <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value>PUT IN HERE</Value>
                            <PlainText>false</PlainText>
                        </Password>
                        <Description>ADMIN USER</Description>
                        <DisplayName>Administrator</DisplayName>
                        <Group>Administrators</Group>
                        <Name>Administrator</Name>
                    </LocalAccount>
                </LocalAccounts>
                <AdministratorPassword>
                    <Value>PUT IN HERE</Value>
                    <PlainText>false</PlainText>
                </AdministratorPassword>
            </UserAccounts>
            <OEMInformation>
                <Manufacturer>HP</Manufacturer>
                <HelpCustomized>false</HelpCustomized>
                <SupportHours>8:00 - 16:00</SupportHours>
                <SupportPhone>PUT IN HERE</SupportPhone>
                <SupportURL>PUT IN HERE</SupportURL>
            </OEMInformation>
        </component>
        <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-us</InputLocale>
            <SystemLocale>en-us</SystemLocale>
            <UILanguage>en-us</UILanguage>
            <UILanguageFallback>en-us</UILanguageFallback>
            <UserLocale>en-us</UserLocale>
        </component>
    </settings>
</unattend>
0
Hede1
Asked:
Hede1
  • 2
  • 2
1 Solution
 
teomcamCommented:
Hi,

If I were you I would do even better by customizing the profile then sysprep it. With that way you can create a proper master image. If it's suits to you please follow the guide below and check the sysprep file that I have attached. Note: Youc annot use the sysprep file that I have attached as it's according to media that I have used so you must download WAIK and use your own disc. But rest of setting can be the same not a problem at all. Ofcourse you can customize where the datas available :)
Other important reminder for you is using MAK key! If you have more than 25 computers and if you have DC running Win 2008 you can use KMS server which will make your life easier. With that way you will not have to worry or input any serial number into OS nor sysprep file.
1-Download the WAIK (Windows Automated Installation Kit) and installed (Free) On different computer, preferably your tech computer.
2-Install  your laptop/desktop and  first, activate Administrator account (as default its disabled-Right click on Computer icon and manage, local users and groups) and remove the initial admin account the one that you have essentially created at the end of the setup! Now you logged in Administrator account, and install other softwares that you need. Customize desktop, gadgets and other softwares (Office especially-at first run it asking update settings which user will need administrator credentials, its better to do it know so no user will be asked this question)
3-Now go back to other computer and create a folder under C: and name it (say WAIK) and copy the Install.vim and Install_Windows 7.clg files which located under sources to the WAIK folder you just created and run the WAIK. You do not need rest of CD components!!!
4-After finish preparation you will create an answer file (please watch the tutorial how to do this http://technet.microsoft.com/en-us/windows/ff657745.aspx) Please use your answer file name as myunattend as I prepared the last command according to that. Most important part here is Copy Profile command which is under Microsoft-Windows-Shell-Setup (right click and Specialize) and Copy profile must be TRUE.
5-copy that answer file under the Windows\System32\Sysprep\
6-Now you look your desktop and make sure everything customized as you wish and type the following command via cmd!! (Not via GUI)
CD \Windows\System32\Sysprep  (Enter) then
sysprep.exe /oobe /generalize /unattend:myunattend.xml  (Enter)


Some programs such as Office requires updating the default profile. Users don't have local admin rights can use the office or similar programs without your personal attendance at the first run! If you don't take this step I guarantee you will visit every each of the machine for the users who don't have local admin rights. PLUS, doing sysprep does not customize the default profile, unless you use the guide above. If you wanna create a proper master image please follow my guide above.
myunattend.xml
0
 
Hede1Author Commented:
The solution i'm asking for, was to get the attached picture when installing windows 7, but i have not got it to work with all the test i have done, so my solution has been to set it in GPO.
Not a bad solution, but i could have been nice to get it set in the installation.

Windows 7 language settings
0
 
Hede1Author Commented:
Set all settings trough GPO.
0
 
teomcamCommented:
The steps that I have provided was gonna give you the attached screen anyway. Thanks anyway.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now