diff --git a/windows/installer/autounattend/autounattend.xml b/windows/installer/autounattend/autounattend.xml index 33cd51b..38bf9f9 100644 --- a/windows/installer/autounattend/autounattend.xml +++ b/windows/installer/autounattend/autounattend.xml @@ -84,14 +84,41 @@ + - silvermetal + sm-bootstrap Administrators - SilverMetal - open sesametrue</PlainText></Password> + <DisplayName>SilverOS Bootstrap</DisplayName> + <Password><Value>bootstrap-OneTime!</Value><PlainText>true</PlainText></Password> </LocalAccount> </LocalAccounts> </UserAccounts> + <!-- + AutoLogon: logs in as sm-bootstrap exactly once so that FirstLogonCommands + can launch the Welcome wizard. After the wizard completes successfully, + ApplyService removes the AutoAdminLogon registry values and deletes + sm-bootstrap, so the one-time session cannot be re-entered. + --> + <AutoLogon> + <Enabled>true</Enabled> + <LogonCount>1</LogonCount> + <Username>sm-bootstrap</Username> + <Password><Value>bootstrap-OneTime!</Value><PlainText>true</PlainText></Password> + </AutoLogon> + <FirstLogonCommands> + <SynchronousCommand wcm:action="add" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> + <Order>1</Order> + <CommandLine>cmd /c "C:\Program Files\SilverOS\Welcome\SilverOS.Welcome.App.exe"</CommandLine> + <Description>SilverOS Welcome</Description> + </SynchronousCommand> + </FirstLogonCommands> <RegisteredOwner>SilverMetal</RegisteredOwner> <RegisteredOrganization>SilverLABS</RegisteredOrganization> <!--