|
<?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>0409:00000409</InputLocale> |
|
<SystemLocale>en-US</SystemLocale> |
|
<UILanguage>en-US</UILanguage> |
|
<UILanguageFallback>en-US</UILanguageFallback> |
|
<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"> |
|
<TimeZone>Central Standard Time</TimeZone> |
|
<OOBE> |
|
<HideEULAPage>true</HideEULAPage> |
|
<HideLocalAccountScreen>true</HideLocalAccountScreen> |
|
<HideOnlineAccountScreens>true</HideOnlineAccountScreens> |
|
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> |
|
<NetworkLocation>Home</NetworkLocation> |
|
<ProtectYourPC>3</ProtectYourPC> |
|
<SkipMachineOOBE>true</SkipMachineOOBE> |
|
<SkipUserOOBE>true</SkipUserOOBE> |
|
</OOBE> |
|
<UserAccounts> |
|
<AdministratorPassword> |
|
<PlainText>true</PlainText> |
|
<Value></Value> |
|
</AdministratorPassword> |
|
<LocalAccounts> |
|
<LocalAccount wcm:action="add"> |
|
<Group>Administrators</Group> |
|
<Name>User</Name> |
|
<Password> |
|
<PlainText>true</PlainText> |
|
<Value>password</Value> |
|
</Password> |
|
</LocalAccount> |
|
</LocalAccounts> |
|
</UserAccounts> |
|
<FirstLogonCommands> |
|
<SynchronousCommand wcm:action="add"> |
|
<Order>1</Order> |
|
<CommandLine>reg add "HKLM\SYSTEM\CurrentControlSet\Control\BitLocker" /v "PreventDeviceEncryption" /t REG_DWORD /d 1 /f</CommandLine> |
|
<Description>Disable BitLocker automatic device encryption</Description> |
|
</SynchronousCommand> |
|
</FirstLogonCommands> |
|
</component> |
|
</settings> |
|
<settings pass="specialize"> |
|
<component name="Microsoft-Windows-Deployment" 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"> |
|
<RunSynchronous> |
|
<RunSynchronousCommand wcm:action="add"> |
|
<Order>1</Order> |
|
<Path>net accounts /maxpwage:unlimited</Path> |
|
<WillReboot>Never</WillReboot> |
|
</RunSynchronousCommand> |
|
<RunSynchronousCommand wcm:action="add"> |
|
<Order>2</Order> |
|
<Path>net user User /active:Yes</Path> |
|
<WillReboot>Never</WillReboot> |
|
</RunSynchronousCommand> |
|
<RunSynchronousCommand wcm:action="add"> |
|
<Order>3</Order> |
|
<Path>net user User /passwordreq:yes</Path> |
|
<WillReboot>Never</WillReboot> |
|
</RunSynchronousCommand> |
|
</RunSynchronous> |
|
</component> |
|
<component name="Microsoft-Windows-Security-SPP-UX" 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"> |
|
<SkipAutoActivation>true</SkipAutoActivation> |
|
</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> |
|
<JoinWorkgroup>WORKGROUP</JoinWorkgroup> |
|
</Identification> |
|
</component> |
|
</settings> |
|
<settings pass="windowsPE"> |
|
<component name="Microsoft-Windows-International-Core-WinPE" 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>0409:00000409</InputLocale> |
|
<SystemLocale>en-US</SystemLocale> |
|
<UILanguage>en-US</UILanguage> |
|
<UILanguageFallback>en-US</UILanguageFallback> |
|
<UserLocale>en-US</UserLocale> |
|
<SetupUILanguage> |
|
<UILanguage>en-US</UILanguage> |
|
</SetupUILanguage> |
|
</component> |
|
<component name="Microsoft-Windows-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"> |
|
<RunSynchronous> |
|
<RunSynchronousCommand wcm:action="add"> |
|
<Order>1</Order> |
|
<Path>reg add "HKLM\SYSTEM\Setup\LabConfig" /v "BypassTPMCheck" /t REG_DWORD /d 1 /f</Path> |
|
<Description>Add BypassTPMCheck</Description> |
|
</RunSynchronousCommand> |
|
<RunSynchronousCommand wcm:action="add"> |
|
<Order>2</Order> |
|
<Path>reg add "HKLM\SYSTEM\Setup\LabConfig" /v "BypassRAMCheck" /t REG_DWORD /d 1 /f</Path> |
|
<Description>Add BypassRAMCheck</Description> |
|
</RunSynchronousCommand> |
|
<RunSynchronousCommand wcm:action="add"> |
|
<Order>3</Order> |
|
<Path>reg add "HKLM\SYSTEM\Setup\LabConfig" /v "BypassSecureBootCheck" /t REG_DWORD /d 1 /f</Path> |
|
<Description>Add BypassSecureBootCheck</Description> |
|
</RunSynchronousCommand> |
|
<RunSynchronousCommand wcm:action="add"> |
|
<Order>4</Order> |
|
<Path>reg add "HKLM\SYSTEM\Setup\LabConfig" /v "BypassCPUCheck" /t REG_DWORD /d 1 /f</Path> |
|
<Description>Add BypassCPUCheck</Description> |
|
</RunSynchronousCommand> |
|
<RunSynchronousCommand wcm:action="add"> |
|
<Order>5</Order> |
|
<Path>reg add "HKLM\SYSTEM\Setup\LabConfig" /v "BypassStorageCheck" /t REG_DWORD /d 1 /f</Path> |
|
<Description>Add BypassStorageCheck</Description> |
|
</RunSynchronousCommand> |
|
</RunSynchronous> |
|
<Diagnostics> |
|
<OptIn>false</OptIn> |
|
</Diagnostics> |
|
<DynamicUpdate> |
|
<Enable>false</Enable> |
|
<WillShowUI>OnError</WillShowUI> |
|
</DynamicUpdate> |
|
<UserData> |
|
<AcceptEula>true</AcceptEula> |
|
<ProductKey> |
|
<Key></Key> |
|
</ProductKey> |
|
</UserData> |
|
</component> |
|
</settings> |
|
</unattend> |
Ah, I see. You can experiment with removing other sections but some may be required in order for autounattend.xml to function. Might use ChatGPT and see what it says on it though. I'm not entirely sure what is mandatory.