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"