From cfac963278df644e31ea66ded8eaf24a81305b9b Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 13 Aug 2026 12:36:42 +0200 Subject: [PATCH] feat: Install the VirtIO Balloon service on 32-bit Windows (#2130) --- assets/win7x86-enterprise.cmd | 4 ++++ assets/win7x86-ultimate.cmd | 4 ++++ assets/win7x86.cmd | 4 ++++ assets/winvistax86-enterprise.cmd | 4 ++++ assets/winvistax86-ultimate.cmd | 4 ++++ assets/winvistax86.cmd | 4 ++++ 6 files changed, 24 insertions(+) diff --git a/assets/win7x86-enterprise.cmd b/assets/win7x86-enterprise.cmd index 81832c42..74bd7491 100644 --- a/assets/win7x86-enterprise.cmd +++ b/assets/win7x86-enterprise.cmd @@ -59,6 +59,10 @@ netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Y rem Enable File Sharing. netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes +rem Install the VirtIO Balloon service once. +sc.exe query BalloonService >nul 2>&1 +if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i + rem BEGIN PRODUCT_KEY rem Install the product key without activating Windows immediately. cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" diff --git a/assets/win7x86-ultimate.cmd b/assets/win7x86-ultimate.cmd index 81832c42..74bd7491 100644 --- a/assets/win7x86-ultimate.cmd +++ b/assets/win7x86-ultimate.cmd @@ -59,6 +59,10 @@ netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Y rem Enable File Sharing. netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes +rem Install the VirtIO Balloon service once. +sc.exe query BalloonService >nul 2>&1 +if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i + rem BEGIN PRODUCT_KEY rem Install the product key without activating Windows immediately. cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" diff --git a/assets/win7x86.cmd b/assets/win7x86.cmd index 81832c42..74bd7491 100644 --- a/assets/win7x86.cmd +++ b/assets/win7x86.cmd @@ -59,6 +59,10 @@ netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Y rem Enable File Sharing. netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes +rem Install the VirtIO Balloon service once. +sc.exe query BalloonService >nul 2>&1 +if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i + rem BEGIN PRODUCT_KEY rem Install the product key without activating Windows immediately. cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" diff --git a/assets/winvistax86-enterprise.cmd b/assets/winvistax86-enterprise.cmd index aa023193..0f8d96d7 100644 --- a/assets/winvistax86-enterprise.cmd +++ b/assets/winvistax86-enterprise.cmd @@ -71,6 +71,10 @@ netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Y rem Enable File Sharing. netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes +rem Install the VirtIO Balloon service once. +sc.exe query BalloonService >nul 2>&1 +if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i + rem BEGIN PRODUCT_KEY rem Install the product key without activating Windows immediately. cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" diff --git a/assets/winvistax86-ultimate.cmd b/assets/winvistax86-ultimate.cmd index aa023193..0f8d96d7 100644 --- a/assets/winvistax86-ultimate.cmd +++ b/assets/winvistax86-ultimate.cmd @@ -71,6 +71,10 @@ netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Y rem Enable File Sharing. netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes +rem Install the VirtIO Balloon service once. +sc.exe query BalloonService >nul 2>&1 +if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i + rem BEGIN PRODUCT_KEY rem Install the product key without activating Windows immediately. cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX" diff --git a/assets/winvistax86.cmd b/assets/winvistax86.cmd index aa023193..0f8d96d7 100644 --- a/assets/winvistax86.cmd +++ b/assets/winvistax86.cmd @@ -71,6 +71,10 @@ netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Y rem Enable File Sharing. netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes +rem Install the VirtIO Balloon service once. +sc.exe query BalloonService >nul 2>&1 +if errorlevel 1 "%SystemRoot%\Drivers\Balloon\blnsvr.exe" -i + rem BEGIN PRODUCT_KEY rem Install the product key without activating Windows immediately. cscript.exe //B //Nologo "%SystemRoot%\System32\slmgr.vbs" /ipk "XXX"