Skip to content

Instantly share code, notes, and snippets.

@nicelife90
Created February 26, 2018 19:15
Show Gist options
  • Save nicelife90/eb610f07f145a65e8678832fde2d1220 to your computer and use it in GitHub Desktop.
Save nicelife90/eb610f07f145a65e8678832fde2d1220 to your computer and use it in GitHub Desktop.
Windows 10 unattend
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<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>
<Manufacturer>Addison Électronique</Manufacturer>
<SupportHours>24/7</SupportHours>
<SupportPhone>(Yanick Lafontaine) 514-730-xxxx</SupportPhone>
</OEMInformation>
<CopyProfile>true</CopyProfile>
<ComputerName></ComputerName>
</component>
<component name="Microsoft-Windows-UnattendedJoin" 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">
<Identification>
<Credentials>
<Domain>ae.local</Domain>
<Password>my secret password</Password>
<Username>ylafontaine</Username>
</Credentials>
<JoinDomain>ae.local</JoinDomain>
<UnsecureJoin>false</UnsecureJoin>
</Identification>
</component>
</settings>
<settings pass="oobeSystem">
<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>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<ProtectYourPC>1</ProtectYourPC>
<NetworkLocation>Work</NetworkLocation>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>TABhAGYAeQAxADIAMAA5ADkAMAAwADIAQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>TABhAGYAeQAxADIAMAA5ADkAMAAwADIAUABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Group>Administrateurs</Group>
<Name>addison</Name>
<DisplayName>addison</DisplayName>
<Description>Compte d&apos;aministration général</Description>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
<TimeZone>Eastern Standard Time</TimeZone>
<RegisteredOwner>Addison User</RegisteredOwner>
<RegisteredOrganization>Addison Électronique</RegisteredOrganization>
</component>
<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">
<UILanguage>fr-CA</UILanguage>
<SystemLocale>fr-FR</SystemLocale>
<UserLocale>fr-CA</UserLocale>
<InputLocale>0c0c:00011009</InputLocale>
<UILanguageFallback>fr-FR</UILanguageFallback>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/users/ylafontaine/desktop/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
@wouitmil
Copy link

Great ! Thanks for the share
Don't forget that the password are juste base64 encoded !

@wouitmil
Copy link

Does it works on windows 10 22h2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment