Advertisement
kryptanyte

xml

Sep 18th, 2018
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.67 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <unattend xmlns="urn:schemas-microsoft-com:unattend">
  3. <settings pass="specialize">
  4. <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">
  5. <AutoLogon>
  6. <Password>
  7. <Value>Pa$$w0rd</Value>
  8. <PlainText>true</PlainText>
  9. </Password>
  10. <Enabled>true</Enabled>
  11. <LogonCount>2</LogonCount>
  12. <Username>Administrator</Username>
  13. </AutoLogon>
  14. <ComputerName>*</ComputerName>
  15. </component>
  16. </settings>
  17. <settings pass="windowsPE">
  18. <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 ">
  19. <SetupUILanguage>
  20. <UILanguage>en-US</UILanguage>
  21. </SetupUILanguage>
  22. <InputLocale>0409:00000409</InputLocale>
  23. <SystemLocale>en-US</SystemLocale>
  24. <UILanguage>en-US</UILanguage>
  25. <UILanguageFallback>en-US</UILanguageFallback>
  26. <UserLocale>en-US</UserLocale>
  27. </component>
  28. <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">
  29. <DiskConfiguration>
  30. <Disk wcm:action="add">
  31. <CreatePartitions>
  32. <CreatePartition wcm:action="add">
  33. <Order>1</Order>
  34. <Size>500</Size>
  35. <Type>Primary</Type>
  36. </CreatePartition>
  37. <CreatePartition wcm:action="add">
  38. <Order>2</Order>
  39. <Size>100</Size>
  40. <Type>EFI</Type>
  41. </CreatePartition>
  42. <CreatePartition wcm:action="add">
  43. <Order>3</Order>
  44. <Size>16</Size>
  45. <Type>MSR</Type>
  46. </CreatePartition>
  47. <CreatePartition wcm:action="add">
  48. <Order>4</Order>
  49. <Extend>true</Extend>
  50. <Type>Primary</Type>
  51. </CreatePartition>
  52. </CreatePartitions>
  53. <ModifyPartitions>
  54. <ModifyPartition wcm:action="add">
  55. <Order>1</Order>
  56. <PartitionID>1</PartitionID>
  57. <Label>WinRE</Label>
  58. <Format>NTFS</Format>
  59. <TypeID>de94bba4-06d1-4d40-a16a-bfd50179d6ac</TypeID>
  60. </ModifyPartition>
  61. <ModifyPartition wcm:action="add">
  62. <Order>2</Order>
  63. <PartitionID>2</PartitionID>
  64. <Label>System</Label>
  65. <Format>FAT32</Format>
  66. </ModifyPartition>
  67. <ModifyPartition wcm:action="add">
  68. <Order>3</Order>
  69. <PartitionID>3</PartitionID>
  70. </ModifyPartition>
  71. <ModifyPartition wcm:action="add">
  72. <Order>4</Order>
  73. <PartitionID>4</PartitionID>
  74. <Label>Windows</Label>
  75. <Format>NTFS</Format>
  76. </ModifyPartition>
  77. </ModifyPartitions>
  78. <DiskID>0</DiskID>
  79. <WillWipeDisk>true</WillWipeDisk>
  80. </Disk>
  81. <WillShowUI>OnError</WillShowUI>
  82. </DiskConfiguration>
  83. <EnableNetwork>false</EnableNetwork>
  84. </component>
  85. <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">
  86. <SetupUILanguage>
  87. <UILanguage>en-us</UILanguage>
  88. </SetupUILanguage>
  89. <UILanguage>en-us</UILanguage>
  90. </component>
  91. </settings>
  92. <settings pass="oobeSystem">
  93. <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">
  94. <FirstLogonCommands>
  95. <SynchronousCommand wcm:action="add">
  96. <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>
  97. <Order>1</Order>
  98. </SynchronousCommand>
  99. </FirstLogonCommands>
  100. </component>
  101. </settings>
  102. </unattend>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement