summaryrefslogtreecommitdiff
path: root/MAS/Separate-Files-Version/Change_Office_Edition.cmd
diff options
context:
space:
mode:
authorWindowsAddict <[email protected]>2024-11-03 08:31:56 +0530
committerWindowsAddict <[email protected]>2024-11-03 08:31:56 +0530
commit9d1964cedaeb5486bf839083f342bf2b8d90fcc9 (patch)
tree3831292acbd7d0a31920d4bc1a50a992310b6835 /MAS/Separate-Files-Version/Change_Office_Edition.cmd
parent0477cf13e1f6cf9bb2e69d6416fefd295a1c5c07 (diff)
downloadMicrosoft-Activation-Scripts-9d1964cedaeb5486bf839083f342bf2b8d90fcc9.zip
Increase time out
Diffstat (limited to 'MAS/Separate-Files-Version/Change_Office_Edition.cmd')
-rw-r--r--MAS/Separate-Files-Version/Change_Office_Edition.cmd4
1 files changed, 2 insertions, 2 deletions
diff --git a/MAS/Separate-Files-Version/Change_Office_Edition.cmd b/MAS/Separate-Files-Version/Change_Office_Edition.cmd
index 5cdbfe0..3031e0f 100644
--- a/MAS/Separate-Files-Version/Change_Office_Edition.cmd
+++ b/MAS/Separate-Files-Version/Change_Office_Edition.cmd
@@ -537,7 +537,7 @@ find /i "%%#" "%SystemRoot%\Temp\%list%.txt" %nul1% || (
if defined _notfound (set _notfound=%%#, !_notfound!) else (set _notfound=%%#)
)
)
-if defined _notfound call :dk_color %Gray% "Office !_notfound! is not in this list because old version of Office is installed."
+if defined _notfound call :dk_color %Gray% "Office !_notfound! is not in this list because old version [%_version%] of Office is installed."
)
%line%
echo:
@@ -1374,7 +1374,7 @@ echo sc start sppsvc [Error Code: %spperror%]
)
echo:
-%psc% "$job = Start-Job { (Get-WmiObject -Query 'SELECT * FROM %sps%').Version }; if (-not (Wait-Job $job -Timeout 20)) {write-host 'sppsvc is not working correctly. Help - %mas%troubleshoot'}"
+%psc% "$job = Start-Job { (Get-WmiObject -Query 'SELECT * FROM %sps%').Version }; if (-not (Wait-Job $job -Timeout 30)) {write-host 'sppsvc is not working correctly. Help - %mas%troubleshoot'}"
exit /b
:: Common lines used in PowerShell reflection code