Skip to content

Commit

Permalink
Added default language XML tags and a local account for Windows 10/11.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanbach committed Nov 28, 2023
1 parent ca77935 commit 141f736
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions windows/http/Autounattend.xml.uefi.template
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@
</component>
</settings>
<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>en-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</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">
<VisualEffects>
<FontSmoothing>ClearType</FontSmoothing>
Expand All @@ -92,19 +98,29 @@
<HideLocalAccountScreen>true</HideLocalAccountScreen>
-->
</OOBE>

<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell -NoLogo -NonInteractive -ExecutionPolicy RemoteSigned -Command A:\logon.ps1 </CommandLine>
<Order>1</Order>
</SynchronousCommand>
</FirstLogonCommands>

<UserAccounts>
<AdministratorPassword>
<Value>Passw0rd</Value>
<PlainText>true</PlainText>
</AdministratorPassword>
<!--<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>Passw0rd</Value>
<PlainText>true</PlainText>
</Password>
<Description>Packer Administrator</Description>
<DisplayName>defaultuser</DisplayName>
<Group>Administrators</Group>
<Name>defaultuser</Name>
</LocalAccount>
</LocalAccounts>-->
</UserAccounts>
<AutoLogon>
<Password>
Expand Down

0 comments on commit 141f736

Please sign in to comment.