New
#210
OK geeks, thanks for the feedback. Now, it's Quest time :)
I modified the answer file shared in yesterday's session a bit, please remove it if you downloaded it.
I made a new sample answer file, copy it from below and save as unattended.xml or download it (unattend.zip) and extract it. When done, let's practice :)
I ask a few questions, try to figure out correct answers. You can open sample unattend.xml in Windows SIM, WordPad, Notepad or Code Writer, to name a few apps. Code Writer is included in Enterprise edition, can be downloaded from Windows Store for other editions: https://www.microsoft.com/en-us/stor...r/9wzdncrfhzdt
The modified answer file:
Code:<?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <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>040b:0000040b</InputLocale> <SystemLocale>en-GB</SystemLocale> <UILanguage>en-GB</UILanguage> <UILanguageFallback>en-GB</UILanguageFallback> <UserLocale>en-GB</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"> <OOBE> <HideEULAPage>true</HideEULAPage> <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> <HideOnlineAccountScreens>true</HideOnlineAccountScreens> <ProtectYourPC>3</ProtectYourPC> <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo> </OOBE> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>UABhAHMAcwB3AG8AcgBkADEAMgAzAFAAYQBzAHMAdwBvAHIAZAA=</Value> <PlainText>false</PlainText> </Password> <Description>Local Admin Account</Description> <DisplayName>Admin</DisplayName> <Group>Administrators</Group> <Name>Admin</Name> </LocalAccount> <LocalAccount wcm:action="add"> <Password> <Value>UABhAHMAcwB3AG8AcgBkADQANQA2AFAAYQBzAHMAdwBvAHIAZAA=</Value> <PlainText>false</PlainText> </Password> <Description>Everyday use standard account</Description> <DisplayName>Kari</DisplayName> <Group>Users</Group> <Name>Kari</Name> </LocalAccount> <LocalAccount wcm:action="add"> <Password> <Value>UABhAHMAcwB3AG8AcgBkADcAOAA5AFAAYQBzAHMAdwBvAHIAZAA=</Value> <PlainText>false</PlainText> </Password> <Description>Visitor account with limited rights</Description> <DisplayName>Visitor</DisplayName> <Group>Guests</Group> <Name>Visitor</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <RegisteredOrganization>Ten Forums</RegisteredOrganization> <RegisteredOwner>Kari</RegisteredOwner> <TimeZone>W. Europe Standard Time</TimeZone> </component> </settings> <settings pass="specialize"> <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"> <OEMInformation> <Logo>C:\Windows\System32\oemlogo.bmp</Logo> <Manufacturer>Ten Forums</Manufacturer> <SupportHours>24/7</SupportHours> <SupportPhone>+44 123 456 789</SupportPhone> <SupportURL>https://www.tenforums.com</SupportURL> </OEMInformation> <CopyProfile>true</CopyProfile> <OEMName>Ten Forums</OEMName> <RegisteredOrganization>Ten Forums</RegisteredOrganization> <RegisteredOwner>Kari</RegisteredOwner> <TimeZone>W. Europe Standard Time</TimeZone> </component> </settings> <cpi:offlineImage cpi:source="catalog://agm-w10lap01/users/kari/onedrive/public/tf iso workshop assets/install_windows 10 pro.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
This answer file is with following details:
- Install UK English Windows 10 Pro x64
- Default Input Language (keyboard) is Finnish
- Location is United Kingdom
- Default time zone is CET (Western European Standard Time)
- Registered organization is Ten Forums
- Registered owner is Kari
- Create local admin user Admin with password Password123
- Create local standard user Kari with password Password456
- Create local guest account Visitor with password Password789
- How would you change username and display name of user Kari to be your name? What else should you change to match you instead of me?
- User in question 1 above, how would you change account type from standard to administrator?
- How would you remove user Visitor?
- How would you change CET time zone and default input language Finnish if this same UK English W10 PRO was installed and intended to be used by someone in UK?
- As question 4 but what if the intended user would be located in Australia? As there are several time zones in Australia, let's say in Sydney. (This is a trick question!)
- What if the language version is US English and you should change location and default input language to be US / US English?
- How would you change the support phone number and website to those of yours?
Try these first, more advanced extra brownie point earning questions later :)
BTW, these sites might help you to answer at least some of the above questions:
- https://msdn.microsoft.com/en-us/win...language-packs
- https://msdn.microsoft.com/en-us/lib...edded.11).aspx
The point of this "Quest" is to show how easy it is to re-use an answer file, modify it to suit your needs.
Kari
Elementary mistake on my part - I was using choco in a command box, not a powershell box.
The popup was great but not I could not select text to get it to a file.
The simple choco list >c:\apps.txt did the job, and I have imported to excel for easy reading.
Thanks for the pointer to my solution.
I think I managed to do all of above ok, but have a couple of questions about password for user accounts.
<Password>
<Value>UABhAHMAcwB3AG8AcgBkADcAOAA5AFAAYQBzAHMAdwBvAHIAZAA=</Value>
Is that just some random typing or an encrypted password?
I assume I enter nothing if I want no passwword?