mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2026-06-14 19:44:14 +00:00
Compare commits
6 Commits
2b40259b33
...
bf28e4fbdd
| Author | SHA1 | Date | |
|---|---|---|---|
| bf28e4fbdd | |||
| 2a2352428e | |||
| be9215b728 | |||
| 93cf3864f5 | |||
| d47a750bad | |||
| 817bfe84de |
+3
-3
@@ -1,4 +1,4 @@
|
|||||||
# MAS export-ignore
|
MAS export-ignore
|
||||||
# LICENSE export-ignore
|
LICENSE export-ignore
|
||||||
# README.md export-ignore
|
README.md export-ignore
|
||||||
.gitattributes export-ignore
|
.gitattributes export-ignore
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
@::de62hd8-random
|
@::7f8jhe-random
|
||||||
@set masver=3.1
|
@set masver=3.2
|
||||||
@setlocal DisableDelayedExpansion
|
@setlocal DisableDelayedExpansion
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
@@ -153,15 +153,15 @@ echo Upgrade to Windows Vista SP1 or SP2.
|
|||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
if not exist %ps% (
|
if %winbuild% LSS 7600 if not exist "%SysPath%\WindowsPowerShell\v1.0\Modules" (
|
||||||
%nceline%
|
%nceline%
|
||||||
|
if not exist %ps% (
|
||||||
echo PowerShell is not installed in your system.
|
echo PowerShell is not installed in your system.
|
||||||
if %winbuild% LSS 7600 (
|
)
|
||||||
echo Install PowerShell using the following URL.
|
echo Install PowerShell 2.0 using the following URL.
|
||||||
echo:
|
echo:
|
||||||
echo https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
echo https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
||||||
if %_unattended%==0 start https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
if %_unattended%==0 start https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
||||||
)
|
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -662,11 +662,13 @@ if not exist %SysPath%\%%# (
|
|||||||
%eline%
|
%eline%
|
||||||
echo [%SysPath%\%%#] file is missing, aborting...
|
echo [%SysPath%\%%#] file is missing, aborting...
|
||||||
echo:
|
echo:
|
||||||
|
if not defined results (
|
||||||
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
||||||
call :dk_color %Blue% "After that, restart system and try activation again."
|
call :dk_color %Blue% "After that, restart system and try activation again."
|
||||||
echo:
|
echo:
|
||||||
set fixes=%fixes% %mas%troubleshoot
|
set fixes=%fixes% %mas%troubleshoot
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
||||||
|
)
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -2001,6 +2003,7 @@ if defined fixes (
|
|||||||
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
|
if !errorlevel!==2 exit /b
|
||||||
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -2166,32 +2169,6 @@ for %%A in (%_act% %_rem%) do (if "%%A"=="1" set _unattended=1)
|
|||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
|
|
||||||
if %winbuild% LSS 6001 (
|
|
||||||
%nceline%
|
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
|
||||||
echo MAS only supports Windows Vista/7/8/8.1/10/11 and their Server equivalents.
|
|
||||||
if %winbuild% EQU 6000 (
|
|
||||||
echo:
|
|
||||||
echo Windows Vista RTM is not supported because Powershell cannot be installed.
|
|
||||||
echo Upgrade to Windows Vista SP1 or SP2.
|
|
||||||
)
|
|
||||||
goto dk_done
|
|
||||||
)
|
|
||||||
|
|
||||||
if not exist %ps% (
|
|
||||||
%nceline%
|
|
||||||
echo PowerShell is not installed in your system.
|
|
||||||
if %winbuild% LSS 7600 (
|
|
||||||
echo Install PowerShell using the following URL.
|
|
||||||
echo:
|
|
||||||
echo https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
|
||||||
if %_unattended%==0 start https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
|
||||||
)
|
|
||||||
goto dk_done
|
|
||||||
)
|
|
||||||
|
|
||||||
::========================================================================================================================================
|
|
||||||
|
|
||||||
if %_rem%==1 goto :oh_uninstall
|
if %_rem%==1 goto :oh_uninstall
|
||||||
|
|
||||||
:oh_menu
|
:oh_menu
|
||||||
@@ -2248,11 +2225,13 @@ if not exist %SysPath%\%_slexe% (
|
|||||||
%eline%
|
%eline%
|
||||||
echo [%SysPath%\%_slexe%] file is missing, aborting...
|
echo [%SysPath%\%_slexe%] file is missing, aborting...
|
||||||
echo:
|
echo:
|
||||||
|
if not defined results (
|
||||||
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
||||||
call :dk_color %Blue% "After that, restart system and try activation again."
|
call :dk_color %Blue% "After that, restart system and try activation again."
|
||||||
echo:
|
echo:
|
||||||
set fixes=%fixes% %mas%troubleshoot
|
set fixes=%fixes% %mas%troubleshoot
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
||||||
|
)
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -4110,11 +4089,13 @@ if not exist %SysPath%\%_slexe% (
|
|||||||
%eline%
|
%eline%
|
||||||
echo [%SysPath%\%_slexe%] file is missing, aborting...
|
echo [%SysPath%\%_slexe%] file is missing, aborting...
|
||||||
echo:
|
echo:
|
||||||
|
if not defined results (
|
||||||
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
||||||
call :dk_color %Blue% "After that, restart system and try activation again."
|
call :dk_color %Blue% "After that, restart system and try activation again."
|
||||||
echo:
|
echo:
|
||||||
set fixes=%fixes% %mas%troubleshoot
|
set fixes=%fixes% %mas%troubleshoot
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
||||||
|
)
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -10964,11 +10945,13 @@ if defined _fmiss (
|
|||||||
%eline%
|
%eline%
|
||||||
echo [%_fmiss%] file is missing, aborting...
|
echo [%_fmiss%] file is missing, aborting...
|
||||||
echo:
|
echo:
|
||||||
|
if not defined results (
|
||||||
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
||||||
call :dk_color %Blue% "After that, restart system and try activation again."
|
call :dk_color %Blue% "After that, restart system and try activation again."
|
||||||
echo:
|
echo:
|
||||||
set fixes=%fixes% %mas%troubleshoot
|
set fixes=%fixes% %mas%troubleshoot
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
||||||
|
)
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -11794,11 +11777,13 @@ if not exist %SysPath%\%_slexe% (
|
|||||||
%eline%
|
%eline%
|
||||||
echo [%SysPath%\%_slexe%] file is missing, aborting...
|
echo [%SysPath%\%_slexe%] file is missing, aborting...
|
||||||
echo:
|
echo:
|
||||||
|
if not defined results (
|
||||||
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
||||||
call :dk_color %Blue% "After that, restart system and try activation again."
|
call :dk_color %Blue% "After that, restart system and try activation again."
|
||||||
echo:
|
echo:
|
||||||
set fixes=%fixes% %mas%troubleshoot
|
set fixes=%fixes% %mas%troubleshoot
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
||||||
|
)
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -18257,6 +18242,7 @@ if defined fixes (
|
|||||||
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
|
if !errorlevel!==2 goto :oemenu
|
||||||
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@set masver=3.1
|
@set masver=3.2
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@@ -381,11 +381,13 @@ if not exist %SysPath%\%%# (
|
|||||||
%eline%
|
%eline%
|
||||||
echo [%SysPath%\%%#] file is missing, aborting...
|
echo [%SysPath%\%%#] file is missing, aborting...
|
||||||
echo:
|
echo:
|
||||||
|
if not defined results (
|
||||||
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
||||||
call :dk_color %Blue% "After that, restart system and try activation again."
|
call :dk_color %Blue% "After that, restart system and try activation again."
|
||||||
echo:
|
echo:
|
||||||
set fixes=%fixes% %mas%troubleshoot
|
set fixes=%fixes% %mas%troubleshoot
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
||||||
|
)
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -1704,6 +1706,7 @@ if defined fixes (
|
|||||||
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
|
if !errorlevel!==2 exit /b
|
||||||
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@set masver=3.1
|
@set masver=3.2
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@@ -421,11 +421,13 @@ if defined _fmiss (
|
|||||||
%eline%
|
%eline%
|
||||||
echo [%_fmiss%] file is missing, aborting...
|
echo [%_fmiss%] file is missing, aborting...
|
||||||
echo:
|
echo:
|
||||||
|
if not defined results (
|
||||||
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
||||||
call :dk_color %Blue% "After that, restart system and try activation again."
|
call :dk_color %Blue% "After that, restart system and try activation again."
|
||||||
echo:
|
echo:
|
||||||
set fixes=%fixes% %mas%troubleshoot
|
set fixes=%fixes% %mas%troubleshoot
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
||||||
|
)
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -1847,6 +1849,7 @@ if defined fixes (
|
|||||||
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
|
if !errorlevel!==2 exit /b
|
||||||
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@set masver=3.1
|
@set masver=3.2
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@@ -183,15 +183,15 @@ echo Upgrade to Windows Vista SP1 or SP2.
|
|||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
if not exist %ps% (
|
if %winbuild% LSS 7600 if not exist "%SysPath%\WindowsPowerShell\v1.0\Modules" (
|
||||||
%nceline%
|
%nceline%
|
||||||
|
if not exist %ps% (
|
||||||
echo PowerShell is not installed in your system.
|
echo PowerShell is not installed in your system.
|
||||||
if %winbuild% LSS 7600 (
|
)
|
||||||
echo Install PowerShell using the following URL.
|
echo Install PowerShell 2.0 using the following URL.
|
||||||
echo:
|
echo:
|
||||||
echo https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
echo https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
||||||
if %_unattended%==0 start https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
if %_unattended%==0 start https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
||||||
)
|
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -427,11 +427,13 @@ if not exist %SysPath%\%_slexe% (
|
|||||||
%eline%
|
%eline%
|
||||||
echo [%SysPath%\%_slexe%] file is missing, aborting...
|
echo [%SysPath%\%_slexe%] file is missing, aborting...
|
||||||
echo:
|
echo:
|
||||||
|
if not defined results (
|
||||||
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
||||||
call :dk_color %Blue% "After that, restart system and try activation again."
|
call :dk_color %Blue% "After that, restart system and try activation again."
|
||||||
echo:
|
echo:
|
||||||
set fixes=%fixes% %mas%troubleshoot
|
set fixes=%fixes% %mas%troubleshoot
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
||||||
|
)
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -2365,6 +2367,7 @@ if defined fixes (
|
|||||||
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
|
if !errorlevel!==2 exit /b
|
||||||
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@set masver=3.1
|
@set masver=3.2
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@@ -214,15 +214,15 @@ echo Upgrade to Windows Vista SP1 or SP2.
|
|||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
if not exist %ps% (
|
if %winbuild% LSS 7600 if not exist "%SysPath%\WindowsPowerShell\v1.0\Modules" (
|
||||||
%nceline%
|
%nceline%
|
||||||
|
if not exist %ps% (
|
||||||
echo PowerShell is not installed in your system.
|
echo PowerShell is not installed in your system.
|
||||||
if %winbuild% LSS 7600 (
|
)
|
||||||
echo Install PowerShell using the following URL.
|
echo Install PowerShell 2.0 using the following URL.
|
||||||
echo:
|
echo:
|
||||||
echo https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
echo https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
||||||
if %_unattended%==0 start https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
if %_unattended%==0 start https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
||||||
)
|
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -489,11 +489,13 @@ if not exist %SysPath%\%_slexe% (
|
|||||||
%eline%
|
%eline%
|
||||||
echo [%SysPath%\%_slexe%] file is missing, aborting...
|
echo [%SysPath%\%_slexe%] file is missing, aborting...
|
||||||
echo:
|
echo:
|
||||||
|
if not defined results (
|
||||||
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
||||||
call :dk_color %Blue% "After that, restart system and try activation again."
|
call :dk_color %Blue% "After that, restart system and try activation again."
|
||||||
echo:
|
echo:
|
||||||
set fixes=%fixes% %mas%troubleshoot
|
set fixes=%fixes% %mas%troubleshoot
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
||||||
|
)
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -3417,6 +3419,7 @@ if defined fixes (
|
|||||||
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
|
if !errorlevel!==2 exit /b
|
||||||
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@set masver=3.1
|
@set masver=3.2
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@@ -220,15 +220,15 @@ echo Upgrade to Windows Vista SP1 or SP2.
|
|||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
if not exist %ps% (
|
if %winbuild% LSS 7600 if not exist "%SysPath%\WindowsPowerShell\v1.0\Modules" (
|
||||||
%nceline%
|
%nceline%
|
||||||
|
if not exist %ps% (
|
||||||
echo PowerShell is not installed in your system.
|
echo PowerShell is not installed in your system.
|
||||||
if %winbuild% LSS 7600 (
|
)
|
||||||
echo Install PowerShell using the following URL.
|
echo Install PowerShell 2.0 using the following URL.
|
||||||
echo:
|
echo:
|
||||||
echo https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
echo https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
||||||
if %_unattended%==0 start https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
if %_unattended%==0 start https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
||||||
)
|
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -498,11 +498,13 @@ if not exist %SysPath%\%_slexe% (
|
|||||||
%eline%
|
%eline%
|
||||||
echo [%SysPath%\%_slexe%] file is missing, aborting...
|
echo [%SysPath%\%_slexe%] file is missing, aborting...
|
||||||
echo:
|
echo:
|
||||||
|
if not defined results (
|
||||||
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run DISM Restore and SFC Scan options."
|
||||||
call :dk_color %Blue% "After that, restart system and try activation again."
|
call :dk_color %Blue% "After that, restart system and try activation again."
|
||||||
echo:
|
echo:
|
||||||
set fixes=%fixes% %mas%troubleshoot
|
set fixes=%fixes% %mas%troubleshoot
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
||||||
|
)
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -3032,6 +3034,7 @@ if defined fixes (
|
|||||||
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
|
if !errorlevel!==2 exit /b
|
||||||
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@set masver=3.1
|
@set masver=3.2
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@@ -1111,6 +1111,7 @@ if defined fixes (
|
|||||||
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
|
if !errorlevel!==2 goto :oemenu
|
||||||
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -1475,6 +1476,7 @@ if defined fixes (
|
|||||||
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
|
if !errorlevel!==2 exit /b
|
||||||
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@set masver=3.1
|
@set masver=3.2
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@@ -1057,6 +1057,7 @@ if defined fixes (
|
|||||||
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
|
if !errorlevel!==2 exit /b
|
||||||
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@set masver=3.1
|
@set masver=3.2
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@@ -144,15 +144,15 @@ echo Upgrade to Windows Vista SP1 or SP2.
|
|||||||
goto done2
|
goto done2
|
||||||
)
|
)
|
||||||
|
|
||||||
if not exist %ps% (
|
if %winbuild% LSS 7600 if not exist "%SysPath%\WindowsPowerShell\v1.0\Modules" (
|
||||||
%nceline%
|
%nceline%
|
||||||
|
if not exist %ps% (
|
||||||
echo PowerShell is not installed in your system.
|
echo PowerShell is not installed in your system.
|
||||||
if %winbuild% LSS 7600 (
|
)
|
||||||
echo Install PowerShell using the following URL.
|
echo Install PowerShell 2.0 using the following URL.
|
||||||
echo:
|
echo:
|
||||||
echo https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
echo https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
||||||
if %_unattended%==0 start https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
if %_unattended%==0 start https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
||||||
)
|
|
||||||
goto done2
|
goto done2
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -731,6 +731,7 @@ if defined fixes (
|
|||||||
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
|
if !errorlevel!==2 exit /b
|
||||||
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@set masver=3.1
|
@set masver=3.2
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@@ -145,15 +145,15 @@ echo Upgrade to Windows Vista SP1 or SP2.
|
|||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
if not exist %ps% (
|
if %winbuild% LSS 7600 if not exist "%SysPath%\WindowsPowerShell\v1.0\Modules" (
|
||||||
%nceline%
|
%nceline%
|
||||||
|
if not exist %ps% (
|
||||||
echo PowerShell is not installed in your system.
|
echo PowerShell is not installed in your system.
|
||||||
if %winbuild% LSS 7600 (
|
)
|
||||||
echo Install PowerShell using the following URL.
|
echo Install PowerShell 2.0 using the following URL.
|
||||||
echo:
|
echo:
|
||||||
echo https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
echo https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
||||||
if %_unattended%==0 start https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
if %_unattended%==0 start https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
||||||
)
|
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -1488,6 +1488,7 @@ if defined fixes (
|
|||||||
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
|
if !errorlevel!==2 exit /b
|
||||||
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user