From b1e3d85c8b8536cbd9a2ad2c6c16a9fe35e095e3 Mon Sep 17 00:00:00 2001 From: neroux Date: Tue, 18 Apr 2017 23:43:21 +0200 Subject: [PATCH] Added OS version check --- .../w81s12r2x64-wuaueng.dll-patch.bat | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/patch_scripts/windows8.1-x64-and-server2012r2-kb4012219-patch/w81s12r2x64-wuaueng.dll-patch.bat b/patch_scripts/windows8.1-x64-and-server2012r2-kb4012219-patch/w81s12r2x64-wuaueng.dll-patch.bat index d2535d1..06e800b 100644 --- a/patch_scripts/windows8.1-x64-and-server2012r2-kb4012219-patch/w81s12r2x64-wuaueng.dll-patch.bat +++ b/patch_scripts/windows8.1-x64-and-server2012r2-kb4012219-patch/w81s12r2x64-wuaueng.dll-patch.bat @@ -9,6 +9,11 @@ net session >nul 2>&1 || ( echo Checking system requirements... echo. +wmic /output:stdout os get version | find "6.3" > nul || ( + echo Detected that you are not running Windows 8.1. Please verify that + echo you are trying to install the right patch file and try again. +) + wmic /output:stdout qfe get hotfixid | find "KB4012219" >nul || ( echo Detected that update KB4012219 is not installed, please verify that echo you are trying to install the right patch file and try again.