diff --git a/autounattend.xml b/autounattend.xml new file mode 100644 index 0000000..2abaca8 --- /dev/null +++ b/autounattend.xml @@ -0,0 +1,224 @@ + + + + + + + en-US + + 0407:00000407 + en-US + en-US + en-US + en-US + + + + + 0 + true + + + + 1 + Primary + 300 + + + + 2 + EFI + 100 + + + + 3 + MSR + 128 + + + + 4 + Primary + true + + + + + + 1 + 1 + + NTFS + DE94BBA4-06D1-4D40-A16A-BFD50179D6AC + + + + 2 + 2 + + FAT32 + + + + 3 + 3 + + + + 4 + 4 + + C + NTFS + + + + + + + + + /IMAGE/NAME + Windows 10 Pro + + + + 0 + 4 + + false + + + + + + + + Never + + true + ansible + winkekatze + + + + + + false + + + + + 1 + + + + + 0407:00000407 + en-US + en-US + en-US + en-US + + + true + + + 0 + + + winkekatze-PC + W269N-WFGWX-YVC9B-4J6C9-T83GX + + + false + + + 0 + + + + + true + Remote Desktop + all + + + + + + + + + winkekatze + true</PlainText> + </Password> + <Enabled>true</Enabled> + <Username>ansible</Username> + </AutoLogon> + <OOBE> + <HideEULAPage>true</HideEULAPage> + <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> + <HideOnlineAccountScreens>true</HideOnlineAccountScreens> + <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> + <NetworkLocation>Home</NetworkLocation> + <SkipUserOOBE>true</SkipUserOOBE> + <SkipMachineOOBE>true</SkipMachineOOBE> + <ProtectYourPC>1</ProtectYourPC> + </OOBE> + <UserAccounts> + <LocalAccounts> + <LocalAccount wcm:action="add"> + <Password> + <Value>winkekatze</Value> + <PlainText>true</PlainText> + </Password> + <Description>winkekatze</Description> + <DisplayName>ansible</DisplayName> + <Group>Administrators</Group> + <Name>ansible</Name> + </LocalAccount> + </LocalAccounts> + </UserAccounts> + <RegisteredOrganization>winkekatze</RegisteredOrganization> + <RegisteredOwner>winkekatze</RegisteredOwner> + <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> + <FirstLogonCommands> + <SynchronousCommand wcm:action="add"> + <Order>1</Order> + <Description>Password Never Expires</Description> + <RequiresUserInput>false</RequiresUserInput> + <CommandLine>cmd /C wmic useraccount where name="ansible" set PasswordExpires=false</CommandLine> + </SynchronousCommand> + <SynchronousCommand wcm:action="add"> + <Order>2</Order> + <Description>install OpenSSH</Description> + <RequiresUserInput>false</RequiresUserInput> + <CommandLine>powershell -command "Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0"</CommandLine> + </SynchronousCommand> + <SynchronousCommand wcm:action="add"> + <Order>3</Order> + <Description>autostart OpenSSH</Description> + <RequiresUserInput>false</RequiresUserInput> + <CommandLine>powershell -command "Start-Service sshd"</CommandLine> + </SynchronousCommand> + <SynchronousCommand wcm:action="add"> + <Order>4</Order> + <Description>OpenSSH PowerShell as default shell</Description> + <RequiresUserInput>false</RequiresUserInput> + <CommandLine>reg add "HKLM\Software\OpenSSH" /v DefaultShell /t REG_SZ /d "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" /f</CommandLine> + </SynchronousCommand> + </FirstLogonCommands> + <TimeZone>W. Europe Standard Time</TimeZone> + </component> + </settings> +</unattend>