feat: Install the VirtIO Balloon service on 32-bit Windows (#2130)

This commit is contained in:
Kroese
2026-08-13 12:36:42 +02:00
committed by GitHub
parent 0d7e26adad
commit cfac963278
6 changed files with 24 additions and 0 deletions
+4
View File
@@ -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"