| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231 |
- <?xml version="1.0" encoding="utf-8"?>
- <unattend xmlns="urn:schemas-microsoft-com:unattend"
- xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <settings pass="windowsPE">
- <component name="Microsoft-Windows-International-Core-WinPE"
- processorArchitecture="amd64"
- publicKeyToken="31bf3856ad364e35"
- language="en-US"
- versionScope="nonSxS">
- <SetupUILanguage>
- <UILanguage>en-US</UILanguage>
- </SetupUILanguage>
- <InputLocale>en-US</InputLocale>
- <SystemLocale>en-US</SystemLocale>
- <UILanguage>en-US</UILanguage>
- <UserLocale>en-US</UserLocale>
- </component>
- <component name="Microsoft-Windows-Setup"
- processorArchitecture="amd64"
- publicKeyToken="31bf3856ad364e35"
- language="en-US"
- versionScope="nonSxS">
- <DiskConfiguration>
- <Disk wcm:action="add">
- <DiskID>0</DiskID>
- <WillWipeDisk>true</WillWipeDisk>
- <CreatePartitions>
- <CreatePartition wcm:action="add">
- <Order>1</Order>
- <Type>Primary</Type>
- <Size>500</Size>
- </CreatePartition>
- <CreatePartition wcm:action="add">
- <Order>2</Order>
- <Type>Primary</Type>
- <Extend>true</Extend>
- </CreatePartition>
- </CreatePartitions>
- <ModifyPartitions>
- <ModifyPartition wcm:action="add">
- <Order>1</Order>
- <PartitionID>1</PartitionID>
- <Active>true</Active>
- <Format>NTFS</Format>
- <Label>System Reserved</Label>
- </ModifyPartition>
- <ModifyPartition wcm:action="add">
- <Order>2</Order>
- <PartitionID>2</PartitionID>
- <Format>NTFS</Format>
- <Label>Windows</Label>
- <Letter>C</Letter>
- </ModifyPartition>
- </ModifyPartitions>
- </Disk>
- <WillShowUI>OnError</WillShowUI>
- </DiskConfiguration>
- <DynamicUpdate>
- <Enable>false</Enable>
- <WillShowUI>Never</WillShowUI>
- </DynamicUpdate>
- <ImageInstall>
- <OSImage>
- <InstallFrom>
- <MetaData wcm:action="add">
- <Key>/IMAGE/INDEX</Key>
- <Value>1</Value>
- </MetaData>
- </InstallFrom>
- <InstallTo>
- <DiskID>0</DiskID>
- <PartitionID>2</PartitionID>
- </InstallTo>
- <WillShowUI>OnError</WillShowUI>
- </OSImage>
- </ImageInstall>
- <UserData>
- <AcceptEula>true</AcceptEula>
- <FullName>PCL Lab</FullName>
- <Organization>PCLPoC Lab</Organization>
- <ProductKey>
- <Key>M7XTQ-FN8P6-TTKYV-9D4CC-J462D</Key>
- <WillShowUI>Never</WillShowUI>
- </ProductKey>
- </UserData>
- </component>
- </settings>
- <settings pass="specialize">
- <component name="Microsoft-Windows-Shell-Setup"
- processorArchitecture="amd64"
- publicKeyToken="31bf3856ad364e35"
- language="en-US"
- versionScope="nonSxS">
- <ComputerName>PCL-LTSC</ComputerName>
- <TimeZone>China Standard Time</TimeZone>
- <RegisteredOwner>PCL Lab</RegisteredOwner>
- <RegisteredOrganization>PCLPoC Lab</RegisteredOrganization>
- </component>
- <component name="Microsoft-Windows-Deployment"
- processorArchitecture="amd64"
- publicKeyToken="31bf3856ad364e35"
- language="en-US"
- versionScope="nonSxS">
- <RunSynchronous>
- <RunSynchronousCommand wcm:action="add">
- <Order>1</Order>
- <Description>Disable UAC</Description>
- <Path>cmd /c reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 0 /f</Path>
- </RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
- <Order>2</Order>
- <Description>Disable UAC consent prompt</Description>
- <Path>cmd /c reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f</Path>
- </RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
- <Order>3</Order>
- <Description>Disable firewall</Description>
- <Path>cmd /c netsh advfirewall set allprofiles state off</Path>
- </RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
- <Order>4</Order>
- <Description>Disable SmartScreen</Description>
- <Path>cmd /c reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v SmartScreenEnabled /t REG_SZ /d Off /f</Path>
- </RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
- <Order>5</Order>
- <Description>Disable SmartScreen policy</Description>
- <Path>cmd /c reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v EnableSmartScreen /t REG_DWORD /d 0 /f</Path>
- </RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
- <Order>6</Order>
- <Description>Disable Defender realtime policy</Description>
- <Path>cmd /c reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d 1 /f</Path>
- </RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
- <Order>7</Order>
- <Description>Disable Windows Update</Description>
- <Path>cmd /c reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /t REG_DWORD /d 1 /f</Path>
- </RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
- <Order>8</Order>
- <Description>Disable hibernate</Description>
- <Path>cmd /c powercfg /hibernate off</Path>
- </RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
- <Order>9</Order>
- <Description>High performance power plan</Description>
- <Path>cmd /c powercfg /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c</Path>
- </RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
- <Order>10</Order>
- <Description>Disable monitor and standby timeouts</Description>
- <Path>cmd /c powercfg /change monitor-timeout-ac 0</Path>
- </RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
- <Order>11</Order>
- <Description>Disable standby timeout</Description>
- <Path>cmd /c powercfg /change standby-timeout-ac 0</Path>
- </RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
- <Order>12</Order>
- <Description>Defender exclusions</Description>
- <Path>powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "Add-MpPreference -ExclusionPath 'C:\PCLPoC','C:\Users\lab\Desktop\PCL','C:\Users\Public' -ErrorAction SilentlyContinue"</Path>
- </RunSynchronousCommand>
- </RunSynchronous>
- </component>
- </settings>
- <settings pass="oobeSystem">
- <component name="Microsoft-Windows-International-Core"
- processorArchitecture="amd64"
- publicKeyToken="31bf3856ad364e35"
- language="en-US"
- versionScope="nonSxS">
- <InputLocale>en-US</InputLocale>
- <SystemLocale>en-US</SystemLocale>
- <UILanguage>en-US</UILanguage>
- <UserLocale>en-US</UserLocale>
- </component>
- <component name="Microsoft-Windows-Shell-Setup"
- processorArchitecture="amd64"
- publicKeyToken="31bf3856ad364e35"
- language="en-US"
- versionScope="nonSxS">
- <OOBE>
- <HideEULAPage>true</HideEULAPage>
- <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
- <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
- <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
- <NetworkLocation>Work</NetworkLocation>
- <ProtectYourPC>3</ProtectYourPC>
- <SkipMachineOOBE>true</SkipMachineOOBE>
- <SkipUserOOBE>true</SkipUserOOBE>
- </OOBE>
- <UserAccounts>
- <LocalAccounts>
- <LocalAccount wcm:action="add">
- <Password>
- <Value>PclPoC!2026</Value>
- <PlainText>true</PlainText>
- </Password>
- <Description>PCL PoC lab account</Description>
- <DisplayName>PCL Lab</DisplayName>
- <Group>Administrators</Group>
- <Name>lab</Name>
- </LocalAccount>
- </LocalAccounts>
- </UserAccounts>
- <AutoLogon>
- <Password>
- <Value>PclPoC!2026</Value>
- <PlainText>true</PlainText>
- </Password>
- <Enabled>true</Enabled>
- <LogonCount>999</LogonCount>
- <Username>lab</Username>
- </AutoLogon>
- <FirstLogonCommands>
- <SynchronousCommand wcm:action="add">
- <Order>1</Order>
- <Description>Start PCL PoC demo</Description>
- <CommandLine>cmd.exe /c "for %d in (C D E F G H I J K) do @if exist %d:\pcl-test\firstlogon.cmd call %d:\pcl-test\firstlogon.cmd"</CommandLine>
- <RequiresUserInput>false</RequiresUserInput>
- </SynchronousCommand>
- </FirstLogonCommands>
- <TimeZone>China Standard Time</TimeZone>
- </component>
- </settings>
- </unattend>
|