Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <unattend xmlns="urn:schemas-microsoft-com:unattend">
- <settings pass="specialize">
- <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">
- <AutoLogon>
- <Password>
- <Value>Pa$$w0rd</Value>
- <PlainText>true</PlainText>
- </Password>
- <Enabled>true</Enabled>
- <LogonCount>2</LogonCount>
- <Username>Administrator</Username>
- </AutoLogon>
- <ComputerName>*</ComputerName>
- </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 Jump " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance Jump ">
- <SetupUILanguage>
- <UILanguage>en-US</UILanguage>
- </SetupUILanguage>
- <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-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">
- <DiskConfiguration>
- <Disk wcm:action="add">
- <CreatePartitions>
- <CreatePartition wcm:action="add">
- <Order>1</Order>
- <Size>500</Size>
- <Type>Primary</Type>
- </CreatePartition>
- <CreatePartition wcm:action="add">
- <Order>2</Order>
- <Size>100</Size>
- <Type>EFI</Type>
- </CreatePartition>
- <CreatePartition wcm:action="add">
- <Order>3</Order>
- <Size>16</Size>
- <Type>MSR</Type>
- </CreatePartition>
- <CreatePartition wcm:action="add">
- <Order>4</Order>
- <Extend>true</Extend>
- <Type>Primary</Type>
- </CreatePartition>
- </CreatePartitions>
- <ModifyPartitions>
- <ModifyPartition wcm:action="add">
- <Order>1</Order>
- <PartitionID>1</PartitionID>
- <Label>WinRE</Label>
- <Format>NTFS</Format>
- <TypeID>de94bba4-06d1-4d40-a16a-bfd50179d6ac</TypeID>
- </ModifyPartition>
- <ModifyPartition wcm:action="add">
- <Order>2</Order>
- <PartitionID>2</PartitionID>
- <Label>System</Label>
- <Format>FAT32</Format>
- </ModifyPartition>
- <ModifyPartition wcm:action="add">
- <Order>3</Order>
- <PartitionID>3</PartitionID>
- </ModifyPartition>
- <ModifyPartition wcm:action="add">
- <Order>4</Order>
- <PartitionID>4</PartitionID>
- <Label>Windows</Label>
- <Format>NTFS</Format>
- </ModifyPartition>
- </ModifyPartitions>
- <DiskID>0</DiskID>
- <WillWipeDisk>true</WillWipeDisk>
- </Disk>
- <WillShowUI>OnError</WillShowUI>
- </DiskConfiguration>
- <EnableNetwork>false</EnableNetwork>
- </component>
- <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">
- <SetupUILanguage>
- <UILanguage>en-us</UILanguage>
- </SetupUILanguage>
- <UILanguage>en-us</UILanguage>
- </component>
- </settings>
- <settings pass="oobeSystem">
- <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">
- <FirstLogonCommands>
- <SynchronousCommand wcm:action="add">
- <CommandLine>powershell.exe -Command "$password = ConvertTo-SecureString 'Pa`$`$word' -AsPlainText -Force; Install-WindowsFeature ad-domain-services; Install-ADDSForest -DomainName 'ryanf.org' -DomainNetBiosName 'rf' -InstallDns -SafeModeAdministratorPassword $password"</CommandLine>
- <Order>1</Order>
- </SynchronousCommand>
- </FirstLogonCommands>
- </component>
- </settings>
- </unattend>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement