mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2025-10-02 21:01:11 +02:00
Compare commits
No commits in common. "5e2cc4f5cf79d55f0302bffdb439544480b24d88" and "dba7213a91d6ee8d206fe515a5e0a971a1e96de7" have entirely different histories.
5e2cc4f5cf
...
dba7213a91
@ -143,16 +143,6 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
|||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
if exist "%Systemdrive%\Users\WDAGUtilityAccount" (
|
|
||||||
sc query gcs | find /i "RUNNING" %nul% && (
|
|
||||||
%eline%
|
|
||||||
echo Windows Sandbox detected; activation is not supported.
|
|
||||||
echo The script cannot run due to missing licensing components. Aborting...
|
|
||||||
echo:
|
|
||||||
goto dk_done
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
if %winbuild% LSS 6001 (
|
if %winbuild% LSS 6001 (
|
||||||
%nceline%
|
%nceline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
@ -4507,7 +4497,7 @@ echo Checking Internet Connection [Connected!ping_f!]
|
|||||||
) else (
|
) else (
|
||||||
if /i %_actmethod%==Auto if not %_actman%==1 set tsmethod=KMS4k
|
if /i %_actmethod%==Auto if not %_actman%==1 set tsmethod=KMS4k
|
||||||
if /i !tsmethod!==KMS4k (
|
if /i !tsmethod!==KMS4k (
|
||||||
call :dk_color %Red% "Checking Internet Connection [Not Connected]"
|
call :dk_color %Gray% "Checking Internet Connection [Not Connected]"
|
||||||
call :dk_color %Blue% "Switching To KMS4k activation because Internet is needed for StaticCID method."
|
call :dk_color %Blue% "Switching To KMS4k activation because Internet is needed for StaticCID method."
|
||||||
) else (
|
) else (
|
||||||
set error=1
|
set error=1
|
||||||
@ -5754,11 +5744,6 @@ if %_actman%==0 (if not defined error call :dk_color %Blue% "%_fixmsg%")
|
|||||||
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"
|
||||||
) else (
|
) else (
|
||||||
if /i %tsmethod%==KMS4k if %winbuild% GEQ 26200 (
|
|
||||||
echo:
|
|
||||||
call :dk_color %Gray% "In Windows settings, you may see a renewal notification for activation that can be ignored."
|
|
||||||
if /i %_actmethod%==Auto call :dk_color %Gray% "To avoid this notification, run the script with an internet connection to use the StaticCID method."
|
|
||||||
)
|
|
||||||
echo "%tsids%" | find /i "7e94be23-b161-4956-a682-146ab291774c" %nul1% && (
|
echo "%tsids%" | find /i "7e94be23-b161-4956-a682-146ab291774c" %nul1% && (
|
||||||
call :dk_color %Gray% "Windows Update can receive 1-3 years of ESU. 4-6 years ESU is not officially supported, but you can manually install updates."
|
call :dk_color %Gray% "Windows Update can receive 1-3 years of ESU. 4-6 years ESU is not officially supported, but you can manually install updates."
|
||||||
)
|
)
|
||||||
@ -12402,11 +12387,6 @@ echo Removing the Added Specific KMS Host [Successful]
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
if defined _k38 if %winbuild% GEQ 26200 (
|
|
||||||
call :dk_color %Gray% "In Windows settings, you may see a renewal notification for activation that can be ignored."
|
|
||||||
call :dk_color %Gray% "To avoid this notification, please use the HWID or TSforge activation options in the main menu."
|
|
||||||
)
|
|
||||||
|
|
||||||
:: clipup.exe does not exist in server cor and acor editions by default, it was copied there with this script
|
:: clipup.exe does not exist in server cor and acor editions by default, it was copied there with this script
|
||||||
|
|
||||||
if defined a_cor if exist "%_clipup%" del /f /q "%_clipup%" %nul%
|
if defined a_cor if exist "%_clipup%" del /f /q "%_clipup%" %nul%
|
||||||
|
@ -173,16 +173,6 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
|||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
if exist "%Systemdrive%\Users\WDAGUtilityAccount" (
|
|
||||||
sc query gcs | find /i "RUNNING" %nul% && (
|
|
||||||
%eline%
|
|
||||||
echo Windows Sandbox detected; activation is not supported.
|
|
||||||
echo The script cannot run due to missing licensing components. Aborting...
|
|
||||||
echo:
|
|
||||||
goto dk_done
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
if %winbuild% LSS 10240 (
|
if %winbuild% LSS 10240 (
|
||||||
%eline%
|
%eline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
|
@ -175,16 +175,6 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
|||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
if exist "%Systemdrive%\Users\WDAGUtilityAccount" (
|
|
||||||
sc query gcs | find /i "RUNNING" %nul% && (
|
|
||||||
%eline%
|
|
||||||
echo Windows Sandbox detected; activation is not required.
|
|
||||||
echo The script cannot run due to missing licensing components. Aborting...
|
|
||||||
echo:
|
|
||||||
goto dk_done
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
if %winbuild% LSS 14393 (
|
if %winbuild% LSS 14393 (
|
||||||
%eline%
|
%eline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
@ -837,11 +827,6 @@ echo Removing the Added Specific KMS Host [Successful]
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
if defined _k38 if %winbuild% GEQ 26200 (
|
|
||||||
call :dk_color %Gray% "In Windows settings, you may see a renewal notification for activation that can be ignored."
|
|
||||||
call :dk_color %Gray% "To avoid this notification, please use the HWID or TSforge activation options in the main menu."
|
|
||||||
)
|
|
||||||
|
|
||||||
:: clipup.exe does not exist in server cor and acor editions by default, it was copied there with this script
|
:: clipup.exe does not exist in server cor and acor editions by default, it was copied there with this script
|
||||||
|
|
||||||
if defined a_cor if exist "%_clipup%" del /f /q "%_clipup%" %nul%
|
if defined a_cor if exist "%_clipup%" del /f /q "%_clipup%" %nul%
|
||||||
|
@ -173,16 +173,6 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
|||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
if exist "%Systemdrive%\Users\WDAGUtilityAccount" (
|
|
||||||
sc query gcs | find /i "RUNNING" %nul% && (
|
|
||||||
%eline%
|
|
||||||
echo Windows Sandbox detected; activation is not required.
|
|
||||||
echo The script cannot run due to missing licensing components. Aborting...
|
|
||||||
echo:
|
|
||||||
goto dk_done
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
if %winbuild% LSS 6001 (
|
if %winbuild% LSS 6001 (
|
||||||
%nceline%
|
%nceline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
|
@ -204,16 +204,6 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
|||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
if exist "%Systemdrive%\Users\WDAGUtilityAccount" (
|
|
||||||
sc query gcs | find /i "RUNNING" %nul% && (
|
|
||||||
%eline%
|
|
||||||
echo Windows Sandbox detected; activation is not required.
|
|
||||||
echo The script cannot run due to missing licensing components. Aborting...
|
|
||||||
echo:
|
|
||||||
goto dk_done
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
if %winbuild% LSS 6001 (
|
if %winbuild% LSS 6001 (
|
||||||
%nceline%
|
%nceline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
|
@ -219,16 +219,6 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
|||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
if exist "%Systemdrive%\Users\WDAGUtilityAccount" (
|
|
||||||
sc query gcs | find /i "RUNNING" %nul% && (
|
|
||||||
%eline%
|
|
||||||
echo Windows Sandbox detected; activation is not required.
|
|
||||||
echo The script cannot run due to missing licensing components. Aborting...
|
|
||||||
echo:
|
|
||||||
goto dk_done
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
if %winbuild% LSS 6001 (
|
if %winbuild% LSS 6001 (
|
||||||
%nceline%
|
%nceline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
@ -684,7 +674,7 @@ echo Checking Internet Connection [Connected!ping_f!]
|
|||||||
) else (
|
) else (
|
||||||
if /i %_actmethod%==Auto if not %_actman%==1 set tsmethod=KMS4k
|
if /i %_actmethod%==Auto if not %_actman%==1 set tsmethod=KMS4k
|
||||||
if /i !tsmethod!==KMS4k (
|
if /i !tsmethod!==KMS4k (
|
||||||
call :dk_color %Red% "Checking Internet Connection [Not Connected]"
|
call :dk_color %Gray% "Checking Internet Connection [Not Connected]"
|
||||||
call :dk_color %Blue% "Switching To KMS4k activation because Internet is needed for StaticCID method."
|
call :dk_color %Blue% "Switching To KMS4k activation because Internet is needed for StaticCID method."
|
||||||
) else (
|
) else (
|
||||||
set error=1
|
set error=1
|
||||||
@ -1931,11 +1921,6 @@ if %_actman%==0 (if not defined error call :dk_color %Blue% "%_fixmsg%")
|
|||||||
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"
|
||||||
) else (
|
) else (
|
||||||
if /i %tsmethod%==KMS4k if %winbuild% GEQ 26200 (
|
|
||||||
echo:
|
|
||||||
call :dk_color %Gray% "In Windows settings, you may see a renewal notification for activation that can be ignored."
|
|
||||||
if /i %_actmethod%==Auto call :dk_color %Gray% "To avoid this notification, run the script with an internet connection to use the StaticCID method."
|
|
||||||
)
|
|
||||||
echo "%tsids%" | find /i "7e94be23-b161-4956-a682-146ab291774c" %nul1% && (
|
echo "%tsids%" | find /i "7e94be23-b161-4956-a682-146ab291774c" %nul1% && (
|
||||||
call :dk_color %Gray% "Windows Update can receive 1-3 years of ESU. 4-6 years ESU is not officially supported, but you can manually install updates."
|
call :dk_color %Gray% "Windows Update can receive 1-3 years of ESU. 4-6 years ESU is not officially supported, but you can manually install updates."
|
||||||
)
|
)
|
||||||
|
@ -135,16 +135,6 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
|||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
if exist "%Systemdrive%\Users\WDAGUtilityAccount" (
|
|
||||||
sc query gcs | find /i "RUNNING" %nul% && (
|
|
||||||
%eline%
|
|
||||||
echo Windows Sandbox detected.
|
|
||||||
echo The script cannot run due to missing licensing components. Aborting...
|
|
||||||
echo:
|
|
||||||
goto dk_done
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
if %winbuild% LSS 7600 (
|
if %winbuild% LSS 7600 (
|
||||||
%eline%
|
%eline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
|
@ -140,16 +140,6 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
|||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
if exist "%Systemdrive%\Users\WDAGUtilityAccount" (
|
|
||||||
sc query gcs | find /i "RUNNING" %nul% && (
|
|
||||||
%eline%
|
|
||||||
echo Windows Sandbox detected.
|
|
||||||
echo The script cannot run due to missing licensing components. Aborting...
|
|
||||||
echo:
|
|
||||||
goto dk_done
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
if %winbuild% LSS 7600 (
|
if %winbuild% LSS 7600 (
|
||||||
%eline%
|
%eline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
|
@ -134,16 +134,6 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
|||||||
goto done2
|
goto done2
|
||||||
)
|
)
|
||||||
|
|
||||||
if exist "%Systemdrive%\Users\WDAGUtilityAccount" (
|
|
||||||
sc query gcs | find /i "RUNNING" %nul% && (
|
|
||||||
%eline%
|
|
||||||
echo Windows Sandbox detected.
|
|
||||||
echo The script cannot run due to missing licensing components. Aborting...
|
|
||||||
echo:
|
|
||||||
goto done2
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
if %winbuild% LSS 6001 (
|
if %winbuild% LSS 6001 (
|
||||||
%nceline%
|
%nceline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
|
@ -135,16 +135,6 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
|||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
if exist "%Systemdrive%\Users\WDAGUtilityAccount" (
|
|
||||||
sc query gcs | find /i "RUNNING" %nul% && (
|
|
||||||
%eline%
|
|
||||||
echo Windows Sandbox detected.
|
|
||||||
echo The script cannot run due to missing licensing components. Aborting...
|
|
||||||
echo:
|
|
||||||
goto dk_done
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
if %winbuild% LSS 6001 (
|
if %winbuild% LSS 6001 (
|
||||||
%nceline%
|
%nceline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
|
Loading…
Reference in New Issue
Block a user