feat: Improved Windows configuration (#122)
This commit is contained in:
parent
0c97430ea9
commit
63de796e12
|
@ -16,56 +16,42 @@
|
||||||
<DiskID>0</DiskID>
|
<DiskID>0</DiskID>
|
||||||
<WillWipeDisk>true</WillWipeDisk>
|
<WillWipeDisk>true</WillWipeDisk>
|
||||||
<CreatePartitions>
|
<CreatePartitions>
|
||||||
<!-- Windows RE Tools partition -->
|
|
||||||
<CreatePartition wcm:action="add">
|
|
||||||
<Order>1</Order>
|
|
||||||
<Type>Primary</Type>
|
|
||||||
<Size>256</Size>
|
|
||||||
</CreatePartition>
|
|
||||||
<!-- System partition (ESP) -->
|
<!-- System partition (ESP) -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>2</Order>
|
<Order>1</Order>
|
||||||
<Type>EFI</Type>
|
<Type>EFI</Type>
|
||||||
<Size>128</Size>
|
<Size>128</Size>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
<!-- Microsoft reserved partition (MSR) -->
|
<!-- Microsoft reserved partition (MSR) -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>3</Order>
|
<Order>2</Order>
|
||||||
<Type>MSR</Type>
|
<Type>MSR</Type>
|
||||||
<Size>128</Size>
|
<Size>128</Size>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
<!-- Windows partition -->
|
<!-- Windows partition -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>4</Order>
|
<Order>3</Order>
|
||||||
<Type>Primary</Type>
|
<Type>Primary</Type>
|
||||||
<Extend>true</Extend>
|
<Extend>true</Extend>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
</CreatePartitions>
|
</CreatePartitions>
|
||||||
<ModifyPartitions>
|
<ModifyPartitions>
|
||||||
<!-- Windows RE Tools partition -->
|
<!-- System partition (ESP) -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>1</Order>
|
<Order>1</Order>
|
||||||
<PartitionID>1</PartitionID>
|
<PartitionID>1</PartitionID>
|
||||||
<Label>WINRE</Label>
|
|
||||||
<Format>NTFS</Format>
|
|
||||||
<TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
|
|
||||||
</ModifyPartition>
|
|
||||||
<!-- System partition (ESP) -->
|
|
||||||
<ModifyPartition wcm:action="add">
|
|
||||||
<Order>2</Order>
|
|
||||||
<PartitionID>2</PartitionID>
|
|
||||||
<Label>System</Label>
|
<Label>System</Label>
|
||||||
<Format>FAT32</Format>
|
<Format>FAT32</Format>
|
||||||
</ModifyPartition>
|
</ModifyPartition>
|
||||||
<!-- MSR partition does not need to be modified -->
|
<!-- MSR partition does not need to be modified -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>3</Order>
|
<Order>2</Order>
|
||||||
<PartitionID>3</PartitionID>
|
<PartitionID>2</PartitionID>
|
||||||
</ModifyPartition>
|
</ModifyPartition>
|
||||||
<!-- Windows partition -->
|
<!-- Windows partition -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>4</Order>
|
<Order>3</Order>
|
||||||
<PartitionID>4</PartitionID>
|
<PartitionID>3</PartitionID>
|
||||||
<Label>Windows</Label>
|
<Label>Windows</Label>
|
||||||
<Letter>C</Letter>
|
<Letter>C</Letter>
|
||||||
<Format>NTFS</Format>
|
<Format>NTFS</Format>
|
||||||
|
@ -83,7 +69,7 @@
|
||||||
</InstallFrom>
|
</InstallFrom>
|
||||||
<InstallTo>
|
<InstallTo>
|
||||||
<DiskID>0</DiskID>
|
<DiskID>0</DiskID>
|
||||||
<PartitionID>4</PartitionID>
|
<PartitionID>3</PartitionID>
|
||||||
</InstallTo>
|
</InstallTo>
|
||||||
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
||||||
</OSImage>
|
</OSImage>
|
||||||
|
@ -399,6 +385,16 @@
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
<SynchronousCommand wcm:action="add">
|
<SynchronousCommand wcm:action="add">
|
||||||
<Order>10</Order>
|
<Order>10</Order>
|
||||||
|
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
||||||
|
<Description>Zero Hibernation File</Description>
|
||||||
|
</SynchronousCommand>
|
||||||
|
<SynchronousCommand wcm:action="add">
|
||||||
|
<Order>11</Order>
|
||||||
|
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
||||||
|
<Description>Disable Hibernation Mode</Description>
|
||||||
|
</SynchronousCommand>
|
||||||
|
<SynchronousCommand wcm:action="add">
|
||||||
|
<Order>12</Order>
|
||||||
<CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
|
<CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
|
||||||
<Description>Install VirtIO drivers</Description>
|
<Description>Install VirtIO drivers</Description>
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
|
|
|
@ -16,56 +16,42 @@
|
||||||
<DiskID>0</DiskID>
|
<DiskID>0</DiskID>
|
||||||
<WillWipeDisk>true</WillWipeDisk>
|
<WillWipeDisk>true</WillWipeDisk>
|
||||||
<CreatePartitions>
|
<CreatePartitions>
|
||||||
<!-- Windows RE Tools partition -->
|
|
||||||
<CreatePartition wcm:action="add">
|
|
||||||
<Order>1</Order>
|
|
||||||
<Type>Primary</Type>
|
|
||||||
<Size>256</Size>
|
|
||||||
</CreatePartition>
|
|
||||||
<!-- System partition (ESP) -->
|
<!-- System partition (ESP) -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>2</Order>
|
<Order>1</Order>
|
||||||
<Type>EFI</Type>
|
<Type>EFI</Type>
|
||||||
<Size>128</Size>
|
<Size>128</Size>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
<!-- Microsoft reserved partition (MSR) -->
|
<!-- Microsoft reserved partition (MSR) -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>3</Order>
|
<Order>2</Order>
|
||||||
<Type>MSR</Type>
|
<Type>MSR</Type>
|
||||||
<Size>128</Size>
|
<Size>128</Size>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
<!-- Windows partition -->
|
<!-- Windows partition -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>4</Order>
|
<Order>3</Order>
|
||||||
<Type>Primary</Type>
|
<Type>Primary</Type>
|
||||||
<Extend>true</Extend>
|
<Extend>true</Extend>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
</CreatePartitions>
|
</CreatePartitions>
|
||||||
<ModifyPartitions>
|
<ModifyPartitions>
|
||||||
<!-- Windows RE Tools partition -->
|
<!-- System partition (ESP) -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>1</Order>
|
<Order>1</Order>
|
||||||
<PartitionID>1</PartitionID>
|
<PartitionID>1</PartitionID>
|
||||||
<Label>WINRE</Label>
|
|
||||||
<Format>NTFS</Format>
|
|
||||||
<TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
|
|
||||||
</ModifyPartition>
|
|
||||||
<!-- System partition (ESP) -->
|
|
||||||
<ModifyPartition wcm:action="add">
|
|
||||||
<Order>2</Order>
|
|
||||||
<PartitionID>2</PartitionID>
|
|
||||||
<Label>System</Label>
|
<Label>System</Label>
|
||||||
<Format>FAT32</Format>
|
<Format>FAT32</Format>
|
||||||
</ModifyPartition>
|
</ModifyPartition>
|
||||||
<!-- MSR partition does not need to be modified -->
|
<!-- MSR partition does not need to be modified -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>3</Order>
|
<Order>2</Order>
|
||||||
<PartitionID>3</PartitionID>
|
<PartitionID>2</PartitionID>
|
||||||
</ModifyPartition>
|
</ModifyPartition>
|
||||||
<!-- Windows partition -->
|
<!-- Windows partition -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>4</Order>
|
<Order>3</Order>
|
||||||
<PartitionID>4</PartitionID>
|
<PartitionID>3</PartitionID>
|
||||||
<Label>Windows</Label>
|
<Label>Windows</Label>
|
||||||
<Letter>C</Letter>
|
<Letter>C</Letter>
|
||||||
<Format>NTFS</Format>
|
<Format>NTFS</Format>
|
||||||
|
@ -77,7 +63,7 @@
|
||||||
<OSImage>
|
<OSImage>
|
||||||
<InstallTo>
|
<InstallTo>
|
||||||
<DiskID>0</DiskID>
|
<DiskID>0</DiskID>
|
||||||
<PartitionID>4</PartitionID>
|
<PartitionID>3</PartitionID>
|
||||||
</InstallTo>
|
</InstallTo>
|
||||||
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
||||||
</OSImage>
|
</OSImage>
|
||||||
|
@ -395,6 +381,16 @@
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
<SynchronousCommand wcm:action="add">
|
<SynchronousCommand wcm:action="add">
|
||||||
<Order>10</Order>
|
<Order>10</Order>
|
||||||
|
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
||||||
|
<Description>Zero Hibernation File</Description>
|
||||||
|
</SynchronousCommand>
|
||||||
|
<SynchronousCommand wcm:action="add">
|
||||||
|
<Order>11</Order>
|
||||||
|
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
||||||
|
<Description>Disable Hibernation Mode</Description>
|
||||||
|
</SynchronousCommand>
|
||||||
|
<SynchronousCommand wcm:action="add">
|
||||||
|
<Order>12</Order>
|
||||||
<CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
|
<CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
|
||||||
<Description>Install VirtIO drivers</Description>
|
<Description>Install VirtIO drivers</Description>
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
|
|
|
@ -16,56 +16,42 @@
|
||||||
<DiskID>0</DiskID>
|
<DiskID>0</DiskID>
|
||||||
<WillWipeDisk>true</WillWipeDisk>
|
<WillWipeDisk>true</WillWipeDisk>
|
||||||
<CreatePartitions>
|
<CreatePartitions>
|
||||||
<!-- Windows RE Tools partition -->
|
|
||||||
<CreatePartition wcm:action="add">
|
|
||||||
<Order>1</Order>
|
|
||||||
<Type>Primary</Type>
|
|
||||||
<Size>256</Size>
|
|
||||||
</CreatePartition>
|
|
||||||
<!-- System partition (ESP) -->
|
<!-- System partition (ESP) -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>2</Order>
|
<Order>1</Order>
|
||||||
<Type>EFI</Type>
|
<Type>EFI</Type>
|
||||||
<Size>128</Size>
|
<Size>128</Size>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
<!-- Microsoft reserved partition (MSR) -->
|
<!-- Microsoft reserved partition (MSR) -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>3</Order>
|
<Order>2</Order>
|
||||||
<Type>MSR</Type>
|
<Type>MSR</Type>
|
||||||
<Size>128</Size>
|
<Size>128</Size>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
<!-- Windows partition -->
|
<!-- Windows partition -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>4</Order>
|
<Order>3</Order>
|
||||||
<Type>Primary</Type>
|
<Type>Primary</Type>
|
||||||
<Extend>true</Extend>
|
<Extend>true</Extend>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
</CreatePartitions>
|
</CreatePartitions>
|
||||||
<ModifyPartitions>
|
<ModifyPartitions>
|
||||||
<!-- Windows RE Tools partition -->
|
<!-- System partition (ESP) -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>1</Order>
|
<Order>1</Order>
|
||||||
<PartitionID>1</PartitionID>
|
<PartitionID>1</PartitionID>
|
||||||
<Label>WINRE</Label>
|
|
||||||
<Format>NTFS</Format>
|
|
||||||
<TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
|
|
||||||
</ModifyPartition>
|
|
||||||
<!-- System partition (ESP) -->
|
|
||||||
<ModifyPartition wcm:action="add">
|
|
||||||
<Order>2</Order>
|
|
||||||
<PartitionID>2</PartitionID>
|
|
||||||
<Label>System</Label>
|
<Label>System</Label>
|
||||||
<Format>FAT32</Format>
|
<Format>FAT32</Format>
|
||||||
</ModifyPartition>
|
</ModifyPartition>
|
||||||
<!-- MSR partition does not need to be modified -->
|
<!-- MSR partition does not need to be modified -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>3</Order>
|
<Order>2</Order>
|
||||||
<PartitionID>3</PartitionID>
|
<PartitionID>2</PartitionID>
|
||||||
</ModifyPartition>
|
</ModifyPartition>
|
||||||
<!-- Windows partition -->
|
<!-- Windows partition -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>4</Order>
|
<Order>3</Order>
|
||||||
<PartitionID>4</PartitionID>
|
<PartitionID>3</PartitionID>
|
||||||
<Label>Windows</Label>
|
<Label>Windows</Label>
|
||||||
<Letter>C</Letter>
|
<Letter>C</Letter>
|
||||||
<Format>NTFS</Format>
|
<Format>NTFS</Format>
|
||||||
|
@ -77,7 +63,7 @@
|
||||||
<OSImage>
|
<OSImage>
|
||||||
<InstallTo>
|
<InstallTo>
|
||||||
<DiskID>0</DiskID>
|
<DiskID>0</DiskID>
|
||||||
<PartitionID>4</PartitionID>
|
<PartitionID>3</PartitionID>
|
||||||
</InstallTo>
|
</InstallTo>
|
||||||
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
||||||
</OSImage>
|
</OSImage>
|
||||||
|
@ -423,6 +409,16 @@
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
<SynchronousCommand wcm:action="add">
|
<SynchronousCommand wcm:action="add">
|
||||||
<Order>12</Order>
|
<Order>12</Order>
|
||||||
|
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
||||||
|
<Description>Zero Hibernation File</Description>
|
||||||
|
</SynchronousCommand>
|
||||||
|
<SynchronousCommand wcm:action="add">
|
||||||
|
<Order>13</Order>
|
||||||
|
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
||||||
|
<Description>Disable Hibernation Mode</Description>
|
||||||
|
</SynchronousCommand>
|
||||||
|
<SynchronousCommand wcm:action="add">
|
||||||
|
<Order>14</Order>
|
||||||
<CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
|
<CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
|
||||||
<Description>Install VirtIO drivers</Description>
|
<Description>Install VirtIO drivers</Description>
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
|
|
|
@ -17,56 +17,42 @@
|
||||||
<DiskID>0</DiskID>
|
<DiskID>0</DiskID>
|
||||||
<WillWipeDisk>true</WillWipeDisk>
|
<WillWipeDisk>true</WillWipeDisk>
|
||||||
<CreatePartitions>
|
<CreatePartitions>
|
||||||
<!-- Windows RE Tools partition -->
|
|
||||||
<CreatePartition wcm:action="add">
|
|
||||||
<Order>1</Order>
|
|
||||||
<Type>Primary</Type>
|
|
||||||
<Size>256</Size>
|
|
||||||
</CreatePartition>
|
|
||||||
<!-- System partition (ESP) -->
|
<!-- System partition (ESP) -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>2</Order>
|
<Order>1</Order>
|
||||||
<Type>EFI</Type>
|
<Type>EFI</Type>
|
||||||
<Size>128</Size>
|
<Size>128</Size>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
<!-- Microsoft reserved partition (MSR) -->
|
<!-- Microsoft reserved partition (MSR) -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>3</Order>
|
<Order>2</Order>
|
||||||
<Type>MSR</Type>
|
<Type>MSR</Type>
|
||||||
<Size>128</Size>
|
<Size>128</Size>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
<!-- Windows partition -->
|
<!-- Windows partition -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>4</Order>
|
<Order>3</Order>
|
||||||
<Type>Primary</Type>
|
<Type>Primary</Type>
|
||||||
<Extend>true</Extend>
|
<Extend>true</Extend>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
</CreatePartitions>
|
</CreatePartitions>
|
||||||
<ModifyPartitions>
|
<ModifyPartitions>
|
||||||
<!-- Windows RE Tools partition -->
|
<!-- System partition (ESP) -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>1</Order>
|
<Order>1</Order>
|
||||||
<PartitionID>1</PartitionID>
|
<PartitionID>1</PartitionID>
|
||||||
<Label>WINRE</Label>
|
|
||||||
<Format>NTFS</Format>
|
|
||||||
<TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
|
|
||||||
</ModifyPartition>
|
|
||||||
<!-- System partition (ESP) -->
|
|
||||||
<ModifyPartition wcm:action="add">
|
|
||||||
<Order>2</Order>
|
|
||||||
<PartitionID>2</PartitionID>
|
|
||||||
<Label>System</Label>
|
<Label>System</Label>
|
||||||
<Format>FAT32</Format>
|
<Format>FAT32</Format>
|
||||||
</ModifyPartition>
|
</ModifyPartition>
|
||||||
<!-- MSR partition does not need to be modified -->
|
<!-- MSR partition does not need to be modified -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>3</Order>
|
<Order>2</Order>
|
||||||
<PartitionID>3</PartitionID>
|
<PartitionID>2</PartitionID>
|
||||||
</ModifyPartition>
|
</ModifyPartition>
|
||||||
<!-- Windows partition -->
|
<!-- Windows partition -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>4</Order>
|
<Order>3</Order>
|
||||||
<PartitionID>4</PartitionID>
|
<PartitionID>3</PartitionID>
|
||||||
<Label>Windows</Label>
|
<Label>Windows</Label>
|
||||||
<Letter>C</Letter>
|
<Letter>C</Letter>
|
||||||
<Format>NTFS</Format>
|
<Format>NTFS</Format>
|
||||||
|
@ -84,7 +70,7 @@
|
||||||
</InstallFrom>
|
</InstallFrom>
|
||||||
<InstallTo>
|
<InstallTo>
|
||||||
<DiskID>0</DiskID>
|
<DiskID>0</DiskID>
|
||||||
<PartitionID>4</PartitionID>
|
<PartitionID>3</PartitionID>
|
||||||
</InstallTo>
|
</InstallTo>
|
||||||
<WillShowUI>OnError</WillShowUI>
|
<WillShowUI>OnError</WillShowUI>
|
||||||
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
||||||
|
@ -322,6 +308,16 @@
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
<SynchronousCommand wcm:action="add">
|
<SynchronousCommand wcm:action="add">
|
||||||
<Order>10</Order>
|
<Order>10</Order>
|
||||||
|
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
||||||
|
<Description>Zero Hibernation File</Description>
|
||||||
|
</SynchronousCommand>
|
||||||
|
<SynchronousCommand wcm:action="add">
|
||||||
|
<Order>11</Order>
|
||||||
|
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
||||||
|
<Description>Disable Hibernation Mode</Description>
|
||||||
|
</SynchronousCommand>
|
||||||
|
<SynchronousCommand wcm:action="add">
|
||||||
|
<Order>12</Order>
|
||||||
<CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
|
<CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
|
||||||
<Description>Install VirtIO drivers</Description>
|
<Description>Install VirtIO drivers</Description>
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
|
|
|
@ -17,56 +17,42 @@
|
||||||
<DiskID>0</DiskID>
|
<DiskID>0</DiskID>
|
||||||
<WillWipeDisk>true</WillWipeDisk>
|
<WillWipeDisk>true</WillWipeDisk>
|
||||||
<CreatePartitions>
|
<CreatePartitions>
|
||||||
<!-- Windows RE Tools partition -->
|
|
||||||
<CreatePartition wcm:action="add">
|
|
||||||
<Order>1</Order>
|
|
||||||
<Type>Primary</Type>
|
|
||||||
<Size>256</Size>
|
|
||||||
</CreatePartition>
|
|
||||||
<!-- System partition (ESP) -->
|
<!-- System partition (ESP) -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>2</Order>
|
<Order>1</Order>
|
||||||
<Type>EFI</Type>
|
<Type>EFI</Type>
|
||||||
<Size>128</Size>
|
<Size>128</Size>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
<!-- Microsoft reserved partition (MSR) -->
|
<!-- Microsoft reserved partition (MSR) -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>3</Order>
|
<Order>2</Order>
|
||||||
<Type>MSR</Type>
|
<Type>MSR</Type>
|
||||||
<Size>128</Size>
|
<Size>128</Size>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
<!-- Windows partition -->
|
<!-- Windows partition -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>4</Order>
|
<Order>3</Order>
|
||||||
<Type>Primary</Type>
|
<Type>Primary</Type>
|
||||||
<Extend>true</Extend>
|
<Extend>true</Extend>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
</CreatePartitions>
|
</CreatePartitions>
|
||||||
<ModifyPartitions>
|
<ModifyPartitions>
|
||||||
<!-- Windows RE Tools partition -->
|
<!-- System partition (ESP) -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>1</Order>
|
<Order>1</Order>
|
||||||
<PartitionID>1</PartitionID>
|
<PartitionID>1</PartitionID>
|
||||||
<Label>WINRE</Label>
|
|
||||||
<Format>NTFS</Format>
|
|
||||||
<TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
|
|
||||||
</ModifyPartition>
|
|
||||||
<!-- System partition (ESP) -->
|
|
||||||
<ModifyPartition wcm:action="add">
|
|
||||||
<Order>2</Order>
|
|
||||||
<PartitionID>2</PartitionID>
|
|
||||||
<Label>System</Label>
|
<Label>System</Label>
|
||||||
<Format>FAT32</Format>
|
<Format>FAT32</Format>
|
||||||
</ModifyPartition>
|
</ModifyPartition>
|
||||||
<!-- MSR partition does not need to be modified -->
|
<!-- MSR partition does not need to be modified -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>3</Order>
|
<Order>2</Order>
|
||||||
<PartitionID>3</PartitionID>
|
<PartitionID>2</PartitionID>
|
||||||
</ModifyPartition>
|
</ModifyPartition>
|
||||||
<!-- Windows partition -->
|
<!-- Windows partition -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>4</Order>
|
<Order>3</Order>
|
||||||
<PartitionID>4</PartitionID>
|
<PartitionID>3</PartitionID>
|
||||||
<Label>Windows</Label>
|
<Label>Windows</Label>
|
||||||
<Letter>C</Letter>
|
<Letter>C</Letter>
|
||||||
<Format>NTFS</Format>
|
<Format>NTFS</Format>
|
||||||
|
@ -84,7 +70,7 @@
|
||||||
</InstallFrom>
|
</InstallFrom>
|
||||||
<InstallTo>
|
<InstallTo>
|
||||||
<DiskID>0</DiskID>
|
<DiskID>0</DiskID>
|
||||||
<PartitionID>4</PartitionID>
|
<PartitionID>3</PartitionID>
|
||||||
</InstallTo>
|
</InstallTo>
|
||||||
<WillShowUI>OnError</WillShowUI>
|
<WillShowUI>OnError</WillShowUI>
|
||||||
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
||||||
|
@ -326,6 +312,16 @@
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
<SynchronousCommand wcm:action="add">
|
<SynchronousCommand wcm:action="add">
|
||||||
<Order>10</Order>
|
<Order>10</Order>
|
||||||
|
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
||||||
|
<Description>Zero Hibernation File</Description>
|
||||||
|
</SynchronousCommand>
|
||||||
|
<SynchronousCommand wcm:action="add">
|
||||||
|
<Order>11</Order>
|
||||||
|
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
||||||
|
<Description>Disable Hibernation Mode</Description>
|
||||||
|
</SynchronousCommand>
|
||||||
|
<SynchronousCommand wcm:action="add">
|
||||||
|
<Order>12</Order>
|
||||||
<CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
|
<CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
|
||||||
<Description>Install VirtIO drivers</Description>
|
<Description>Install VirtIO drivers</Description>
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
|
|
|
@ -17,56 +17,42 @@
|
||||||
<DiskID>0</DiskID>
|
<DiskID>0</DiskID>
|
||||||
<WillWipeDisk>true</WillWipeDisk>
|
<WillWipeDisk>true</WillWipeDisk>
|
||||||
<CreatePartitions>
|
<CreatePartitions>
|
||||||
<!-- Windows RE Tools partition -->
|
|
||||||
<CreatePartition wcm:action="add">
|
|
||||||
<Order>1</Order>
|
|
||||||
<Type>Primary</Type>
|
|
||||||
<Size>256</Size>
|
|
||||||
</CreatePartition>
|
|
||||||
<!-- System partition (ESP) -->
|
<!-- System partition (ESP) -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>2</Order>
|
<Order>1</Order>
|
||||||
<Type>EFI</Type>
|
<Type>EFI</Type>
|
||||||
<Size>128</Size>
|
<Size>128</Size>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
<!-- Microsoft reserved partition (MSR) -->
|
<!-- Microsoft reserved partition (MSR) -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>3</Order>
|
<Order>2</Order>
|
||||||
<Type>MSR</Type>
|
<Type>MSR</Type>
|
||||||
<Size>128</Size>
|
<Size>128</Size>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
<!-- Windows partition -->
|
<!-- Windows partition -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>4</Order>
|
<Order>3</Order>
|
||||||
<Type>Primary</Type>
|
<Type>Primary</Type>
|
||||||
<Extend>true</Extend>
|
<Extend>true</Extend>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
</CreatePartitions>
|
</CreatePartitions>
|
||||||
<ModifyPartitions>
|
<ModifyPartitions>
|
||||||
<!-- Windows RE Tools partition -->
|
<!-- System partition (ESP) -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>1</Order>
|
<Order>1</Order>
|
||||||
<PartitionID>1</PartitionID>
|
<PartitionID>1</PartitionID>
|
||||||
<Label>WINRE</Label>
|
|
||||||
<Format>NTFS</Format>
|
|
||||||
<TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
|
|
||||||
</ModifyPartition>
|
|
||||||
<!-- System partition (ESP) -->
|
|
||||||
<ModifyPartition wcm:action="add">
|
|
||||||
<Order>2</Order>
|
|
||||||
<PartitionID>2</PartitionID>
|
|
||||||
<Label>System</Label>
|
<Label>System</Label>
|
||||||
<Format>FAT32</Format>
|
<Format>FAT32</Format>
|
||||||
</ModifyPartition>
|
</ModifyPartition>
|
||||||
<!-- MSR partition does not need to be modified -->
|
<!-- MSR partition does not need to be modified -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>3</Order>
|
<Order>2</Order>
|
||||||
<PartitionID>3</PartitionID>
|
<PartitionID>2</PartitionID>
|
||||||
</ModifyPartition>
|
</ModifyPartition>
|
||||||
<!-- Windows partition -->
|
<!-- Windows partition -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>4</Order>
|
<Order>3</Order>
|
||||||
<PartitionID>4</PartitionID>
|
<PartitionID>3</PartitionID>
|
||||||
<Label>Windows</Label>
|
<Label>Windows</Label>
|
||||||
<Letter>C</Letter>
|
<Letter>C</Letter>
|
||||||
<Format>NTFS</Format>
|
<Format>NTFS</Format>
|
||||||
|
@ -84,7 +70,7 @@
|
||||||
</InstallFrom>
|
</InstallFrom>
|
||||||
<InstallTo>
|
<InstallTo>
|
||||||
<DiskID>0</DiskID>
|
<DiskID>0</DiskID>
|
||||||
<PartitionID>4</PartitionID>
|
<PartitionID>3</PartitionID>
|
||||||
</InstallTo>
|
</InstallTo>
|
||||||
<WillShowUI>OnError</WillShowUI>
|
<WillShowUI>OnError</WillShowUI>
|
||||||
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
||||||
|
@ -326,6 +312,16 @@
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
<SynchronousCommand wcm:action="add">
|
<SynchronousCommand wcm:action="add">
|
||||||
<Order>10</Order>
|
<Order>10</Order>
|
||||||
|
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
||||||
|
<Description>Zero Hibernation File</Description>
|
||||||
|
</SynchronousCommand>
|
||||||
|
<SynchronousCommand wcm:action="add">
|
||||||
|
<Order>11</Order>
|
||||||
|
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
||||||
|
<Description>Disable Hibernation Mode</Description>
|
||||||
|
</SynchronousCommand>
|
||||||
|
<SynchronousCommand wcm:action="add">
|
||||||
|
<Order>12</Order>
|
||||||
<CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
|
<CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
|
||||||
<Description>Install VirtIO drivers</Description>
|
<Description>Install VirtIO drivers</Description>
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
|
|
|
@ -272,6 +272,16 @@
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
<SynchronousCommand wcm:action="add">
|
<SynchronousCommand wcm:action="add">
|
||||||
<Order>10</Order>
|
<Order>10</Order>
|
||||||
|
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
||||||
|
<Description>Zero Hibernation File</Description>
|
||||||
|
</SynchronousCommand>
|
||||||
|
<SynchronousCommand wcm:action="add">
|
||||||
|
<Order>11</Order>
|
||||||
|
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
||||||
|
<Description>Disable Hibernation Mode</Description>
|
||||||
|
</SynchronousCommand>
|
||||||
|
<SynchronousCommand wcm:action="add">
|
||||||
|
<Order>12</Order>
|
||||||
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine>
|
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine>
|
||||||
<Description>Disable Network Discovery popup</Description>
|
<Description>Disable Network Discovery popup</Description>
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
|
|
|
@ -16,56 +16,42 @@
|
||||||
<DiskID>0</DiskID>
|
<DiskID>0</DiskID>
|
||||||
<WillWipeDisk>true</WillWipeDisk>
|
<WillWipeDisk>true</WillWipeDisk>
|
||||||
<CreatePartitions>
|
<CreatePartitions>
|
||||||
<!-- Windows RE Tools partition -->
|
|
||||||
<CreatePartition wcm:action="add">
|
|
||||||
<Order>1</Order>
|
|
||||||
<Type>Primary</Type>
|
|
||||||
<Size>256</Size>
|
|
||||||
</CreatePartition>
|
|
||||||
<!-- System partition (ESP) -->
|
<!-- System partition (ESP) -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>2</Order>
|
<Order>1</Order>
|
||||||
<Type>EFI</Type>
|
<Type>EFI</Type>
|
||||||
<Size>128</Size>
|
<Size>128</Size>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
<!-- Microsoft reserved partition (MSR) -->
|
<!-- Microsoft reserved partition (MSR) -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>3</Order>
|
<Order>2</Order>
|
||||||
<Type>MSR</Type>
|
<Type>MSR</Type>
|
||||||
<Size>128</Size>
|
<Size>128</Size>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
<!-- Windows partition -->
|
<!-- Windows partition -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>4</Order>
|
<Order>3</Order>
|
||||||
<Type>Primary</Type>
|
<Type>Primary</Type>
|
||||||
<Extend>true</Extend>
|
<Extend>true</Extend>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
</CreatePartitions>
|
</CreatePartitions>
|
||||||
<ModifyPartitions>
|
<ModifyPartitions>
|
||||||
<!-- Windows RE Tools partition -->
|
<!-- System partition (ESP) -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>1</Order>
|
<Order>1</Order>
|
||||||
<PartitionID>1</PartitionID>
|
<PartitionID>1</PartitionID>
|
||||||
<Label>WINRE</Label>
|
|
||||||
<Format>NTFS</Format>
|
|
||||||
<TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
|
|
||||||
</ModifyPartition>
|
|
||||||
<!-- System partition (ESP) -->
|
|
||||||
<ModifyPartition wcm:action="add">
|
|
||||||
<Order>2</Order>
|
|
||||||
<PartitionID>2</PartitionID>
|
|
||||||
<Label>System</Label>
|
<Label>System</Label>
|
||||||
<Format>FAT32</Format>
|
<Format>FAT32</Format>
|
||||||
</ModifyPartition>
|
</ModifyPartition>
|
||||||
<!-- MSR partition does not need to be modified -->
|
<!-- MSR partition does not need to be modified -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>3</Order>
|
<Order>2</Order>
|
||||||
<PartitionID>3</PartitionID>
|
<PartitionID>2</PartitionID>
|
||||||
</ModifyPartition>
|
</ModifyPartition>
|
||||||
<!-- Windows partition -->
|
<!-- Windows partition -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>4</Order>
|
<Order>3</Order>
|
||||||
<PartitionID>4</PartitionID>
|
<PartitionID>3</PartitionID>
|
||||||
<Label>Windows</Label>
|
<Label>Windows</Label>
|
||||||
<Letter>C</Letter>
|
<Letter>C</Letter>
|
||||||
<Format>NTFS</Format>
|
<Format>NTFS</Format>
|
||||||
|
@ -83,7 +69,7 @@
|
||||||
</InstallFrom>
|
</InstallFrom>
|
||||||
<InstallTo>
|
<InstallTo>
|
||||||
<DiskID>0</DiskID>
|
<DiskID>0</DiskID>
|
||||||
<PartitionID>4</PartitionID>
|
<PartitionID>3</PartitionID>
|
||||||
</InstallTo>
|
</InstallTo>
|
||||||
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
||||||
</OSImage>
|
</OSImage>
|
||||||
|
@ -316,6 +302,16 @@
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
<SynchronousCommand wcm:action="add">
|
<SynchronousCommand wcm:action="add">
|
||||||
<Order>10</Order>
|
<Order>10</Order>
|
||||||
|
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
||||||
|
<Description>Zero Hibernation File</Description>
|
||||||
|
</SynchronousCommand>
|
||||||
|
<SynchronousCommand wcm:action="add">
|
||||||
|
<Order>11</Order>
|
||||||
|
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
||||||
|
<Description>Disable Hibernation Mode</Description>
|
||||||
|
</SynchronousCommand>
|
||||||
|
<SynchronousCommand wcm:action="add">
|
||||||
|
<Order>12</Order>
|
||||||
<CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
|
<CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
|
||||||
<Description>Install VirtIO drivers</Description>
|
<Description>Install VirtIO drivers</Description>
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
|
|
Loading…
Reference in New Issue