From 3c4f8796fa13707e85395b79d12c5d6c42d32f09 Mon Sep 17 00:00:00 2001 From: DESKTOP-AJSJJMA\Admin Date: Thu, 16 Mar 2023 11:11:04 -0700 Subject: 1.8 --- MAS/Separate-Files-Version/Check-Activation-Status-wmi.cmd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'MAS/Separate-Files-Version/Check-Activation-Status-wmi.cmd') diff --git a/MAS/Separate-Files-Version/Check-Activation-Status-wmi.cmd b/MAS/Separate-Files-Version/Check-Activation-Status-wmi.cmd index ea350f0..2df64ec 100644 --- a/MAS/Separate-Files-Version/Check-Activation-Status-wmi.cmd +++ b/MAS/Separate-Files-Version/Check-Activation-Status-wmi.cmd @@ -70,7 +70,7 @@ pushd "%~dp0" >nul findstr /rxc:".*" "%~nx0" if not %errorlevel%==0 ( echo: -echo Error: This is not a correct file. It has LF line ending issue. +echo Error: Script either has LF line ending issue, or it failed to read itself. echo: ping 127.0.0.1 -n 6 > nul popd @@ -85,7 +85,9 @@ wmic path Win32_ComputerSystem get CreationClassName /value 2>nul | find /i "Com if %_cwmi% EQU 0 ( echo: -echo Error: wmic.exe is not responding in the system. +echo Error: WMI is not responding in the system. +echo: +echo In MAS, Goto Troubleshoot and run Fix WMI option. echo: echo Press any key to exit... pause >nul -- cgit v1.2.3