mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2025-05-20 01:46:19 +08:00
Compare commits
4 Commits
4c53e6231b
...
fc2348bf53
Author | SHA1 | Date | |
---|---|---|---|
![]() |
fc2348bf53 | ||
![]() |
966fbd14f6 | ||
![]() |
691e6088d5 | ||
![]() |
74b7c74218 |
@ -1286,9 +1286,9 @@ if %_wmic% EQU 0 set "chkapp=for /f "tokens=2 delims==" %%a in ('%psc% "(([WMISE
|
||||
|
||||
if defined allapps if %1==0ff1ce15-a989-479d-af46-f275c6370663 (
|
||||
set len=0
|
||||
echo:!allapps!> %SystemRoot%\Temp\chklen
|
||||
for %%A in (%SystemRoot%\Temp\chklen) do (set len=%%~zA)
|
||||
del %SystemRoot%\Temp\chklen %nul%
|
||||
echo:!allapps!> "!_ttemp!\chklen"
|
||||
for %%A in ("!_ttemp!\chklen") do (set len=%%~zA)
|
||||
del "!_ttemp!\chklen" %nul%
|
||||
|
||||
if !len! GTR 6000 (
|
||||
%eline%
|
||||
@ -1468,7 +1468,7 @@ if not exist %SysPath%\%_slexe% if not exist %SysPath%\alg.exe (set "results=%re
|
||||
if not "%results%%pupfound%"=="" (
|
||||
if defined pupfound call :dk_color %Gray% "Checking PUP Activators [Found%pupfound%]"
|
||||
if defined results call :dk_color %Red% "Checking Probable Mal%w%ware Infection..."
|
||||
if defined results call :dk_color %Red% "%results%"
|
||||
if defined results (call :dk_color %Red% "%results%"&set showfix=1)
|
||||
set fixes=%fixes% %mas%remove_mal%w%ware
|
||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware"
|
||||
echo:
|
||||
@ -4293,7 +4293,7 @@ echo Checking Activation ID [%tempid%] [%tsedition%]
|
||||
|
||||
set generickey=1
|
||||
call :dk_inskey "[%key%]"
|
||||
if not defined error set tsids=%tsids% %tempid%
|
||||
set tsids=%tsids% %tempid%
|
||||
goto :ts_esu
|
||||
|
||||
::========================================================================================================================================
|
||||
@ -4901,7 +4901,7 @@ goto :ts_act
|
||||
)
|
||||
|
||||
call :dk_inskey "[%key%]"
|
||||
if not defined error set tsids=%tsids% %tempid%
|
||||
set tsids=%tsids% %tempid%
|
||||
goto :ts_act
|
||||
|
||||
::========================================================================================================================================
|
||||
@ -5327,6 +5327,11 @@ set _License=MondoRetail
|
||||
set _altoffid=MondoRetail
|
||||
call :ks_osppready
|
||||
echo Converting Unsupported O365 Office [%%# To MondoRetail]
|
||||
if "%oVer%"=="15" (call :dk_color %Gray% "Mondo 2013 is equivalent to O365 [15.0 version] in terms of the latest features.")
|
||||
if "%oVer%"=="16" (
|
||||
call :dk_color %Gray% "Mondo 2016 is equivalent to O365 in terms of the latest features."
|
||||
call :dk_color %Gray% "To enhance stability, select the Change Office Edition option in the Main Menu to fully switch to Mondo."
|
||||
)
|
||||
)
|
||||
|
||||
if not defined _oMSI (
|
||||
@ -16315,7 +16320,7 @@ goto :at_menu
|
||||
|
||||
:: https://stackoverflow.com/a/46268232
|
||||
|
||||
set "ddf="%SystemRoot%\Temp\ddf""
|
||||
set "ddf="%SystemRoot%\Temp\%Random%%Random%%Random%%Random%""
|
||||
%nul% del /q /f %ddf%
|
||||
echo/.New Cabinet>%ddf%
|
||||
echo/.set Cabinet=ON>>%ddf%
|
||||
|
@ -1171,7 +1171,7 @@ if not exist %SysPath%\%_slexe% if not exist %SysPath%\alg.exe (set "results=%re
|
||||
if not "%results%%pupfound%"=="" (
|
||||
if defined pupfound call :dk_color %Gray% "Checking PUP Activators [Found%pupfound%]"
|
||||
if defined results call :dk_color %Red% "Checking Probable Mal%w%ware Infection..."
|
||||
if defined results call :dk_color %Red% "%results%"
|
||||
if defined results (call :dk_color %Red% "%results%"&set showfix=1)
|
||||
set fixes=%fixes% %mas%remove_mal%w%ware
|
||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware"
|
||||
echo:
|
||||
|
@ -1314,7 +1314,7 @@ if not exist %SysPath%\%_slexe% if not exist %SysPath%\alg.exe (set "results=%re
|
||||
if not "%results%%pupfound%"=="" (
|
||||
if defined pupfound call :dk_color %Gray% "Checking PUP Activators [Found%pupfound%]"
|
||||
if defined results call :dk_color %Red% "Checking Probable Mal%w%ware Infection..."
|
||||
if defined results call :dk_color %Red% "%results%"
|
||||
if defined results (call :dk_color %Red% "%results%"&set showfix=1)
|
||||
set fixes=%fixes% %mas%remove_mal%w%ware
|
||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware"
|
||||
echo:
|
||||
|
@ -1701,9 +1701,9 @@ if %_wmic% EQU 0 set "chkapp=for /f "tokens=2 delims==" %%a in ('%psc% "(([WMISE
|
||||
|
||||
if defined allapps if %1==0ff1ce15-a989-479d-af46-f275c6370663 (
|
||||
set len=0
|
||||
echo:!allapps!> %SystemRoot%\Temp\chklen
|
||||
for %%A in (%SystemRoot%\Temp\chklen) do (set len=%%~zA)
|
||||
del %SystemRoot%\Temp\chklen %nul%
|
||||
echo:!allapps!> "!_ttemp!\chklen"
|
||||
for %%A in ("!_ttemp!\chklen") do (set len=%%~zA)
|
||||
del "!_ttemp!\chklen" %nul%
|
||||
|
||||
if !len! GTR 6000 (
|
||||
%eline%
|
||||
@ -1832,7 +1832,7 @@ if not exist %SysPath%\%_slexe% if not exist %SysPath%\alg.exe (set "results=%re
|
||||
if not "%results%%pupfound%"=="" (
|
||||
if defined pupfound call :dk_color %Gray% "Checking PUP Activators [Found%pupfound%]"
|
||||
if defined results call :dk_color %Red% "Checking Probable Mal%w%ware Infection..."
|
||||
if defined results call :dk_color %Red% "%results%"
|
||||
if defined results (call :dk_color %Red% "%results%"&set showfix=1)
|
||||
set fixes=%fixes% %mas%remove_mal%w%ware
|
||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware"
|
||||
echo:
|
||||
|
@ -2675,9 +2675,9 @@ if %_wmic% EQU 0 set "chkapp=for /f "tokens=2 delims==" %%a in ('%psc% "(([WMISE
|
||||
|
||||
if defined allapps if %1==0ff1ce15-a989-479d-af46-f275c6370663 (
|
||||
set len=0
|
||||
echo:!allapps!> %SystemRoot%\Temp\chklen
|
||||
for %%A in (%SystemRoot%\Temp\chklen) do (set len=%%~zA)
|
||||
del %SystemRoot%\Temp\chklen %nul%
|
||||
echo:!allapps!> "!_ttemp!\chklen"
|
||||
for %%A in ("!_ttemp!\chklen") do (set len=%%~zA)
|
||||
del "!_ttemp!\chklen" %nul%
|
||||
|
||||
if !len! GTR 6000 (
|
||||
%eline%
|
||||
@ -2884,7 +2884,7 @@ if not exist %SysPath%\%_slexe% if not exist %SysPath%\alg.exe (set "results=%re
|
||||
if not "%results%%pupfound%"=="" (
|
||||
if defined pupfound call :dk_color %Gray% "Checking PUP Activators [Found%pupfound%]"
|
||||
if defined results call :dk_color %Red% "Checking Probable Mal%w%ware Infection..."
|
||||
if defined results call :dk_color %Red% "%results%"
|
||||
if defined results (call :dk_color %Red% "%results%"&set showfix=1)
|
||||
set fixes=%fixes% %mas%remove_mal%w%ware
|
||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware"
|
||||
echo:
|
||||
|
@ -702,7 +702,7 @@ echo Checking Activation ID [%tempid%] [%tsedition%]
|
||||
|
||||
set generickey=1
|
||||
call :dk_inskey "[%key%]"
|
||||
if not defined error set tsids=%tsids% %tempid%
|
||||
set tsids=%tsids% %tempid%
|
||||
goto :ts_esu
|
||||
|
||||
::========================================================================================================================================
|
||||
@ -1310,7 +1310,7 @@ goto :ts_act
|
||||
)
|
||||
|
||||
call :dk_inskey "[%key%]"
|
||||
if not defined error set tsids=%tsids% %tempid%
|
||||
set tsids=%tsids% %tempid%
|
||||
goto :ts_act
|
||||
|
||||
::========================================================================================================================================
|
||||
@ -1796,6 +1796,11 @@ set _License=MondoRetail
|
||||
set _altoffid=MondoRetail
|
||||
call :ks_osppready
|
||||
echo Converting Unsupported O365 Office [%%# To MondoRetail]
|
||||
if "%oVer%"=="15" (call :dk_color %Gray% "Mondo 2013 is equivalent to O365 [15.0 version] in terms of the latest features.")
|
||||
if "%oVer%"=="16" (
|
||||
call :dk_color %Gray% "Mondo 2016 is equivalent to O365 in terms of the latest features."
|
||||
call :dk_color %Gray% "To enhance stability, select the Change Office Edition option in the Main Menu to fully switch to Mondo."
|
||||
)
|
||||
)
|
||||
|
||||
if not defined _oMSI (
|
||||
@ -2335,9 +2340,9 @@ if %_wmic% EQU 0 set "chkapp=for /f "tokens=2 delims==" %%a in ('%psc% "(([WMISE
|
||||
|
||||
if defined allapps if %1==0ff1ce15-a989-479d-af46-f275c6370663 (
|
||||
set len=0
|
||||
echo:!allapps!> %SystemRoot%\Temp\chklen
|
||||
for %%A in (%SystemRoot%\Temp\chklen) do (set len=%%~zA)
|
||||
del %SystemRoot%\Temp\chklen %nul%
|
||||
echo:!allapps!> "!_ttemp!\chklen"
|
||||
for %%A in ("!_ttemp!\chklen") do (set len=%%~zA)
|
||||
del "!_ttemp!\chklen" %nul%
|
||||
|
||||
if !len! GTR 6000 (
|
||||
%eline%
|
||||
@ -2499,7 +2504,7 @@ if not exist %SysPath%\%_slexe% if not exist %SysPath%\alg.exe (set "results=%re
|
||||
if not "%results%%pupfound%"=="" (
|
||||
if defined pupfound call :dk_color %Gray% "Checking PUP Activators [Found%pupfound%]"
|
||||
if defined results call :dk_color %Red% "Checking Probable Mal%w%ware Infection..."
|
||||
if defined results call :dk_color %Red% "%results%"
|
||||
if defined results (call :dk_color %Red% "%results%"&set showfix=1)
|
||||
set fixes=%fixes% %mas%remove_mal%w%ware
|
||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware"
|
||||
echo:
|
||||
|
@ -795,7 +795,7 @@ exit /b
|
||||
|
||||
:: https://stackoverflow.com/a/46268232
|
||||
|
||||
set "ddf="%SystemRoot%\Temp\ddf""
|
||||
set "ddf="%SystemRoot%\Temp\%Random%%Random%%Random%%Random%""
|
||||
%nul% del /q /f %ddf%
|
||||
echo/.New Cabinet>%ddf%
|
||||
echo/.set Cabinet=ON>>%ddf%
|
||||
|
@ -1178,7 +1178,7 @@ goto :at_menu
|
||||
|
||||
:: https://stackoverflow.com/a/46268232
|
||||
|
||||
set "ddf="%SystemRoot%\Temp\ddf""
|
||||
set "ddf="%SystemRoot%\Temp\%Random%%Random%%Random%%Random%""
|
||||
%nul% del /q /f %ddf%
|
||||
echo/.New Cabinet>%ddf%
|
||||
echo/.set Cabinet=ON>>%ddf%
|
||||
|
Loading…
x
Reference in New Issue
Block a user