en-US en-US en-US en-US en-US D:\amd64\w11 E:\amd64\w11 F:\amd64\w11 G:\amd64\w11 1 cmd.exe /c reg add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f 2 cmd.exe /c reg add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f true /IMAGE/NAME Windows 11 Pro 0 3 OnError true Administrator Lab W269N-WFGWX-YVC9B-4J6C9-T83GX OnError 0 true 1 EFI 100 2 MSR 16 3 Primary true 1 1 FAT32 2 2 3 3 NTFS C WINDOWS11-LITE UTC true 0 en-US en-US en-US en-US en-US true true true true Work 3 true true Packer1234! true</PlainText> </AdministratorPassword> </UserAccounts> <AutoLogon> <Password> <Value>Packer1234!</Value> <PlainText>true</PlainText> </Password> <Enabled>true</Enabled> <LogonCount>8</LogonCount> <Username>Administrator</Username> </AutoLogon> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <CommandLine>cmd.exe /c net user administrator /active:yes</CommandLine> </SynchronousCommand> <!-- Allow OOBE to complete without a network connection (Windows 11 22H2+) --> <SynchronousCommand wcm:action="add"> <Order>2</Order> <CommandLine>cmd.exe /c reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</CommandLine> </SynchronousCommand> <!-- WinRM setup so Packer provisioners can connect --> <SynchronousCommand wcm:action="add"> <Order>3</Order> <CommandLine>cmd.exe /c winrm quickconfig -q</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>4</Order> <CommandLine>cmd.exe /c winrm set winrm/config/service @{AllowUnencrypted="true"}</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>5</Order> <CommandLine>cmd.exe /c winrm set winrm/config/service/auth @{Basic="true"}</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>6</Order> <CommandLine>cmd.exe /c winrm set winrm/config/winrs @{MaxMemoryPerShellMB="512"}</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>7</Order> <CommandLine>cmd.exe /c netsh advfirewall firewall add rule name="WinRM-HTTP" protocol=TCP dir=in localport=5985 action=allow</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>8</Order> <CommandLine>cmd.exe /c sc config winrm start= auto</CommandLine> </SynchronousCommand> </FirstLogonCommands> </component> </settings> </unattend>