summaryrefslogtreecommitdiff
path: root/MAS/All-In-One-Version-KL
diff options
context:
space:
mode:
authorWindowsAddict2024-09-27 02:14:11 +0000
committerWindowsAddict2024-09-27 02:14:11 +0000
commitb8504cc21ec9ed5f2de31d9d43e905e20116eab6 (patch)
treec8b282df16f9238b60ec918420e614da4d12d81e /MAS/All-In-One-Version-KL
parent2e6bfa94c2285c4b613075f2673d818df2cb9137 (diff)
downloadMicrosoft-Activation-Scripts-b8504cc21ec9ed5f2de31d9d43e905e20116eab6.zip
Improve ImageState detection
Diffstat (limited to 'MAS/All-In-One-Version-KL')
-rw-r--r--MAS/All-In-One-Version-KL/MAS_AIO.cmd4
1 files changed, 2 insertions, 2 deletions
diff --git a/MAS/All-In-One-Version-KL/MAS_AIO.cmd b/MAS/All-In-One-Version-KL/MAS_AIO.cmd
index 27267ea..3b0ba77 100644
--- a/MAS/All-In-One-Version-KL/MAS_AIO.cmd
+++ b/MAS/All-In-One-Version-KL/MAS_AIO.cmd
@@ -1458,9 +1458,9 @@ call :dk_color2 %Red% "Checking Boot Mode [%safeboot_option
for /f "skip=2 tokens=2*" %%A in ('reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\State" /v ImageState') do (set imagestate=%%B)
if /i not "%imagestate%"=="IMAGE_STATE_COMPLETE" (
-set error=1
-call :dk_color %Red% "Checking Windows Setup State [%imagestate%]"
+call :dk_color %Gray% "Checking Windows Setup State [%imagestate%]"
echo "%imagestate%" | find /i "RESEAL" %nul% && (
+set error=1
set showfix=1
call :dk_color %Blue% "You need to run it in normal mode in case you are running it in Audit Mode."
)