mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts
synced 2025-05-24 09:18:15 +08:00
Compare commits
4 Commits
74b7c74218
...
133d3b9720
Author | SHA1 | Date | |
---|---|---|---|
|
133d3b9720 | ||
|
fc2348bf53 | ||
|
966fbd14f6 | ||
|
691e6088d5 |
@ -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 (
|
if defined allapps if %1==0ff1ce15-a989-479d-af46-f275c6370663 (
|
||||||
set len=0
|
set len=0
|
||||||
echo:!allapps!> %SystemRoot%\Temp\chklen
|
echo:!allapps!> "!_ttemp!\chklen"
|
||||||
for %%A in (%SystemRoot%\Temp\chklen) do (set len=%%~zA)
|
for %%A in ("!_ttemp!\chklen") do (set len=%%~zA)
|
||||||
del %SystemRoot%\Temp\chklen %nul%
|
del "!_ttemp!\chklen" %nul%
|
||||||
|
|
||||||
if !len! GTR 6000 (
|
if !len! GTR 6000 (
|
||||||
%eline%
|
%eline%
|
||||||
@ -1468,7 +1468,7 @@ if not exist %SysPath%\%_slexe% if not exist %SysPath%\alg.exe (set "results=%re
|
|||||||
if not "%results%%pupfound%"=="" (
|
if not "%results%%pupfound%"=="" (
|
||||||
if defined pupfound call :dk_color %Gray% "Checking PUP Activators [Found%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% "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
|
set fixes=%fixes% %mas%remove_mal%w%ware
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware"
|
||||||
echo:
|
echo:
|
||||||
@ -5327,6 +5327,8 @@ set _License=MondoRetail
|
|||||||
set _altoffid=MondoRetail
|
set _altoffid=MondoRetail
|
||||||
call :ks_osppready
|
call :ks_osppready
|
||||||
echo Converting Unsupported O365 Office [%%# To MondoRetail]
|
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.")
|
||||||
)
|
)
|
||||||
|
|
||||||
if not defined _oMSI (
|
if not defined _oMSI (
|
||||||
@ -12441,6 +12443,10 @@ call :ksdata getinfo !_prod!
|
|||||||
if defined _altoffid (
|
if defined _altoffid (
|
||||||
set _License=!_altoffid!
|
set _License=!_altoffid!
|
||||||
echo Converting Retail To Volume [!_prod! To !_altoffid!]
|
echo Converting Retail To Volume [!_prod! To !_altoffid!]
|
||||||
|
echo %%# | find /i "O365" %nul% && (
|
||||||
|
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.")
|
||||||
|
)
|
||||||
set _prod=!_altoffid!
|
set _prod=!_altoffid!
|
||||||
call :ks_osppready
|
call :ks_osppready
|
||||||
)
|
)
|
||||||
@ -16315,7 +16321,7 @@ goto :at_menu
|
|||||||
|
|
||||||
:: https://stackoverflow.com/a/46268232
|
:: https://stackoverflow.com/a/46268232
|
||||||
|
|
||||||
set "ddf="%SystemRoot%\Temp\ddf""
|
set "ddf="%SystemRoot%\Temp\%Random%%Random%%Random%%Random%""
|
||||||
%nul% del /q /f %ddf%
|
%nul% del /q /f %ddf%
|
||||||
echo/.New Cabinet>%ddf%
|
echo/.New Cabinet>%ddf%
|
||||||
echo/.set Cabinet=ON>>%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 not "%results%%pupfound%"=="" (
|
||||||
if defined pupfound call :dk_color %Gray% "Checking PUP Activators [Found%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% "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
|
set fixes=%fixes% %mas%remove_mal%w%ware
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware"
|
||||||
echo:
|
echo:
|
||||||
|
@ -1314,7 +1314,7 @@ if not exist %SysPath%\%_slexe% if not exist %SysPath%\alg.exe (set "results=%re
|
|||||||
if not "%results%%pupfound%"=="" (
|
if not "%results%%pupfound%"=="" (
|
||||||
if defined pupfound call :dk_color %Gray% "Checking PUP Activators [Found%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% "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
|
set fixes=%fixes% %mas%remove_mal%w%ware
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware"
|
||||||
echo:
|
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 (
|
if defined allapps if %1==0ff1ce15-a989-479d-af46-f275c6370663 (
|
||||||
set len=0
|
set len=0
|
||||||
echo:!allapps!> %SystemRoot%\Temp\chklen
|
echo:!allapps!> "!_ttemp!\chklen"
|
||||||
for %%A in (%SystemRoot%\Temp\chklen) do (set len=%%~zA)
|
for %%A in ("!_ttemp!\chklen") do (set len=%%~zA)
|
||||||
del %SystemRoot%\Temp\chklen %nul%
|
del "!_ttemp!\chklen" %nul%
|
||||||
|
|
||||||
if !len! GTR 6000 (
|
if !len! GTR 6000 (
|
||||||
%eline%
|
%eline%
|
||||||
@ -1832,7 +1832,7 @@ if not exist %SysPath%\%_slexe% if not exist %SysPath%\alg.exe (set "results=%re
|
|||||||
if not "%results%%pupfound%"=="" (
|
if not "%results%%pupfound%"=="" (
|
||||||
if defined pupfound call :dk_color %Gray% "Checking PUP Activators [Found%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% "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
|
set fixes=%fixes% %mas%remove_mal%w%ware
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware"
|
||||||
echo:
|
echo:
|
||||||
|
@ -1212,6 +1212,10 @@ call :ksdata getinfo !_prod!
|
|||||||
if defined _altoffid (
|
if defined _altoffid (
|
||||||
set _License=!_altoffid!
|
set _License=!_altoffid!
|
||||||
echo Converting Retail To Volume [!_prod! To !_altoffid!]
|
echo Converting Retail To Volume [!_prod! To !_altoffid!]
|
||||||
|
echo %%# | find /i "O365" %nul% && (
|
||||||
|
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.")
|
||||||
|
)
|
||||||
set _prod=!_altoffid!
|
set _prod=!_altoffid!
|
||||||
call :ks_osppready
|
call :ks_osppready
|
||||||
)
|
)
|
||||||
@ -2675,9 +2679,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 (
|
if defined allapps if %1==0ff1ce15-a989-479d-af46-f275c6370663 (
|
||||||
set len=0
|
set len=0
|
||||||
echo:!allapps!> %SystemRoot%\Temp\chklen
|
echo:!allapps!> "!_ttemp!\chklen"
|
||||||
for %%A in (%SystemRoot%\Temp\chklen) do (set len=%%~zA)
|
for %%A in ("!_ttemp!\chklen") do (set len=%%~zA)
|
||||||
del %SystemRoot%\Temp\chklen %nul%
|
del "!_ttemp!\chklen" %nul%
|
||||||
|
|
||||||
if !len! GTR 6000 (
|
if !len! GTR 6000 (
|
||||||
%eline%
|
%eline%
|
||||||
@ -2884,7 +2888,7 @@ if not exist %SysPath%\%_slexe% if not exist %SysPath%\alg.exe (set "results=%re
|
|||||||
if not "%results%%pupfound%"=="" (
|
if not "%results%%pupfound%"=="" (
|
||||||
if defined pupfound call :dk_color %Gray% "Checking PUP Activators [Found%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% "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
|
set fixes=%fixes% %mas%remove_mal%w%ware
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware"
|
||||||
echo:
|
echo:
|
||||||
|
@ -1796,6 +1796,8 @@ set _License=MondoRetail
|
|||||||
set _altoffid=MondoRetail
|
set _altoffid=MondoRetail
|
||||||
call :ks_osppready
|
call :ks_osppready
|
||||||
echo Converting Unsupported O365 Office [%%# To MondoRetail]
|
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.")
|
||||||
)
|
)
|
||||||
|
|
||||||
if not defined _oMSI (
|
if not defined _oMSI (
|
||||||
@ -2335,9 +2337,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 (
|
if defined allapps if %1==0ff1ce15-a989-479d-af46-f275c6370663 (
|
||||||
set len=0
|
set len=0
|
||||||
echo:!allapps!> %SystemRoot%\Temp\chklen
|
echo:!allapps!> "!_ttemp!\chklen"
|
||||||
for %%A in (%SystemRoot%\Temp\chklen) do (set len=%%~zA)
|
for %%A in ("!_ttemp!\chklen") do (set len=%%~zA)
|
||||||
del %SystemRoot%\Temp\chklen %nul%
|
del "!_ttemp!\chklen" %nul%
|
||||||
|
|
||||||
if !len! GTR 6000 (
|
if !len! GTR 6000 (
|
||||||
%eline%
|
%eline%
|
||||||
@ -2499,7 +2501,7 @@ if not exist %SysPath%\%_slexe% if not exist %SysPath%\alg.exe (set "results=%re
|
|||||||
if not "%results%%pupfound%"=="" (
|
if not "%results%%pupfound%"=="" (
|
||||||
if defined pupfound call :dk_color %Gray% "Checking PUP Activators [Found%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% "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
|
set fixes=%fixes% %mas%remove_mal%w%ware
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%remove_mal%w%ware"
|
||||||
echo:
|
echo:
|
||||||
|
@ -795,7 +795,7 @@ exit /b
|
|||||||
|
|
||||||
:: https://stackoverflow.com/a/46268232
|
:: https://stackoverflow.com/a/46268232
|
||||||
|
|
||||||
set "ddf="%SystemRoot%\Temp\ddf""
|
set "ddf="%SystemRoot%\Temp\%Random%%Random%%Random%%Random%""
|
||||||
%nul% del /q /f %ddf%
|
%nul% del /q /f %ddf%
|
||||||
echo/.New Cabinet>%ddf%
|
echo/.New Cabinet>%ddf%
|
||||||
echo/.set Cabinet=ON>>%ddf%
|
echo/.set Cabinet=ON>>%ddf%
|
||||||
|
@ -1178,7 +1178,7 @@ goto :at_menu
|
|||||||
|
|
||||||
:: https://stackoverflow.com/a/46268232
|
:: https://stackoverflow.com/a/46268232
|
||||||
|
|
||||||
set "ddf="%SystemRoot%\Temp\ddf""
|
set "ddf="%SystemRoot%\Temp\%Random%%Random%%Random%%Random%""
|
||||||
%nul% del /q /f %ddf%
|
%nul% del /q /f %ddf%
|
||||||
echo/.New Cabinet>%ddf%
|
echo/.New Cabinet>%ddf%
|
||||||
echo/.set Cabinet=ON>>%ddf%
|
echo/.set Cabinet=ON>>%ddf%
|
||||||
|
Loading…
Reference in New Issue
Block a user