summaryrefslogtreecommitdiff
path: root/MAS/Separate-Files-Version/Troubleshoot.cmd
diff options
context:
space:
mode:
authorWindowsAddict2024-11-05 16:53:02 +0000
committerWindowsAddict2024-11-05 16:53:02 +0000
commitfcb710a48aed6a69eacf574e6a16c559953de4e6 (patch)
tree359ffa3689d8d64a3f68ac6488604550a04214ba /MAS/Separate-Files-Version/Troubleshoot.cmd
parent0cbaa141c319958765d9a4d618d9f0b0b68f8b81 (diff)
downloadMicrosoft-Activation-Scripts-fcb710a48aed6a69eacf574e6a16c559953de4e6.zip
Add an error code to detect WMI error
Diffstat (limited to 'MAS/Separate-Files-Version/Troubleshoot.cmd')
-rw-r--r--MAS/Separate-Files-Version/Troubleshoot.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/MAS/Separate-Files-Version/Troubleshoot.cmd b/MAS/Separate-Files-Version/Troubleshoot.cmd
index 40e6489..131daa6 100644
--- a/MAS/Separate-Files-Version/Troubleshoot.cmd
+++ b/MAS/Separate-Files-Version/Troubleshoot.cmd
@@ -1078,7 +1078,7 @@ if %errorlevel% NEQ 0 (set error=1& exit /b)
%psc% "try { $null=([WMISEARCHER]'SELECT * FROM SoftwareLicensingService').Get().Version; exit 0 } catch { exit $_.Exception.InnerException.HResult }" %nul%
cmd /c exit /b %errorlevel%
-echo "0x%=ExitCode%" | findstr /i "0x800410 0x800440" %nul1%
+echo "0x%=ExitCode%" | findstr /i "0x800410 0x800440 0x80131501" %nul1%
if %errorlevel% EQU 0 set error=1
exit /b