From 63de796e1289a4ae4e16fc5c29891732ca8cb80c Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 28 Jan 2024 18:02:35 +0100 Subject: [PATCH] feat: Improved Windows configuration (#122) --- assets/win10x64-ltsc.xml | 42 ++++++++++++++++++---------------------- assets/win10x64.xml | 42 ++++++++++++++++++---------------------- assets/win11x64.xml | 42 ++++++++++++++++++---------------------- assets/win2016-eval.xml | 42 ++++++++++++++++++---------------------- assets/win2019-eval.xml | 42 ++++++++++++++++++---------------------- assets/win2022-eval.xml | 42 ++++++++++++++++++---------------------- assets/win7x64.xml | 10 ++++++++++ assets/win81x64.xml | 42 ++++++++++++++++++---------------------- 8 files changed, 143 insertions(+), 161 deletions(-) diff --git a/assets/win10x64-ltsc.xml b/assets/win10x64-ltsc.xml index b339642c5..7f111ff93 100644 --- a/assets/win10x64-ltsc.xml +++ b/assets/win10x64-ltsc.xml @@ -16,56 +16,42 @@ 0 true - - - 1 - Primary - 256 - - 2 + 1 EFI 128 - 3 + 2 MSR 128 - 4 + 3 Primary true - + 1 1 - - NTFS - DE94BBA4-06D1-4D40-A16A-BFD50179D6AC - - - - 2 - 2 FAT32 - 3 - 3 + 2 + 2 - 4 - 4 + 3 + 3 C NTFS @@ -83,7 +69,7 @@ 0 - 4 + 3 false @@ -399,6 +385,16 @@ 10 + reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f + Zero Hibernation File + + + 11 + reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f + Disable Hibernation Mode + + + 12 msiexec /i E:\virtio-win-gt-x64.msi /qb! Install VirtIO drivers diff --git a/assets/win10x64.xml b/assets/win10x64.xml index e9aa13c89..6cc5d6902 100644 --- a/assets/win10x64.xml +++ b/assets/win10x64.xml @@ -16,56 +16,42 @@ 0 true - - - 1 - Primary - 256 - - 2 + 1 EFI 128 - 3 + 2 MSR 128 - 4 + 3 Primary true - + 1 1 - - NTFS - DE94BBA4-06D1-4D40-A16A-BFD50179D6AC - - - - 2 - 2 FAT32 - 3 - 3 + 2 + 2 - 4 - 4 + 3 + 3 C NTFS @@ -77,7 +63,7 @@ 0 - 4 + 3 false @@ -395,6 +381,16 @@ 10 + reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f + Zero Hibernation File + + + 11 + reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f + Disable Hibernation Mode + + + 12 msiexec /i E:\virtio-win-gt-x64.msi /qb! Install VirtIO drivers diff --git a/assets/win11x64.xml b/assets/win11x64.xml index fa4214658..c22e654cf 100644 --- a/assets/win11x64.xml +++ b/assets/win11x64.xml @@ -16,56 +16,42 @@ 0 true - - - 1 - Primary - 256 - - 2 + 1 EFI 128 - 3 + 2 MSR 128 - 4 + 3 Primary true - + 1 1 - - NTFS - DE94BBA4-06D1-4D40-A16A-BFD50179D6AC - - - - 2 - 2 FAT32 - 3 - 3 + 2 + 2 - 4 - 4 + 3 + 3 C NTFS @@ -77,7 +63,7 @@ 0 - 4 + 3 false @@ -423,6 +409,16 @@ 12 + reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f + Zero Hibernation File + + + 13 + reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f + Disable Hibernation Mode + + + 14 msiexec /i E:\virtio-win-gt-x64.msi /qb! Install VirtIO drivers diff --git a/assets/win2016-eval.xml b/assets/win2016-eval.xml index 4a4eac6df..936cb4cd4 100644 --- a/assets/win2016-eval.xml +++ b/assets/win2016-eval.xml @@ -17,56 +17,42 @@ 0 true - - - 1 - Primary - 256 - - 2 + 1 EFI 128 - 3 + 2 MSR 128 - 4 + 3 Primary true - + 1 1 - - NTFS - DE94BBA4-06D1-4D40-A16A-BFD50179D6AC - - - - 2 - 2 FAT32 - 3 - 3 + 2 + 2 - 4 - 4 + 3 + 3 C NTFS @@ -84,7 +70,7 @@ 0 - 4 + 3 OnError false @@ -322,6 +308,16 @@ 10 + reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f + Zero Hibernation File + + + 11 + reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f + Disable Hibernation Mode + + + 12 msiexec /i E:\virtio-win-gt-x64.msi /qb! Install VirtIO drivers diff --git a/assets/win2019-eval.xml b/assets/win2019-eval.xml index bdb9f4d8a..d4251aaa1 100644 --- a/assets/win2019-eval.xml +++ b/assets/win2019-eval.xml @@ -17,56 +17,42 @@ 0 true - - - 1 - Primary - 256 - - 2 + 1 EFI 128 - 3 + 2 MSR 128 - 4 + 3 Primary true - + 1 1 - - NTFS - DE94BBA4-06D1-4D40-A16A-BFD50179D6AC - - - - 2 - 2 FAT32 - 3 - 3 + 2 + 2 - 4 - 4 + 3 + 3 C NTFS @@ -84,7 +70,7 @@ 0 - 4 + 3 OnError false @@ -326,6 +312,16 @@ 10 + reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f + Zero Hibernation File + + + 11 + reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f + Disable Hibernation Mode + + + 12 msiexec /i E:\virtio-win-gt-x64.msi /qb! Install VirtIO drivers diff --git a/assets/win2022-eval.xml b/assets/win2022-eval.xml index 425465eef..41afd0d9b 100644 --- a/assets/win2022-eval.xml +++ b/assets/win2022-eval.xml @@ -17,56 +17,42 @@ 0 true - - - 1 - Primary - 256 - - 2 + 1 EFI 128 - 3 + 2 MSR 128 - 4 + 3 Primary true - + 1 1 - - NTFS - DE94BBA4-06D1-4D40-A16A-BFD50179D6AC - - - - 2 - 2 FAT32 - 3 - 3 + 2 + 2 - 4 - 4 + 3 + 3 C NTFS @@ -84,7 +70,7 @@ 0 - 4 + 3 OnError false @@ -326,6 +312,16 @@ 10 + reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f + Zero Hibernation File + + + 11 + reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f + Disable Hibernation Mode + + + 12 msiexec /i E:\virtio-win-gt-x64.msi /qb! Install VirtIO drivers diff --git a/assets/win7x64.xml b/assets/win7x64.xml index ec0da4f5e..c725ab713 100644 --- a/assets/win7x64.xml +++ b/assets/win7x64.xml @@ -272,6 +272,16 @@ 10 + reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f + Zero Hibernation File + + + 11 + reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f + Disable Hibernation Mode + + + 12 reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f Disable Network Discovery popup diff --git a/assets/win81x64.xml b/assets/win81x64.xml index a76acfa84..5d8a49159 100644 --- a/assets/win81x64.xml +++ b/assets/win81x64.xml @@ -16,56 +16,42 @@ 0 true - - - 1 - Primary - 256 - - 2 + 1 EFI 128 - 3 + 2 MSR 128 - 4 + 3 Primary true - + 1 1 - - NTFS - DE94BBA4-06D1-4D40-A16A-BFD50179D6AC - - - - 2 - 2 FAT32 - 3 - 3 + 2 + 2 - 4 - 4 + 3 + 3 C NTFS @@ -83,7 +69,7 @@ 0 - 4 + 3 false @@ -316,6 +302,16 @@ 10 + reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f + Zero Hibernation File + + + 11 + reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f + Disable Hibernation Mode + + + 12 msiexec /i E:\virtio-win-gt-x64.msi /qb! Install VirtIO drivers