2023-05-25 20:15:12 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<unattend xmlns="urn:schemas-microsoft-com:unattend">
|
|
|
|
<settings pass="windowsPE">
|
|
|
|
<component name="Microsoft-Windows-Setup" processorArchitecture="%arch%" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
|
<UserData>
|
|
|
|
<AcceptEula>true</AcceptEula>
|
|
|
|
<ProductKey>
|
|
|
|
<WillShowUI>OnError</WillShowUI>
|
|
|
|
<Key />
|
|
|
|
</ProductKey>
|
|
|
|
</UserData>
|
|
|
|
<DiskConfiguration>
|
|
|
|
<WillShowUI>OnError</WillShowUI>
|
|
|
|
<Disk>
|
|
|
|
<DiskID>0</DiskID>
|
|
|
|
<WillWipeDisk>false</WillWipeDisk>
|
|
|
|
<ModifyPartitions>
|
|
|
|
</ModifyPartitions>
|
|
|
|
</Disk>
|
|
|
|
</DiskConfiguration>
|
|
|
|
<ComplianceCheck>
|
|
|
|
<DisplayReport>OnError</DisplayReport>
|
|
|
|
</ComplianceCheck>
|
|
|
|
<ImageInstall>
|
|
|
|
<OSImage>
|
|
|
|
<InstallFrom>
|
|
|
|
<MetaData wcm:action="add">
|
|
|
|
<Key>/IMAGE/NAME</Key>
|
|
|
|
<Value>%image_name%</Value>
|
|
|
|
</MetaData>
|
|
|
|
</InstallFrom>
|
|
|
|
<WillShowUI>OnError</WillShowUI>
|
|
|
|
<InstallTo>
|
|
|
|
<DiskID>0</DiskID>
|
2023-05-28 00:52:48 +08:00
|
|
|
<PartitionID>%installto_partitionid%</PartitionID>
|
2023-05-25 20:15:12 +08:00
|
|
|
</InstallTo>
|
|
|
|
</OSImage>
|
|
|
|
</ImageInstall>
|
|
|
|
<RunSynchronous>
|
|
|
|
<RunSynchronousCommand wcm:action="add">
|
|
|
|
<Order>1</Order>
|
|
|
|
<Path>reg add HKLM\System\Setup\LabConfig /v BypassTPMCheck /t reg_dword /d 0x00000001 /f</Path>
|
|
|
|
</RunSynchronousCommand>
|
|
|
|
<RunSynchronousCommand wcm:action="add">
|
|
|
|
<Order>2</Order>
|
|
|
|
<Path>reg add HKLM\System\Setup\LabConfig /v BypassSecureBootCheck /t reg_dword /d 0x00000001 /f</Path>
|
|
|
|
</RunSynchronousCommand>
|
|
|
|
<RunSynchronousCommand wcm:action="add">
|
|
|
|
<Order>3</Order>
|
|
|
|
<Path>reg add HKLM\System\Setup\LabConfig /v BypassRAMCheck /t reg_dword /d 0x00000001 /f</Path>
|
|
|
|
</RunSynchronousCommand>
|
|
|
|
<RunSynchronousCommand wcm:action="add">
|
|
|
|
<Order>4</Order>
|
|
|
|
<Path>reg add HKLM\System\Setup\LabConfig /v BypassStorageCheck /t reg_dword /d 0x00000001 /f</Path>
|
|
|
|
</RunSynchronousCommand>
|
|
|
|
<RunSynchronousCommand wcm:action="add">
|
|
|
|
<Order>5</Order>
|
|
|
|
<Path>reg add HKLM\System\Setup\LabConfig /v BypassCPUCheck /t reg_dword /d 0x00000001 /f</Path>
|
|
|
|
</RunSynchronousCommand>
|
|
|
|
</RunSynchronous>
|
|
|
|
</component>
|
|
|
|
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="%arch%" 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>%locale%</InputLocale>
|
|
|
|
<SystemLocale>%locale%</SystemLocale>
|
|
|
|
<UILanguage>%locale%</UILanguage>
|
|
|
|
<UserLocale>%locale%</UserLocale>
|
|
|
|
</component>
|
|
|
|
<component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="%arch%" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
|
<DriverPaths>
|
|
|
|
<PathAndCredentials wcm:action="add" wcm:keyValue="1">
|
2023-07-03 13:51:59 +08:00
|
|
|
<Path>X:\drivers</Path>
|
2023-05-25 20:15:12 +08:00
|
|
|
</PathAndCredentials>
|
|
|
|
</DriverPaths>
|
|
|
|
</component>
|
|
|
|
</settings>
|
|
|
|
<settings pass="oobeSystem">
|
|
|
|
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="%arch%" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
|
<UserAccounts>
|
|
|
|
<AdministratorPassword>
|
|
|
|
<Value>123@@@</Value>
|
|
|
|
<PlainText>true</PlainText>
|
|
|
|
</AdministratorPassword>
|
|
|
|
</UserAccounts>
|
|
|
|
<OOBE>
|
|
|
|
<HideEULAPage>true</HideEULAPage>
|
|
|
|
<ProtectYourPC>3</ProtectYourPC>
|
|
|
|
<SkipMachineOOBE>true</SkipMachineOOBE>
|
|
|
|
<SkipUserOOBE>true</SkipUserOOBE>
|
|
|
|
</OOBE>
|
|
|
|
<TimeZone>China Standard Time</TimeZone>
|
|
|
|
</component>
|
|
|
|
</settings>
|
|
|
|
<settings pass="specialize">
|
|
|
|
<component name="Microsoft-Windows-Deployment" processorArchitecture="%arch%" 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">
|
|
|
|
<Path>net user Administrator /active:yes</Path>
|
|
|
|
<Order>1</Order>
|
|
|
|
</RunSynchronousCommand>
|
|
|
|
<RunSynchronousCommand wcm:action="add">
|
|
|
|
<Order>2</Order>
|
2023-05-28 00:52:48 +08:00
|
|
|
<Path>C:\resize.bat</Path>
|
2023-05-25 20:15:12 +08:00
|
|
|
</RunSynchronousCommand>
|
|
|
|
<RunSynchronousCommand wcm:action="add">
|
|
|
|
<Order>3</Order>
|
2023-05-28 00:52:48 +08:00
|
|
|
<Path>cmd /c "del C:\resize.bat"</Path>
|
2023-05-25 20:15:12 +08:00
|
|
|
</RunSynchronousCommand>
|
|
|
|
</RunSynchronous>
|
|
|
|
</component>
|
|
|
|
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="%arch%" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
|
<fDenyTSConnections>false</fDenyTSConnections>
|
|
|
|
</component>
|
|
|
|
<component name="Networking-MPSSVC-Svc" processorArchitecture="%arch%" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
|
<FirewallGroups>
|
|
|
|
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
|
|
|
<Profile>all</Profile>
|
|
|
|
<Group>@FirewallAPI.dll,-28752</Group>
|
|
|
|
<Active>true</Active>
|
|
|
|
</FirewallGroup>
|
|
|
|
</FirewallGroups>
|
|
|
|
</component>
|
|
|
|
<component name="Microsoft-Windows-powercpl" processorArchitecture="%arch%" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
|
<PreferredPlan>8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c</PreferredPlan>
|
|
|
|
</component>
|
|
|
|
</settings>
|
|
|
|
</unattend>
|