21 Commits

Author SHA1 Message Date
Lyssa
146d828b46 Update AIO script to 3.10 2026-01-27 21:35:55 +04:00
Lyssa
d7302ee41b Update version number to 3.10 2026-01-27 21:12:08 +04:00
Lyssa
72cd62552e Remove newlines before blue lines 2026-01-27 20:59:20 +04:00
Lyssa
8d8ed5d098 Suggest in-place repair if license package files are missing 2026-01-27 20:27:33 +04:00
Lyssa
f0d13cb216 Remove unnecessary insider check in Ohook script + make CAS beginning comment consistent with other scripts 2026-01-27 17:12:28 +04:00
Lyssa
a93b4b3f4b Add warnings for Smart App Control 2026-01-26 15:40:36 +04:00
WitherOrNot
a353813814 Add Windows Server 2016 ESU 2026-01-25 21:04:32 -05:00
Lyssa
da9358e4d8 Merge remote-tracking branch 'secondary/master' 2026-01-16 12:00:15 +04:00
Lyssa
3024b1ca98 Evade false flag 2026-01-16 11:27:26 +04:00
Lyssa
31a79148b1 Clean up README.md a bit 2026-01-15 16:14:29 +04:00
May
da0b2800d9 fix git url 2025-12-12 20:19:17 +00:00
WitherOrNot
54a1ec3d54 Fix self-hosted git URL 2025-11-23 16:27:07 -05:00
WindowsAddict
5f40fb4a79 Remove email 2025-11-22 12:35:29 +05:30
WindowsAddict
541364642b Revert export-ignore 2025-11-19 03:59:34 +05:30
WindowsAddict
2bc48bfd4d export-ignore 2025-11-19 03:55:25 +05:30
WindowsAddict
f69e4ff432 3.9 2025-11-19 03:37:36 +05:30
WindowsAddict
f8f37b38fe Don't auto change IoTEnterprise to Enterprise in KMS script 2025-11-19 02:53:24 +05:30
WindowsAddict
3c7178aaf6 Remove the deprecated Semi-Annual Preview channel in change update channel option 2025-11-18 13:53:38 +05:30
WindowsAddict
41783f7a23 Evade AV detections 2025-11-18 13:20:39 +05:30
WindowsAddict
e7e73a8fbc Use Client-ESU license instead of Client-IoT-ESU (it has bugs) for IoTEnterprise edition 2025-11-18 12:44:37 +05:30
WindowsAddict
7327f3b445 Revert export-ignore 2025-11-12 05:01:10 +05:30
12 changed files with 221 additions and 328 deletions

8
.gitattributes vendored
View File

@@ -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

View File

@@ -1,19 +1,18 @@
@::r45f3r3-random @::ab7249d77random13141b5922144806de5d43f
@set masver=3.8 @set masver=3.10
@setlocal DisableDelayedExpansion @setlocal DisableDelayedExpansion
@echo off @echo off
:: For command line switches, check mass()grave(dot)dev/command_line_switches :: For command line switches, check m{}assgrave{dot}dev/command_line_switches
:: If you want to better understand script, read from separate files version. :: If you want to better understand script, read from separate files version.
::============================================================================ ::============================================================================
:: ::
:: Homepage: mass()grave(dot)dev :: Homepage: m{}assgrave{dot}dev
:: Email: mas.help@outlook.com
:: ::
::============================================================================ ::============================================================================
@@ -67,9 +66,9 @@ exit /b
::======================================================================================================================================== ::========================================================================================================================================
set "blank=" set "blank="
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/" set "mas=ht%blank%tps%blank%://m%blank%ass%blank%grave.dev/"
set "github=ht%blank%tps%blank%://github.com/massgra%blank%vel/Micro%blank%soft-Acti%blank%vation-Scripts" set "github=ht%blank%tps%blank%://github.com/m%blank%assgra%blank%vel/Micro%blank%soft-Acti%blank%vation-Scripts"
set "selfgit=ht%blank%tps%blank%://git.acti%blank%vated.win/massg%blank%rave/Micr%blank%osoft-Act%blank%ivation-Scripts" set "selfgit=ht%blank%tps%blank%://git.acti%blank%vated.win/Micr%blank%osoft-Act%blank%ivation-Scripts"
:: Check if Null service is working, it's important for the batch script :: Check if Null service is working, it's important for the batch script
@@ -680,7 +679,6 @@ if %winbuild% LSS 10240 (
%eline% %eline%
echo Unsupported OS version detected [%winbuild%]. echo Unsupported OS version detected [%winbuild%].
echo HWID Activation is only supported on Windows 10/11. echo HWID Activation is only supported on Windows 10/11.
echo:
call :dk_color %Blue% "Use TSforge activation option from the main menu." call :dk_color %Blue% "Use TSforge activation option from the main menu."
goto dk_done goto dk_done
) )
@@ -966,7 +964,6 @@ call :dk_color %Red% "Checking Ticket Migration [Failed]"
if not defined altapplist if not defined showfix if defined rebuildinfo ( if not defined altapplist if not defined showfix if defined rebuildinfo (
set showfix=1 set showfix=1
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
) )
@@ -1054,7 +1051,6 @@ reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v DisableWin
reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v DoNotConnectToWindowsUpdateInternetLocations %nul2% | find /i "0x1" %nul% && set wublock=1 reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v DoNotConnectToWindowsUpdateInternetLocations %nul2% | find /i "0x1" %nul% && set wublock=1
if defined wublock ( if defined wublock (
call :dk_color %Red% "Checking Update Blocker In Registry [Found]" call :dk_color %Red% "Checking Update Blocker In Registry [Found]"
echo:
call :dk_color %Blue% "HWID activation needs working Windows updates, if you have used any tool to block updates, undo it." call :dk_color %Blue% "HWID activation needs working Windows updates, if you have used any tool to block updates, undo it."
echo: echo:
) )
@@ -1062,7 +1058,6 @@ echo:
reg query "HKLM\SOFTWARE\Policies\Microsoft\WindowsStore" /v DisableStoreApps %nul2% | find /i "0x1" %nul% && ( reg query "HKLM\SOFTWARE\Policies\Microsoft\WindowsStore" /v DisableStoreApps %nul2% | find /i "0x1" %nul% && (
set storeblock=1 set storeblock=1
call :dk_color %Red% "Checking Store Blocker In Registry [Found]" call :dk_color %Red% "Checking Store Blocker In Registry [Found]"
echo:
call :dk_color %Blue% "If you have used any tool to block Store, undo it." call :dk_color %Blue% "If you have used any tool to block Store, undo it."
echo: echo:
) )
@@ -1086,7 +1081,6 @@ 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:
) else ( ) else (
echo:
call :dk_color %Blue% "HWID activation needs working Windows updates, if you have used any tool to block updates, undo it." call :dk_color %Blue% "HWID activation needs working Windows updates, if you have used any tool to block updates, undo it."
echo: echo:
) )
@@ -1097,7 +1091,6 @@ set error=1
set wuerror=1 set wuerror=1
sc start wuauserv %nul% sc start wuauserv %nul%
call :dk_color %Red% "Starting Windows Update Service [Failed] [!errorlevel!]" call :dk_color %Red% "Starting Windows Update Service [Failed] [!errorlevel!]"
echo:
call :dk_color %Blue% "HWID activation needs working Windows updates, if you have used any tool to block updates, undo it." call :dk_color %Blue% "HWID activation needs working Windows updates, if you have used any tool to block updates, undo it."
echo: echo:
) )
@@ -1324,7 +1317,6 @@ echo %keyecho% %~1 [Successful]
call :dk_color %Red% "%keyecho% %~1 [Failed] %keyerror%" call :dk_color %Red% "%keyecho% %~1 [Failed] %keyerror%"
if not defined showfix ( if not defined showfix (
if defined altapplist call :dk_color %Red% "Activation ID not found for this key." if defined altapplist call :dk_color %Red% "Activation ID not found for this key."
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
set showfix=1 set showfix=1
@@ -1466,7 +1458,6 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
%eline% %eline%
echo sc start %_slser% [Error Code: %spperror%] echo sc start %_slser% [Error Code: %spperror%]
if %spperror% EQU 1053 ( if %spperror% EQU 1053 (
echo:
call :dk_color %Blue% "Reboot your machine using the restart option and try again." call :dk_color %Blue% "Reboot your machine using the restart option and try again."
call :dk_color %Blue% "If it still does not work, go back to Main Menu, select Troubleshoot and run Fix WPA Registry option." call :dk_color %Blue% "If it still does not work, go back to Main Menu, select Troubleshoot and run Fix WPA Registry option."
) )
@@ -1576,7 +1567,6 @@ call :dk_chkmal
sc query Null %nul% || ( sc query Null %nul% || (
call :dk_color %Red% "Checking Sandboxing [Found, script may not work properly]" call :dk_color %Red% "Checking Sandboxing [Found, script may not work properly]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "If you are using any third-party antivirus, check if it is blocking the script." call :dk_color %Blue% "If you are using any third-party antivirus, check if it is blocking the script."
echo: echo:
) )
@@ -1592,7 +1582,6 @@ reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinPE" /v InstRoot
call :dk_color %Red% "Checking WinPE [Found]" call :dk_color %Red% "Checking WinPE [Found]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "WinPE mode found. Reboot the system and run in normal mode." call :dk_color %Blue% "WinPE mode found. Reboot the system and run in normal mode."
echo: echo:
) )
@@ -1607,7 +1596,6 @@ set showfix=1
if defined safeboot_option ( if defined safeboot_option (
call :dk_color %Red% "Checking Boot Mode [%safeboot_option%]" call :dk_color %Red% "Checking Boot Mode [%safeboot_option%]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Safe mode found. Reboot the system and run in normal mode." call :dk_color %Blue% "Safe mode found. Reboot the system and run in normal mode."
echo: echo:
) )
@@ -1626,7 +1614,6 @@ if /i not "%imagestate%"=="IMAGE_STATE_COMPLETE" (
call :dk_color %Gray% "Checking Windows Setup State [%imagestate%]" call :dk_color %Gray% "Checking Windows Setup State [%imagestate%]"
echo "%imagestate%" | find /i "RESEAL" %nul% && ( echo "%imagestate%" | find /i "RESEAL" %nul% && (
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "You need to run it in normal mode in case you are running it in Audit Mode." call :dk_color %Blue% "You need to run it in normal mode in case you are running it in Audit Mode."
echo: echo:
) )
@@ -1721,7 +1708,6 @@ if not defined showfix (
echo: echo:
echo %serv_cste% | findstr /i "ClipSVC sppsvc" %nul% && ( echo %serv_cste% | findstr /i "ClipSVC sppsvc" %nul% && (
echo A registry fix has been applied to enable the disabled service. echo A registry fix has been applied to enable the disabled service.
echo:
call :dk_color %Blue% "Reboot your machine using the restart option to fix this error." call :dk_color %Blue% "Reboot your machine using the restart option to fix this error."
) || ( ) || (
set fixes=%fixes% %mas%in-place_repair_upgrade set fixes=%fixes% %mas%in-place_repair_upgrade
@@ -1762,7 +1748,6 @@ if not defined showfix (
set listwospp=%_serv:sppsvc=% set listwospp=%_serv:sppsvc=%
echo %serv_e% | findstr /i "!listwospp!" %nul% && ( echo %serv_e% | findstr /i "!listwospp!" %nul% && (
set showfix=1 set showfix=1
echo:
call :dk_color %Blue% "Reboot your machine using the restart option and run the script again." call :dk_color %Blue% "Reboot your machine using the restart option and run the script again."
set fixes=%fixes% %mas%in-place_repair_upgrade set fixes=%fixes% %mas%in-place_repair_upgrade
call :dk_color2 %Blue% "If service error is still not fixed, do this - " %_Yellow% " %mas%in-place_repair_upgrade" call :dk_color2 %Blue% "If service error is still not fixed, do this - " %_Yellow% " %mas%in-place_repair_upgrade"
@@ -1794,7 +1779,6 @@ if defined wmifailed (
call :dk_color %Red% "Checking WMI [Not Working]" call :dk_color %Red% "Checking WMI [Not Working]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option." call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
echo: echo:
) )
@@ -1906,7 +1890,6 @@ if !errorlevel!==3 set "permerror=Error Found In S-1-5-20 SPP"
if defined permerror ( if defined permerror (
call :dk_color %Red% "Checking SPP Permissions [!permerror!]" call :dk_color %Red% "Checking SPP Permissions [!permerror!]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
) )
@@ -1928,7 +1911,6 @@ if defined chkalp (
call :dk_color %Red% "Checking WPA Registry Errors [%wpainfo%]" call :dk_color %Red% "Checking WPA Registry Errors [%wpainfo%]"
if not defined showfix ( if not defined showfix (
echo "%wpainfo%" | find /i "Error Found" %nul% && ( echo "%wpainfo%" | find /i "Error Found" %nul% && (
echo:
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option." call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option."
echo: echo:
set error=1 set error=1
@@ -1941,7 +1923,6 @@ set wpainfo=a
if not defined chkalp ( if not defined chkalp (
if %wpainfo% GEQ 5000 ( if %wpainfo% GEQ 5000 (
call :dk_color %Gray% "Checking WPA Registry Count [%wpainfo%]" call :dk_color %Gray% "Checking WPA Registry Count [%wpainfo%]"
echo:
call :dk_color %Blue% "A large number of WPA registries have been found, which may cause high CPU usage." call :dk_color %Blue% "A large number of WPA registries have been found, which may cause high CPU usage."
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option." call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option."
echo: echo:
@@ -1957,7 +1938,6 @@ echo Checking WPA Registry Count [%wpainfo%]
reg query "HKU\S-1-5-20\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\PersistedTSReArmed" %nul% && ( reg query "HKU\S-1-5-20\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\PersistedTSReArmed" %nul% && (
call :dk_color %Red% "Checking Rearm [System is Rearmed]" call :dk_color %Red% "Checking Rearm [System is Rearmed]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Reboot your machine using the restart option to fix this error." call :dk_color %Blue% "Reboot your machine using the restart option to fix this error."
echo: echo:
) )
@@ -1969,7 +1949,6 @@ set showfix=1
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ClipSVC\Volatile\PersistedSystemState" %nul% && ( reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ClipSVC\Volatile\PersistedSystemState" %nul% && (
call :dk_color %Red% "Checking ClipSVC PersistedSystemState [Found]" call :dk_color %Red% "Checking ClipSVC PersistedSystemState [Found]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Reboot your machine using the restart option to fix this error." call :dk_color %Blue% "Reboot your machine using the restart option to fix this error."
echo: echo:
) )
@@ -1984,7 +1963,6 @@ set showfix=1
if %error_code% NEQ 0 ( if %error_code% NEQ 0 (
call :dk_color %Red% "Checking SoftwareLicensingService [Not Working] [%error_code%]" call :dk_color %Red% "Checking SoftwareLicensingService [Not Working] [%error_code%]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option." call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
echo: echo:
@@ -2014,7 +1992,6 @@ call :dk_color %Gray% "Checking Activation IDs [Key Not Installe
if not defined apps if not defined allapps ( if not defined apps if not defined allapps (
call :dk_color %Red% "Checking Activation IDs [Not found]" call :dk_color %Red% "Checking Activation IDs [Not found]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option." call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
echo: echo:
@@ -2024,7 +2001,6 @@ set showfix=1
) )
if not defined showfix if defined rlicfailed ( if not defined showfix if defined rlicfailed (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option." call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
echo: echo:
@@ -2042,7 +2018,6 @@ if not defined notwinact if exist "%SystemRoot%\Servicing\Packages\Microsoft-Win
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Eval" %nul1% || ( reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Eval" %nul1% || (
call :dk_color %Red% "Checking Eval Packages [License swapping found. Non-Eval licenses are installed in Eval Windows]" call :dk_color %Red% "Checking Eval Packages [License swapping found. Non-Eval licenses are installed in Eval Windows]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "License swapping is not the right way to upgrade to the full version. Learn the correct method at the link below." call :dk_color %Blue% "License swapping is not the right way to upgrade to the full version. Learn the correct method at the link below."
set fixes=%fixes% %mas%evaluation_editions set fixes=%fixes% %mas%evaluation_editions
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%evaluation_editions" call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%evaluation_editions"
@@ -2098,6 +2073,13 @@ call :dk_color %Red% "Checking License Files [Not Found] [%osed
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*-%osedition%-*.mum" ( if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*-%osedition%-*.mum" (
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-%osedition%Edition*.mum" ( if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-%osedition%Edition*.mum" (
call :dk_color %Red% "Checking Package Files [Not Found] [%osedition%]" call :dk_color %Red% "Checking Package Files [Not Found] [%osedition%]"
if not defined showfix (
set fixes=%fixes% %mas%in-place_repair_upgrade
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%in-place_repair_upgrade"
echo:
)
set error=1
set showfix=1
) )
) )
) )
@@ -2144,7 +2126,6 @@ if defined _sppint (
echo %_sppint% | find /i "PerfOptions" %nul% && ( echo %_sppint% | find /i "PerfOptions" %nul% && (
call :dk_color %Red% "Checking SPP Interference In IFEO [%_sppint% - System might deactivate later]" call :dk_color %Red% "Checking SPP Interference In IFEO [%_sppint% - System might deactivate later]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
) )
@@ -2560,7 +2541,6 @@ goto :oh_menu
cls cls
if not defined terminal ( if not defined terminal (
mode 140, 32 mode 140, 32
if exist "%SysPath%\spp\store_test\" mode 140, 32
%psc% "&{$W=$Host.UI.RawUI.WindowSize;$B=$Host.UI.RawUI.BufferSize;$W.Height=32;$B.Height=300;$Host.UI.RawUI.WindowSize=$W;$Host.UI.RawUI.BufferSize=$B;}" %nul% %psc% "&{$W=$Host.UI.RawUI.WindowSize;$B=$Host.UI.RawUI.BufferSize;$W.Height=32;$B.Height=300;$Host.UI.RawUI.WindowSize=$W;$Host.UI.RawUI.BufferSize=$B;}" %nul%
) )
title Ohook Activation %masver% title Ohook Activation %masver%
@@ -2679,7 +2659,6 @@ if defined ohub (
echo: echo:
echo You only have the Office Dashboard app installed. You need to install the full version of Office. echo You only have the Office Dashboard app installed. You need to install the full version of Office.
) )
echo:
call :dk_color %Blue% "Download and install Office from the below URL and then try again." call :dk_color %Blue% "Download and install Office from the below URL and then try again."
echo: echo:
set fixes=%fixes% %mas%genuine-installation-media set fixes=%fixes% %mas%genuine-installation-media
@@ -2707,6 +2686,26 @@ reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2
::======================================================================================================================================== ::========================================================================================================================================
:: Check Smart App Control
set "sacstate="
if %winbuild% GEQ 22621 (
for /f "tokens=3" %%a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\CI\Policy" /v VerifiedAndReputablePolicyState %nul6%') do set "sacstate=%%a"
)
if defined sacstate (
if "%sacstate%"=="0x1" (
call :dk_color %Gray% "Checking Smart App Control State [Enabled]"
call :dk_color %Blue% "Smart App Control may prevent you from opening Office after Ohook activation."
call :dk_color %Blue% "You will need to disable it from the Windows Defender settings if it does."
) else if "%sacstate%"=="0x2" (
call :dk_color %Gray% "Checking Smart App Control State [Evaluation]"
call :dk_color %Blue% "Smart App Control may prevent you from opening Office in the future if it enables itself after the evaluation period."
call :dk_color %Blue% "It is recommended that you disable it from the Windows Defender settings."
)
)
::========================================================================================================================================
:: Process Office 15.0 C2R :: Process Office 15.0 C2R
if not defined o15c2r goto :starto16c2r if not defined o15c2r goto :starto16c2r
@@ -2833,7 +2832,7 @@ call :dk_color %Gray% "Checking Old Office With Sub License [Found. Update Of
::======================================================================================================================================== ::========================================================================================================================================
:: mass()grave(dot)dev/office-license-is-not-genuine :: mass{}grave{dot}dev/office-license-is-not-genuine
:: Add registry keys for volume products so that 'non-genuine' banner won't appear :: Add registry keys for volume products so that 'non-genuine' banner won't appear
:: Script already is using MAK instead of GVLK so it won't appear anyway, but registry keys are added incase Office installs default GVLK grace key for volume products :: Script already is using MAK instead of GVLK so it won't appear anyway, but registry keys are added incase Office installs default GVLK grace key for volume products
@@ -3722,7 +3721,6 @@ if %upk_result%==1 echo Uninstalling Other/Grace Keys [Successful]
if %upk_result%==2 ( if %upk_result%==2 (
call :dk_color %Red% "Uninstalling Other/Grace Keys [Failed]" call :dk_color %Red% "Uninstalling Other/Grace Keys [Failed]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
set showfix=1 set showfix=1
@@ -4158,13 +4156,13 @@ $MemoryStream.Close()
:: ::
:: The files are encoded in base64 to make AIO version. :: The files are encoded in base64 to make AIO version.
:: ::
:: mass()grave(dot)dev/ohook :: mass{}grave{dot}dev/ohook
:: Here you can find the files source code and info on how to rebuild the identical sppc.dll files :: Here you can find the files source code and info on how to rebuild the identical sppc.dll files
:: ::
:: stackoverflow.com/a/35335273 :: stackoverflow.com/a/35335273
:: Here you can check how to extract sppc.dll files from base64 :: Here you can check how to extract sppc.dll files from base64
:: ::
:: For any further question, feel free to contact us on mass()grave(dot)dev/contactus :: For any further question, feel free to contact us on mass{}grave{dot}dev/contactus
:: ::
::======================================================================================================================================== ::========================================================================================================================================
:: ::
@@ -5056,7 +5054,7 @@ set w10EsuEditions=Education-EducationN-Enterprise-EnterpriseN-Professional-Prof
set minbuild=0 set minbuild=0
if /i %tsedition%==ServerRdsh set minbuild=5552 if /i %tsedition%==ServerRdsh set minbuild=5552
for %%# in (Core CoreN CoreCountrySpecific CoreSingleLanguage) do (if /i %tsedition%==%%# set minbuild=6156) for %%# in (Core CoreN CoreCountrySpecific CoreSingleLanguage IoTEnterprise) do (if /i %tsedition%==%%# set minbuild=6156)
if /i %tsedition%==PPIPro set minbuild=6388 if /i %tsedition%==PPIPro set minbuild=6388
set /a UBR=0 set /a UBR=0
@@ -5085,10 +5083,9 @@ f520e45e-7413-4a34-a497-d2765967d094_Client-ESU-Year1_-%w10EsuEditions%-%w10EsuE
1043add5-23b1-4afb-9a0f-64343c8f3f8d_Client-ESU-Year2_-%w10EsuEditions%-%w10EsuEditionsLaterAdded% 1043add5-23b1-4afb-9a0f-64343c8f3f8d_Client-ESU-Year2_-%w10EsuEditions%-%w10EsuEditionsLaterAdded%
83d49986-add3-41d7-ba33-87c7bfb5c0fb_Client-ESU-Year3_-%w10EsuEditions%-%w10EsuEditionsLaterAdded% 83d49986-add3-41d7-ba33-87c7bfb5c0fb_Client-ESU-Year3_-%w10EsuEditions%-%w10EsuEditionsLaterAdded%
0b533b5e-08b6-44f9-b885-c2de291ba456_Client-ESU-Year6[4-6y]_-%w10EsuEditions%-%w10EsuEditionsLaterAdded% 0b533b5e-08b6-44f9-b885-c2de291ba456_Client-ESU-Year6[4-6y]_-%w10EsuEditions%-%w10EsuEditionsLaterAdded%
b8527af1-5389-447c-9a88-2d1691ea33d3_Client-IoT-ESU-Year1_-IoTEnterprise- REM WindowsServer2016
7b76ee02-0a75-4f08-85d5-bd0feadad0c0_Client-IoT-ESU-Year2_-IoTEnterprise- 91bcac0a-d7d3-4d2b-bd0c-72fed675f01b_Server-ESU-Year3[1-3y]_-ServerDatacenter-ServerDatacenterCore-ServerDatacenterV-ServerDatacenterVCore-ServerStandard-ServerStandardCore-ServerStandardV-ServerStandardVCore-
4dac5a0c-5709-4595-a32c-14a56a4a6b31_Client-IoT-ESU-Year3_-IoTEnterprise- 4cd0ab30-73a4-4dde-972c-512f05be31df_Server-ESU-Year6[4-6y]_-ServerDatacenter-ServerDatacenterCore-ServerDatacenterV-ServerDatacenterVCore-ServerStandard-ServerStandardCore-ServerStandardV-ServerStandardVCore-
f69e2d51-3bbd-4ddf-8da7-a145e9dca597_Client-IoT-ESU-Year6[4-6y]_-IoTEnterprise-
) do ( ) do (
for /f "tokens=1-3 delims=_" %%A in ("%%#") do ( for /f "tokens=1-3 delims=_" %%A in ("%%#") do (
echo "%allapps%" | find /i "%%A" %nul1% && ( echo "%allapps%" | find /i "%%A" %nul1% && (
@@ -5144,7 +5141,7 @@ goto :ts_off
set esuavail= set esuavail=
if defined _vis if defined isServer set esuavail=1 if defined _vis if defined isServer set esuavail=1
if %winbuild% LEQ 7602 if not defined _vis if not defined isThinpc set esuavail=1 if %winbuild% LEQ 7602 if not defined _vis if not defined isThinpc set esuavail=1
if %winbuild% GTR 7602 if %winbuild% LSS 10240 if defined isServer set esuavail=1 if %winbuild% GTR 7602 if %winbuild% LSS 14393 if defined isServer set esuavail=1
if %winbuild% GEQ 10240 if %winbuild% LEQ 19045 if not defined isServer set esuavail=1 if %winbuild% GEQ 10240 if %winbuild% LEQ 19045 if not defined isServer set esuavail=1
if %winbuild% EQU 9600 set esuavail=1 if %winbuild% EQU 9600 set esuavail=1
@@ -5414,7 +5411,7 @@ call :ts_process
::======================================================================================================================================== ::========================================================================================================================================
:: mass()grave(dot)dev/office-license-is-not-genuine :: mass{}grave{dot}dev/office-license-is-not-genuine
:: Add registry keys for volume products so that 'non-genuine' banner won't appear :: Add registry keys for volume products so that 'non-genuine' banner won't appear
set "kmskey=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\0ff1ce15-a989-479d-af46-f275c6370663" set "kmskey=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\0ff1ce15-a989-479d-af46-f275c6370663"
@@ -5904,7 +5901,7 @@ call :dk_color %Gray% "Windows Update gets 1-3 years of ESU; 4-6 are unofficial
echo "%tsids%" | findstr /i "4afc620f-12a4-48ad-8015-2aebfbd6e47c 11be7019-a309-4763-9a09-091d1722ffe3" %nul1% && ( echo "%tsids%" | findstr /i "4afc620f-12a4-48ad-8015-2aebfbd6e47c 11be7019-a309-4763-9a09-091d1722ffe3" %nul1% && (
call :dk_color %Gray% "ESU is not officially supported on Windows 8.1, but updates can be installed manually until January 2024." call :dk_color %Gray% "ESU is not officially supported on Windows 8.1, but updates can be installed manually until January 2024."
) )
echo "%tsids%" | findstr /i "0b533b5e-08b6-44f9-b885-c2de291ba456 f69e2d51-3bbd-4ddf-8da7-a145e9dca597" %nul1% && ( echo "%tsids%" | findstr /i "83d49986-add3-41d7-ba33-87c7bfb5c0fb 0b533b5e-08b6-44f9-b885-c2de291ba456" %nul1% && (
call :dk_color %Gray% "Windows Update gets 1-3 years of ESU; 4-6 are unofficial but may let you install LTSC updates manually." call :dk_color %Gray% "Windows Update gets 1-3 years of ESU; 4-6 are unofficial but may let you install LTSC updates manually."
if exist %SysPath%\ClipESUConsumer.exe (%SysPath%\ClipESUConsumer.exe -evaluateEligibility) if exist %SysPath%\ClipESUConsumer.exe (%SysPath%\ClipESUConsumer.exe -evaluateEligibility)
if exist %SysPath%\ClipESU.exe (%SysPath%\ClipESU.exe %nul%) if exist %SysPath%\ClipESU.exe (%SysPath%\ClipESU.exe %nul%)
@@ -12716,7 +12713,7 @@ if %winbuild% GEQ 9200 (
for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun /v InstallPath" %nul6%') do if exist "%%b\root\Licenses16\ProPlus*.xrm-ms" set "_C16R=1" for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun /v InstallPath" %nul6%') do if exist "%%b\root\Licenses16\ProPlus*.xrm-ms" set "_C16R=1"
for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun /v InstallPath /reg:32" %nul6%') do if exist "%%b\root\Licenses16\ProPlus*.xrm-ms" set "_C16R=1" for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun /v InstallPath /reg:32" %nul6%') do if exist "%%b\root\Licenses16\ProPlus*.xrm-ms" set "_C16R=1"
if defined _C16R ( if defined _C16R (
REM mass()grave(dot)dev/office-license-is-not-genuine REM mass{}grave{dot}dev/office-license-is-not-genuine
set _server=10.0.0.10 set _server=10.0.0.10
call :_taskregserv call :_taskregserv
echo Keeping the non-existent IP address 10.0.0.10 as %KS% Server. echo Keeping the non-existent IP address 10.0.0.10 as %KS% Server.
@@ -12983,7 +12980,6 @@ call :ks_clearstuff
set error_=9 set error_=9
echo Failed to completely clear %KS% Cache. echo Failed to completely clear %KS% Cache.
reg query "HKLM\%SPPk%\%_wApp%" /s %nul2% | findstr /i "127.0.0.2" %nul1% && echo KMS38 activation is locked. reg query "HKLM\%SPPk%\%_wApp%" /s %nul2% | findstr /i "127.0.0.2" %nul1% && echo KMS38 activation is locked.
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
) || ( ) || (
@@ -13061,8 +13057,7 @@ exit /b
::============================================================================ ::============================================================================
:: ::
:: Homepage: mass()grave(dot)dev :: Homepage: m{}assgrave{dot}dev
:: Email: mas.help@outlook.com
:: ::
::============================================================================ ::============================================================================
@@ -13671,7 +13666,6 @@ echo:
echo This Script is a part of MAS project. echo This Script is a part of MAS project.
echo: echo:
echo Homepage: mass%w%grave%w%.dev echo Homepage: mass%w%grave%w%.dev
echo Email: mas.help@outlook.com
)>"%_dest%\Info.txt" )>"%_dest%\Info.txt"
exit /b exit /b
@@ -14465,9 +14459,6 @@ set notfoundaltactID=
if %_NoEditionChange%==1 exit /b if %_NoEditionChange%==1 exit /b
for %%# in ( for %%# in (
188_IoTEnterprise__________________8ab9bdd1-1f67-4997-82d9-8878520837d9_73111121-5638-40f6-bc11-f1d7b0d64300_NPPR9-FWDCX-D2C8J-H872K-2Y%f%T43_Enterprise
206_IoTEnterpriseK_________________80083eae-7031-4394-9e88-4901973d56fe_73111121-5638-40f6-bc11-f1d7b0d64300_NPPR9-FWDCX-D2C8J-H872K-2Y%f%T43_Enterprise
191_IoTEnterpriseS-2021____________ed655016-a9e8-4434-95d9-4345352c2552_32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee_M7XTQ-FN8P6-TTKYV-9D4CC-J4%f%62D_EnterpriseS-2021
205_IoTEnterpriseSK________________d4f9b41f-205c-405e-8e08-3d16e88e02be_59eb965c-9150-42b7-a0ec-22151b9897c5_KBN8V-HFGQ4-MGXVD-347P6-PD%f%QGT_IoTEnterpriseS 205_IoTEnterpriseSK________________d4f9b41f-205c-405e-8e08-3d16e88e02be_59eb965c-9150-42b7-a0ec-22151b9897c5_KBN8V-HFGQ4-MGXVD-347P6-PD%f%QGT_IoTEnterpriseS
138_ProfessionalSingleLanguage_____a48938aa-62fa-4966-9d44-9f04da3f72f2_2de67392-b7a7-462a-b1ca-108dd189f588_W269N-WFGWX-YVC9B-4J6C9-T8%f%3GX_Professional 138_ProfessionalSingleLanguage_____a48938aa-62fa-4966-9d44-9f04da3f72f2_2de67392-b7a7-462a-b1ca-108dd189f588_W269N-WFGWX-YVC9B-4J6C9-T8%f%3GX_Professional
139_ProfessionalCountrySpecific____f7af7d09-40e4-419c-a49b-eae366689ebd_2de67392-b7a7-462a-b1ca-108dd189f588_W269N-WFGWX-YVC9B-4J6C9-T8%f%3GX_Professional 139_ProfessionalCountrySpecific____f7af7d09-40e4-419c-a49b-eae366689ebd_2de67392-b7a7-462a-b1ca-108dd189f588_W269N-WFGWX-YVC9B-4J6C9-T8%f%3GX_Professional
@@ -16814,7 +16805,6 @@ sc query Winmgmt | find /i "STOPPED" %nul% && (
echo [Successful] echo [Successful]
) || ( ) || (
call :dk_color %Red% "[Failed]" call :dk_color %Red% "[Failed]"
echo:
call :dk_color %Blue% "Its recommended to select [Restart] option and then apply Fix WMI option again." call :dk_color %Blue% "Its recommended to select [Restart] option and then apply Fix WMI option again."
echo %line% echo %line%
echo: echo:
@@ -17236,7 +17226,6 @@ dism.exe
if not exist %SysPath%\%%# ( if not exist %SysPath%\%%# (
%eline% %eline%
echo [%SysPath%\%%#] file is missing, aborting... echo [%SysPath%\%%#] file is missing, aborting...
echo:
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:
@@ -17272,7 +17261,6 @@ call :dk_actids 55c92734-d682-4d71-983e-d6ec3f16059f
if not defined allapps ( if not defined allapps (
%eline% %eline%
echo Failed to find activation IDs. Aborting... echo Failed to find activation IDs. Aborting...
echo:
call :dk_color %Blue% "To fix this issue, activate Windows from the main menu." call :dk_color %Blue% "To fix this issue, activate Windows from the main menu."
goto dk_done goto dk_done
) )
@@ -17294,7 +17282,6 @@ if not defined osedition %chkedi% do if not errorlevel 1 (call set "osedition=%%
if not defined osedition ( if not defined osedition (
%eline% %eline%
echo Failed to detect OS edition, aborting... echo Failed to detect OS edition, aborting...
echo:
call :dk_color %Blue% "To fix this issue, activate Windows from the main menu." call :dk_color %Blue% "To fix this issue, activate Windows from the main menu."
goto dk_done goto dk_done
) )
@@ -18130,7 +18117,6 @@ if %_wmic% EQU 0 set "chkedi=for /f "tokens=2 delims==" %%a in ('%psc% "(([WMISE
if %osedition%==0 ( if %osedition%==0 (
%eline% %eline%
echo Failed to detect OS Edition. Aborting... echo Failed to detect OS Edition. Aborting...
echo:
call :dk_color %Blue% "To fix this issue, activate Windows from the main menu." call :dk_color %Blue% "To fix this issue, activate Windows from the main menu."
goto dk_done goto dk_done
) )
@@ -18167,7 +18153,6 @@ if %verchk% LSS 9029 (
echo Installed Office version is %_version%. echo Installed Office version is %_version%.
echo Minimum required version is 16.0.9029.2167 echo Minimum required version is 16.0.9029.2167
echo Aborting... echo Aborting...
echo:
call :dk_color %Blue% "Download and install latest Office from below URL and try again." call :dk_color %Blue% "Download and install latest Office from below URL and try again."
set fixes=%fixes% %mas%genuine-installation-media set fixes=%fixes% %mas%genuine-installation-media
call :dk_color %_Yellow% "%mas%genuine-installation-media" call :dk_color %_Yellow% "%mas%genuine-installation-media"
@@ -18190,7 +18175,6 @@ _masterxml
if not defined %%A ( if not defined %%A (
%eline% %eline%
echo Failed to find %%A. Aborting... echo Failed to find %%A. Aborting...
echo:
call :dk_color %Blue% "Download and install Office from below URL and try again." call :dk_color %Blue% "Download and install Office from below URL and try again."
set fixes=%fixes% %mas%genuine-installation-media set fixes=%fixes% %mas%genuine-installation-media
call :dk_color %_Yellow% "%mas%genuine-installation-media" call :dk_color %_Yellow% "%mas%genuine-installation-media"
@@ -18542,7 +18526,6 @@ if /i "%_lang%"=="%%#" set langmatched=1
if not defined langmatched ( if not defined langmatched (
%eline% %eline%
echo %_lang% language is not available for Project/Visio apps. echo %_lang% language is not available for Project/Visio apps.
echo:
call :dk_color %Blue% "Install Office in the supported language for Project/Visio from the below URL." call :dk_color %Blue% "Install Office in the supported language for Project/Visio from the below URL."
set fixes=%fixes% %mas%genuine-installation-media set fixes=%fixes% %mas%genuine-installation-media
call :dk_color %_Yellow% "%mas%genuine-installation-media" call :dk_color %_Yellow% "%mas%genuine-installation-media"
@@ -18803,12 +18786,11 @@ call :dk_color %Gray% "Installed Office editions: %_oIds%"
echo: echo:
for %%# in ( for %%# in (
"5440fd1f-7ecb-4221-8110-145efaa6372f_Insider Fast [Beta] - Insiders::DevMain -" "5440fd1f-7ecb-4221-8110-145efaa6372f_Beta / Insider Fast - Insiders::DevMain -"
"64256afe-f5d9-4f86-8936-8840a6a4f5be_Monthly Preview - Insiders::CC -" "64256afe-f5d9-4f86-8936-8840a6a4f5be_Current / Monthly Preview - Insiders::CC -"
"492350f6-3a01-4f97-b9c0-c7c6ddf67d60_Monthly [Current] - Production::CC -" "492350f6-3a01-4f97-b9c0-c7c6ddf67d60_Current / Monthly - Production::CC -"
"55336b82-a18d-4dd6-b5f6-9e5095c314a6_Monthly Enterprise - Production::MEC -" "55336b82-a18d-4dd6-b5f6-9e5095c314a6_Monthly Enterprise - Production::MEC -"
"b8f9b850-328d-4355-9145-c59439a0c4cf_Semi Annual Preview - Insiders::FRDC -" "7ffbc6bf-bc32-4f92-8982-f9dd17fd3114_Semi Annual Enterprise - Production::DC -"
"7ffbc6bf-bc32-4f92-8982-f9dd17fd3114_Semi Annual - Production::DC -"
"ea4a4090-de26-49d7-93c1-91bff9e53fc3_DevMain Channel - Dogfood::DevMain -" "ea4a4090-de26-49d7-93c1-91bff9e53fc3_DevMain Channel - Dogfood::DevMain -"
"b61285dd-d9f7-41f2-9757-8f61cba4e9c8_Microsoft Elite - Microsoft::DevMain -" "b61285dd-d9f7-41f2-9757-8f61cba4e9c8_Microsoft Elite - Microsoft::DevMain -"
"f2e724c1-748f-4b47-8fb8-8e0d210e9208_Perpetual2019 VL - Production::LTSC -" "f2e724c1-748f-4b47-8fb8-8e0d210e9208_Perpetual2019 VL - Production::LTSC -"

View File

@@ -1,12 +1,11 @@
@set masver=3.8 @set masver=3.10
@echo off @echo off
::============================================================================ ::============================================================================
:: ::
:: Homepage: mass()grave(dot)dev :: Homepage: m{}assgrave{dot}dev
:: Email: mas.help@outlook.com
:: ::
::============================================================================ ::============================================================================
@@ -100,9 +99,9 @@ set "nul="
::======================================================================================================================================== ::========================================================================================================================================
set "blank=" set "blank="
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/" set "mas=ht%blank%tps%blank%://m%blank%ass%blank%grave.dev/"
set "github=ht%blank%tps%blank%://github.com/massgra%blank%vel/Micro%blank%soft-Acti%blank%vation-Scripts" set "github=ht%blank%tps%blank%://github.com/m%blank%assgra%blank%vel/Micro%blank%soft-Acti%blank%vation-Scripts"
set "selfgit=ht%blank%tps%blank%://git.acti%blank%vated.win/massg%blank%rave/Micr%blank%osoft-Act%blank%ivation-Scripts" set "selfgit=ht%blank%tps%blank%://git.acti%blank%vated.win/Micr%blank%osoft-Act%blank%ivation-Scripts"
:: Check if Null service is working, it's important for the batch script :: Check if Null service is working, it's important for the batch script
@@ -188,7 +187,6 @@ if %winbuild% LSS 10240 (
%eline% %eline%
echo Unsupported OS version detected [%winbuild%]. echo Unsupported OS version detected [%winbuild%].
echo HWID Activation is only supported on Windows 10/11. echo HWID Activation is only supported on Windows 10/11.
echo:
call :dk_color %Blue% "Use TSforge activation option from the main menu." call :dk_color %Blue% "Use TSforge activation option from the main menu."
goto dk_done goto dk_done
) )
@@ -675,7 +673,6 @@ call :dk_color %Red% "Checking Ticket Migration [Failed]"
if not defined altapplist if not defined showfix if defined rebuildinfo ( if not defined altapplist if not defined showfix if defined rebuildinfo (
set showfix=1 set showfix=1
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
) )
@@ -763,7 +760,6 @@ reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v DisableWin
reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v DoNotConnectToWindowsUpdateInternetLocations %nul2% | find /i "0x1" %nul% && set wublock=1 reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v DoNotConnectToWindowsUpdateInternetLocations %nul2% | find /i "0x1" %nul% && set wublock=1
if defined wublock ( if defined wublock (
call :dk_color %Red% "Checking Update Blocker In Registry [Found]" call :dk_color %Red% "Checking Update Blocker In Registry [Found]"
echo:
call :dk_color %Blue% "HWID activation needs working Windows updates, if you have used any tool to block updates, undo it." call :dk_color %Blue% "HWID activation needs working Windows updates, if you have used any tool to block updates, undo it."
echo: echo:
) )
@@ -771,7 +767,6 @@ echo:
reg query "HKLM\SOFTWARE\Policies\Microsoft\WindowsStore" /v DisableStoreApps %nul2% | find /i "0x1" %nul% && ( reg query "HKLM\SOFTWARE\Policies\Microsoft\WindowsStore" /v DisableStoreApps %nul2% | find /i "0x1" %nul% && (
set storeblock=1 set storeblock=1
call :dk_color %Red% "Checking Store Blocker In Registry [Found]" call :dk_color %Red% "Checking Store Blocker In Registry [Found]"
echo:
call :dk_color %Blue% "If you have used any tool to block Store, undo it." call :dk_color %Blue% "If you have used any tool to block Store, undo it."
echo: echo:
) )
@@ -790,12 +785,10 @@ set error=1
call :dk_color %Red% "Checking Windows Update Registry [Corruption Found]" call :dk_color %Red% "Checking Windows Update Registry [Corruption Found]"
if !wcount! GTR 2 ( if !wcount! GTR 2 (
call :dk_color %Red% "Windows seems to be infected with Mal%w%ware." call :dk_color %Red% "Windows seems to be infected with Mal%w%ware."
echo:
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:
) else ( ) else (
echo:
call :dk_color %Blue% "HWID activation needs working Windows updates, if you have used any tool to block updates, undo it." call :dk_color %Blue% "HWID activation needs working Windows updates, if you have used any tool to block updates, undo it."
echo: echo:
) )
@@ -806,7 +799,6 @@ set error=1
set wuerror=1 set wuerror=1
sc start wuauserv %nul% sc start wuauserv %nul%
call :dk_color %Red% "Starting Windows Update Service [Failed] [!errorlevel!]" call :dk_color %Red% "Starting Windows Update Service [Failed] [!errorlevel!]"
echo:
call :dk_color %Blue% "HWID activation needs working Windows updates, if you have used any tool to block updates, undo it." call :dk_color %Blue% "HWID activation needs working Windows updates, if you have used any tool to block updates, undo it."
echo: echo:
) )
@@ -1033,7 +1025,6 @@ echo %keyecho% %~1 [Successful]
call :dk_color %Red% "%keyecho% %~1 [Failed] %keyerror%" call :dk_color %Red% "%keyecho% %~1 [Failed] %keyerror%"
if not defined showfix ( if not defined showfix (
if defined altapplist call :dk_color %Red% "Activation ID not found for this key." if defined altapplist call :dk_color %Red% "Activation ID not found for this key."
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
set showfix=1 set showfix=1
@@ -1159,7 +1150,6 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
%eline% %eline%
echo sc start %_slser% [Error Code: %spperror%] echo sc start %_slser% [Error Code: %spperror%]
if %spperror% EQU 1053 ( if %spperror% EQU 1053 (
echo:
call :dk_color %Blue% "Reboot your machine using the restart option and try again." call :dk_color %Blue% "Reboot your machine using the restart option and try again."
call :dk_color %Blue% "If it still does not work, go back to Main Menu, select Troubleshoot and run Fix WPA Registry option." call :dk_color %Blue% "If it still does not work, go back to Main Menu, select Troubleshoot and run Fix WPA Registry option."
) )
@@ -1269,7 +1259,6 @@ call :dk_chkmal
sc query Null %nul% || ( sc query Null %nul% || (
call :dk_color %Red% "Checking Sandboxing [Found, script may not work properly]" call :dk_color %Red% "Checking Sandboxing [Found, script may not work properly]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "If you are using any third-party antivirus, check if it is blocking the script." call :dk_color %Blue% "If you are using any third-party antivirus, check if it is blocking the script."
echo: echo:
) )
@@ -1285,7 +1274,6 @@ reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinPE" /v InstRoot
call :dk_color %Red% "Checking WinPE [Found]" call :dk_color %Red% "Checking WinPE [Found]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "WinPE mode found. Reboot the system and run in normal mode." call :dk_color %Blue% "WinPE mode found. Reboot the system and run in normal mode."
echo: echo:
) )
@@ -1300,7 +1288,6 @@ set showfix=1
if defined safeboot_option ( if defined safeboot_option (
call :dk_color %Red% "Checking Boot Mode [%safeboot_option%]" call :dk_color %Red% "Checking Boot Mode [%safeboot_option%]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Safe mode found. Reboot the system and run in normal mode." call :dk_color %Blue% "Safe mode found. Reboot the system and run in normal mode."
echo: echo:
) )
@@ -1319,7 +1306,6 @@ if /i not "%imagestate%"=="IMAGE_STATE_COMPLETE" (
call :dk_color %Gray% "Checking Windows Setup State [%imagestate%]" call :dk_color %Gray% "Checking Windows Setup State [%imagestate%]"
echo "%imagestate%" | find /i "RESEAL" %nul% && ( echo "%imagestate%" | find /i "RESEAL" %nul% && (
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "You need to run it in normal mode in case you are running it in Audit Mode." call :dk_color %Blue% "You need to run it in normal mode in case you are running it in Audit Mode."
echo: echo:
) )
@@ -1414,7 +1400,6 @@ if not defined showfix (
echo: echo:
echo %serv_cste% | findstr /i "ClipSVC sppsvc" %nul% && ( echo %serv_cste% | findstr /i "ClipSVC sppsvc" %nul% && (
echo A registry fix has been applied to enable the disabled service. echo A registry fix has been applied to enable the disabled service.
echo:
call :dk_color %Blue% "Reboot your machine using the restart option to fix this error." call :dk_color %Blue% "Reboot your machine using the restart option to fix this error."
) || ( ) || (
set fixes=%fixes% %mas%in-place_repair_upgrade set fixes=%fixes% %mas%in-place_repair_upgrade
@@ -1455,7 +1440,6 @@ if not defined showfix (
set listwospp=%_serv:sppsvc=% set listwospp=%_serv:sppsvc=%
echo %serv_e% | findstr /i "!listwospp!" %nul% && ( echo %serv_e% | findstr /i "!listwospp!" %nul% && (
set showfix=1 set showfix=1
echo:
call :dk_color %Blue% "Reboot your machine using the restart option and run the script again." call :dk_color %Blue% "Reboot your machine using the restart option and run the script again."
set fixes=%fixes% %mas%in-place_repair_upgrade set fixes=%fixes% %mas%in-place_repair_upgrade
call :dk_color2 %Blue% "If service error is still not fixed, do this - " %_Yellow% " %mas%in-place_repair_upgrade" call :dk_color2 %Blue% "If service error is still not fixed, do this - " %_Yellow% " %mas%in-place_repair_upgrade"
@@ -1487,7 +1471,6 @@ if defined wmifailed (
call :dk_color %Red% "Checking WMI [Not Working]" call :dk_color %Red% "Checking WMI [Not Working]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option." call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
echo: echo:
) )
@@ -1599,7 +1582,6 @@ if !errorlevel!==3 set "permerror=Error Found In S-1-5-20 SPP"
if defined permerror ( if defined permerror (
call :dk_color %Red% "Checking SPP Permissions [!permerror!]" call :dk_color %Red% "Checking SPP Permissions [!permerror!]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
) )
@@ -1621,7 +1603,6 @@ if defined chkalp (
call :dk_color %Red% "Checking WPA Registry Errors [%wpainfo%]" call :dk_color %Red% "Checking WPA Registry Errors [%wpainfo%]"
if not defined showfix ( if not defined showfix (
echo "%wpainfo%" | find /i "Error Found" %nul% && ( echo "%wpainfo%" | find /i "Error Found" %nul% && (
echo:
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option." call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option."
echo: echo:
set error=1 set error=1
@@ -1634,7 +1615,6 @@ set wpainfo=a
if not defined chkalp ( if not defined chkalp (
if %wpainfo% GEQ 5000 ( if %wpainfo% GEQ 5000 (
call :dk_color %Gray% "Checking WPA Registry Count [%wpainfo%]" call :dk_color %Gray% "Checking WPA Registry Count [%wpainfo%]"
echo:
call :dk_color %Blue% "A large number of WPA registries have been found, which may cause high CPU usage." call :dk_color %Blue% "A large number of WPA registries have been found, which may cause high CPU usage."
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option." call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option."
echo: echo:
@@ -1650,7 +1630,6 @@ echo Checking WPA Registry Count [%wpainfo%]
reg query "HKU\S-1-5-20\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\PersistedTSReArmed" %nul% && ( reg query "HKU\S-1-5-20\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\PersistedTSReArmed" %nul% && (
call :dk_color %Red% "Checking Rearm [System is Rearmed]" call :dk_color %Red% "Checking Rearm [System is Rearmed]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Reboot your machine using the restart option to fix this error." call :dk_color %Blue% "Reboot your machine using the restart option to fix this error."
echo: echo:
) )
@@ -1662,7 +1641,6 @@ set showfix=1
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ClipSVC\Volatile\PersistedSystemState" %nul% && ( reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ClipSVC\Volatile\PersistedSystemState" %nul% && (
call :dk_color %Red% "Checking ClipSVC PersistedSystemState [Found]" call :dk_color %Red% "Checking ClipSVC PersistedSystemState [Found]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Reboot your machine using the restart option to fix this error." call :dk_color %Blue% "Reboot your machine using the restart option to fix this error."
echo: echo:
) )
@@ -1677,7 +1655,6 @@ set showfix=1
if %error_code% NEQ 0 ( if %error_code% NEQ 0 (
call :dk_color %Red% "Checking SoftwareLicensingService [Not Working] [%error_code%]" call :dk_color %Red% "Checking SoftwareLicensingService [Not Working] [%error_code%]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option." call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
echo: echo:
@@ -1707,7 +1684,6 @@ call :dk_color %Gray% "Checking Activation IDs [Key Not Installe
if not defined apps if not defined allapps ( if not defined apps if not defined allapps (
call :dk_color %Red% "Checking Activation IDs [Not found]" call :dk_color %Red% "Checking Activation IDs [Not found]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option." call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
echo: echo:
@@ -1717,7 +1693,6 @@ set showfix=1
) )
if not defined showfix if defined rlicfailed ( if not defined showfix if defined rlicfailed (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option." call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
echo: echo:
@@ -1735,7 +1710,6 @@ if not defined notwinact if exist "%SystemRoot%\Servicing\Packages\Microsoft-Win
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Eval" %nul1% || ( reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Eval" %nul1% || (
call :dk_color %Red% "Checking Eval Packages [License swapping found. Non-Eval licenses are installed in Eval Windows]" call :dk_color %Red% "Checking Eval Packages [License swapping found. Non-Eval licenses are installed in Eval Windows]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "License swapping is not the right way to upgrade to the full version. Learn the correct method at the link below." call :dk_color %Blue% "License swapping is not the right way to upgrade to the full version. Learn the correct method at the link below."
set fixes=%fixes% %mas%evaluation_editions set fixes=%fixes% %mas%evaluation_editions
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%evaluation_editions" call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%evaluation_editions"
@@ -1791,6 +1765,13 @@ call :dk_color %Red% "Checking License Files [Not Found] [%osed
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*-%osedition%-*.mum" ( if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*-%osedition%-*.mum" (
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-%osedition%Edition*.mum" ( if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-%osedition%Edition*.mum" (
call :dk_color %Red% "Checking Package Files [Not Found] [%osedition%]" call :dk_color %Red% "Checking Package Files [Not Found] [%osedition%]"
if not defined showfix (
set fixes=%fixes% %mas%in-place_repair_upgrade
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%in-place_repair_upgrade"
echo:
)
set error=1
set showfix=1
) )
) )
) )
@@ -1837,7 +1818,6 @@ if defined _sppint (
echo %_sppint% | find /i "PerfOptions" %nul% && ( echo %_sppint% | find /i "PerfOptions" %nul% && (
call :dk_color %Red% "Checking SPP Interference In IFEO [%_sppint% - System might deactivate later]" call :dk_color %Red% "Checking SPP Interference In IFEO [%_sppint% - System might deactivate later]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
) )

View File

@@ -1,12 +1,11 @@
@set masver=3.8 @set masver=3.10
@echo off @echo off
::============================================================================ ::============================================================================
:: ::
:: Homepage: mass()grave(dot)dev :: Homepage: m{}assgrave{dot}dev
:: Email: mas.help@outlook.com
:: ::
::============================================================================ ::============================================================================
@@ -100,9 +99,9 @@ set "nul="
::======================================================================================================================================== ::========================================================================================================================================
set "blank=" set "blank="
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/" set "mas=ht%blank%tps%blank%://m%blank%ass%blank%grave.dev/"
set "github=ht%blank%tps%blank%://github.com/massgra%blank%vel/Micro%blank%soft-Acti%blank%vation-Scripts" set "github=ht%blank%tps%blank%://github.com/m%blank%assgra%blank%vel/Micro%blank%soft-Acti%blank%vation-Scripts"
set "selfgit=ht%blank%tps%blank%://git.acti%blank%vated.win/massg%blank%rave/Micr%blank%osoft-Act%blank%ivation-Scripts" set "selfgit=ht%blank%tps%blank%://git.acti%blank%vated.win/Micr%blank%osoft-Act%blank%ivation-Scripts"
:: Check if Null service is working, it's important for the batch script :: Check if Null service is working, it's important for the batch script
@@ -457,7 +456,6 @@ goto :oh_menu
cls cls
if not defined terminal ( if not defined terminal (
mode 140, 32 mode 140, 32
if exist "%SysPath%\spp\store_test\" mode 140, 32
%psc% "&{$W=$Host.UI.RawUI.WindowSize;$B=$Host.UI.RawUI.BufferSize;$W.Height=32;$B.Height=300;$Host.UI.RawUI.WindowSize=$W;$Host.UI.RawUI.BufferSize=$B;}" %nul% %psc% "&{$W=$Host.UI.RawUI.WindowSize;$B=$Host.UI.RawUI.BufferSize;$W.Height=32;$B.Height=300;$Host.UI.RawUI.WindowSize=$W;$Host.UI.RawUI.BufferSize=$B;}" %nul%
) )
title Ohook Activation %masver% title Ohook Activation %masver%
@@ -572,10 +570,9 @@ call :dk_color %Red% "Checking Installed Office [Not Found]"
if defined ohub ( if defined ohub (
echo: echo:
echo You only have the Office Dashboard app installed. You need to install the full version of Office. echo You only have the Office Dashboard app installed; you need to install the full version of Office.
) )
echo: call :dk_color %Blue% "Download and install Office from the URL below, then try again."
call :dk_color %Blue% "Download and install Office from the below URL and then try again."
echo: echo:
set fixes=%fixes% %mas%genuine-installation-media set fixes=%fixes% %mas%genuine-installation-media
call :dk_color %_Yellow% "%mas%genuine-installation-media" call :dk_color %_Yellow% "%mas%genuine-installation-media"
@@ -602,6 +599,26 @@ reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2
::======================================================================================================================================== ::========================================================================================================================================
:: Check Smart App Control
set "sacstate="
if %winbuild% GEQ 22621 (
for /f "tokens=3" %%a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\CI\Policy" /v VerifiedAndReputablePolicyState %nul6%') do set "sacstate=%%a"
)
if defined sacstate (
if "%sacstate%"=="0x1" (
call :dk_color %Gray% "Checking Smart App Control State [Enabled]"
call :dk_color %Blue% "Smart App Control may prevent you from opening Office after Ohook activation."
call :dk_color %Blue% "You will need to disable it from the Windows Defender settings if it does."
) else if "%sacstate%"=="0x2" (
call :dk_color %Gray% "Checking Smart App Control State [Evaluation]"
call :dk_color %Blue% "Smart App Control may prevent you from opening Office in the future if it enables itself after the evaluation period."
call :dk_color %Blue% "It is recommended that you disable it from the Windows Defender settings."
)
)
::========================================================================================================================================
:: Process Office 15.0 C2R :: Process Office 15.0 C2R
if not defined o15c2r goto :starto16c2r if not defined o15c2r goto :starto16c2r
@@ -728,7 +745,7 @@ call :dk_color %Gray% "Checking Old Office With Sub License [Found. Update Of
::======================================================================================================================================== ::========================================================================================================================================
:: mass()grave(dot)dev/office-license-is-not-genuine :: mass{}grave{dot}dev/office-license-is-not-genuine
:: Add registry keys for volume products so that 'non-genuine' banner won't appear :: Add registry keys for volume products so that 'non-genuine' banner won't appear
:: Script already is using MAK instead of GVLK so it won't appear anyway, but registry keys are added incase Office installs default GVLK grace key for volume products :: Script already is using MAK instead of GVLK so it won't appear anyway, but registry keys are added incase Office installs default GVLK grace key for volume products
@@ -1617,7 +1634,6 @@ if %upk_result%==1 echo Uninstalling Other/Grace Keys [Successful]
if %upk_result%==2 ( if %upk_result%==2 (
call :dk_color %Red% "Uninstalling Other/Grace Keys [Failed]" call :dk_color %Red% "Uninstalling Other/Grace Keys [Failed]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
set showfix=1 set showfix=1
@@ -1766,7 +1782,6 @@ echo %keyecho% %~1 [Successful]
call :dk_color %Red% "%keyecho% %~1 [Failed] %keyerror%" call :dk_color %Red% "%keyecho% %~1 [Failed] %keyerror%"
if not defined showfix ( if not defined showfix (
if defined altapplist call :dk_color %Red% "Activation ID not found for this key." if defined altapplist call :dk_color %Red% "Activation ID not found for this key."
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
set showfix=1 set showfix=1
@@ -1860,7 +1875,6 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
%eline% %eline%
echo sc start %_slser% [Error Code: %spperror%] echo sc start %_slser% [Error Code: %spperror%]
if %spperror% EQU 1053 ( if %spperror% EQU 1053 (
echo:
call :dk_color %Blue% "Reboot your machine using the restart option and try again." call :dk_color %Blue% "Reboot your machine using the restart option and try again."
call :dk_color %Blue% "If it still does not work, go back to Main Menu, select Troubleshoot and run Fix WPA Registry option." call :dk_color %Blue% "If it still does not work, go back to Main Menu, select Troubleshoot and run Fix WPA Registry option."
) )
@@ -1955,7 +1969,6 @@ call :dk_chkmal
sc query Null %nul% || ( sc query Null %nul% || (
call :dk_color %Red% "Checking Sandboxing [Found, script may not work properly]" call :dk_color %Red% "Checking Sandboxing [Found, script may not work properly]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "If you are using any third-party antivirus, check if it is blocking the script." call :dk_color %Blue% "If you are using any third-party antivirus, check if it is blocking the script."
echo: echo:
) )
@@ -1971,7 +1984,6 @@ reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinPE" /v InstRoot
call :dk_color %Red% "Checking WinPE [Found]" call :dk_color %Red% "Checking WinPE [Found]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "WinPE mode found. Reboot the system and run in normal mode." call :dk_color %Blue% "WinPE mode found. Reboot the system and run in normal mode."
echo: echo:
) )
@@ -1986,7 +1998,6 @@ set showfix=1
if defined safeboot_option ( if defined safeboot_option (
call :dk_color %Red% "Checking Boot Mode [%safeboot_option%]" call :dk_color %Red% "Checking Boot Mode [%safeboot_option%]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Safe mode found. Reboot the system and run in normal mode." call :dk_color %Blue% "Safe mode found. Reboot the system and run in normal mode."
echo: echo:
) )
@@ -2005,7 +2016,6 @@ if /i not "%imagestate%"=="IMAGE_STATE_COMPLETE" (
call :dk_color %Gray% "Checking Windows Setup State [%imagestate%]" call :dk_color %Gray% "Checking Windows Setup State [%imagestate%]"
echo "%imagestate%" | find /i "RESEAL" %nul% && ( echo "%imagestate%" | find /i "RESEAL" %nul% && (
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "You need to run it in normal mode in case you are running it in Audit Mode." call :dk_color %Blue% "You need to run it in normal mode in case you are running it in Audit Mode."
echo: echo:
) )
@@ -2100,7 +2110,6 @@ if not defined showfix (
echo: echo:
echo %serv_cste% | findstr /i "ClipSVC sppsvc" %nul% && ( echo %serv_cste% | findstr /i "ClipSVC sppsvc" %nul% && (
echo A registry fix has been applied to enable the disabled service. echo A registry fix has been applied to enable the disabled service.
echo:
call :dk_color %Blue% "Reboot your machine using the restart option to fix this error." call :dk_color %Blue% "Reboot your machine using the restart option to fix this error."
) || ( ) || (
set fixes=%fixes% %mas%in-place_repair_upgrade set fixes=%fixes% %mas%in-place_repair_upgrade
@@ -2141,7 +2150,6 @@ if not defined showfix (
set listwospp=%_serv:sppsvc=% set listwospp=%_serv:sppsvc=%
echo %serv_e% | findstr /i "!listwospp!" %nul% && ( echo %serv_e% | findstr /i "!listwospp!" %nul% && (
set showfix=1 set showfix=1
echo:
call :dk_color %Blue% "Reboot your machine using the restart option and run the script again." call :dk_color %Blue% "Reboot your machine using the restart option and run the script again."
set fixes=%fixes% %mas%in-place_repair_upgrade set fixes=%fixes% %mas%in-place_repair_upgrade
call :dk_color2 %Blue% "If service error is still not fixed, do this - " %_Yellow% " %mas%in-place_repair_upgrade" call :dk_color2 %Blue% "If service error is still not fixed, do this - " %_Yellow% " %mas%in-place_repair_upgrade"
@@ -2173,7 +2181,6 @@ if defined wmifailed (
call :dk_color %Red% "Checking WMI [Not Working]" call :dk_color %Red% "Checking WMI [Not Working]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option." call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
echo: echo:
) )
@@ -2285,7 +2292,6 @@ if !errorlevel!==3 set "permerror=Error Found In S-1-5-20 SPP"
if defined permerror ( if defined permerror (
call :dk_color %Red% "Checking SPP Permissions [!permerror!]" call :dk_color %Red% "Checking SPP Permissions [!permerror!]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
) )
@@ -2307,7 +2313,6 @@ if defined chkalp (
call :dk_color %Red% "Checking WPA Registry Errors [%wpainfo%]" call :dk_color %Red% "Checking WPA Registry Errors [%wpainfo%]"
if not defined showfix ( if not defined showfix (
echo "%wpainfo%" | find /i "Error Found" %nul% && ( echo "%wpainfo%" | find /i "Error Found" %nul% && (
echo:
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option." call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option."
echo: echo:
set error=1 set error=1
@@ -2320,7 +2325,6 @@ set wpainfo=a
if not defined chkalp ( if not defined chkalp (
if %wpainfo% GEQ 5000 ( if %wpainfo% GEQ 5000 (
call :dk_color %Gray% "Checking WPA Registry Count [%wpainfo%]" call :dk_color %Gray% "Checking WPA Registry Count [%wpainfo%]"
echo:
call :dk_color %Blue% "A large number of WPA registries have been found, which may cause high CPU usage." call :dk_color %Blue% "A large number of WPA registries have been found, which may cause high CPU usage."
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option." call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option."
echo: echo:
@@ -2336,7 +2340,6 @@ echo Checking WPA Registry Count [%wpainfo%]
reg query "HKU\S-1-5-20\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\PersistedTSReArmed" %nul% && ( reg query "HKU\S-1-5-20\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\PersistedTSReArmed" %nul% && (
call :dk_color %Red% "Checking Rearm [System is Rearmed]" call :dk_color %Red% "Checking Rearm [System is Rearmed]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Reboot your machine using the restart option to fix this error." call :dk_color %Blue% "Reboot your machine using the restart option to fix this error."
echo: echo:
) )
@@ -2348,7 +2351,6 @@ set showfix=1
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ClipSVC\Volatile\PersistedSystemState" %nul% && ( reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ClipSVC\Volatile\PersistedSystemState" %nul% && (
call :dk_color %Red% "Checking ClipSVC PersistedSystemState [Found]" call :dk_color %Red% "Checking ClipSVC PersistedSystemState [Found]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Reboot your machine using the restart option to fix this error." call :dk_color %Blue% "Reboot your machine using the restart option to fix this error."
echo: echo:
) )
@@ -2363,7 +2365,6 @@ set showfix=1
if %error_code% NEQ 0 ( if %error_code% NEQ 0 (
call :dk_color %Red% "Checking SoftwareLicensingService [Not Working] [%error_code%]" call :dk_color %Red% "Checking SoftwareLicensingService [Not Working] [%error_code%]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option." call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
echo: echo:
@@ -2393,7 +2394,6 @@ call :dk_color %Gray% "Checking Activation IDs [Key Not Installe
if not defined apps if not defined allapps ( if not defined apps if not defined allapps (
call :dk_color %Red% "Checking Activation IDs [Not found]" call :dk_color %Red% "Checking Activation IDs [Not found]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option." call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
echo: echo:
@@ -2403,7 +2403,6 @@ set showfix=1
) )
if not defined showfix if defined rlicfailed ( if not defined showfix if defined rlicfailed (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option." call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
echo: echo:
@@ -2421,7 +2420,6 @@ if not defined notwinact if exist "%SystemRoot%\Servicing\Packages\Microsoft-Win
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Eval" %nul1% || ( reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Eval" %nul1% || (
call :dk_color %Red% "Checking Eval Packages [License swapping found. Non-Eval licenses are installed in Eval Windows]" call :dk_color %Red% "Checking Eval Packages [License swapping found. Non-Eval licenses are installed in Eval Windows]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "License swapping is not the right way to upgrade to the full version. Learn the correct method at the link below." call :dk_color %Blue% "License swapping is not the right way to upgrade to the full version. Learn the correct method at the link below."
set fixes=%fixes% %mas%evaluation_editions set fixes=%fixes% %mas%evaluation_editions
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%evaluation_editions" call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%evaluation_editions"
@@ -2477,6 +2475,13 @@ call :dk_color %Red% "Checking License Files [Not Found] [%osed
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*-%osedition%-*.mum" ( if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*-%osedition%-*.mum" (
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-%osedition%Edition*.mum" ( if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-%osedition%Edition*.mum" (
call :dk_color %Red% "Checking Package Files [Not Found] [%osedition%]" call :dk_color %Red% "Checking Package Files [Not Found] [%osedition%]"
if not defined showfix (
set fixes=%fixes% %mas%in-place_repair_upgrade
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%in-place_repair_upgrade"
echo:
)
set error=1
set showfix=1
) )
) )
) )
@@ -2523,7 +2528,6 @@ if defined _sppint (
echo %_sppint% | find /i "PerfOptions" %nul% && ( echo %_sppint% | find /i "PerfOptions" %nul% && (
call :dk_color %Red% "Checking SPP Interference In IFEO [%_sppint% - System might deactivate later]" call :dk_color %Red% "Checking SPP Interference In IFEO [%_sppint% - System might deactivate later]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
) )
@@ -3241,13 +3245,13 @@ $MemoryStream.Close()
:: ::
:: The files are encoded in base64 to make AIO version. :: The files are encoded in base64 to make AIO version.
:: ::
:: mass()grave(dot)dev/ohook :: mass{}grave{dot}dev/ohook
:: Here you can find the files source code and info on how to rebuild the identical sppc.dll files :: Here you can find the files source code and info on how to rebuild the identical sppc.dll files
:: ::
:: stackoverflow.com/a/35335273 :: stackoverflow.com/a/35335273
:: Here you can check how to extract sppc.dll files from base64 :: Here you can check how to extract sppc.dll files from base64
:: ::
:: For any further question, feel free to contact us on mass()grave(dot)dev/contactus :: For any further question, feel free to contact us on mass{}grave{dot}dev/contactus
:: ::
::======================================================================================================================================== ::========================================================================================================================================
:: ::

View File

@@ -1,12 +1,11 @@
@set masver=3.8 @set masver=3.10
@echo off @echo off
::============================================================================ ::============================================================================
:: ::
:: Homepage: mass()grave(dot)dev :: Homepage: m{}assgrave{dot}dev
:: Email: mas.help@outlook.com
:: ::
::============================================================================ ::============================================================================
@@ -125,9 +124,9 @@ set "nul="
::======================================================================================================================================== ::========================================================================================================================================
set "blank=" set "blank="
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/" set "mas=ht%blank%tps%blank%://m%blank%ass%blank%grave.dev/"
set "github=ht%blank%tps%blank%://github.com/massgra%blank%vel/Micro%blank%soft-Acti%blank%vation-Scripts" set "github=ht%blank%tps%blank%://github.com/m%blank%assgra%blank%vel/Micro%blank%soft-Acti%blank%vation-Scripts"
set "selfgit=ht%blank%tps%blank%://git.acti%blank%vated.win/massg%blank%rave/Micr%blank%osoft-Act%blank%ivation-Scripts" set "selfgit=ht%blank%tps%blank%://git.acti%blank%vated.win/Micr%blank%osoft-Act%blank%ivation-Scripts"
:: Check if Null service is working, it's important for the batch script :: Check if Null service is working, it's important for the batch script
@@ -817,9 +816,9 @@ call :dk_color %Red% "Checking Installed Office [Not Found]"
if defined ohub ( if defined ohub (
echo: echo:
echo You only have the Office Dashboard app installed. You need to install the full version of Office. echo You only have the Office Dashboard app installed; you need to install the full version of Office.
) )
call :dk_color %Blue% "Download and install Office from below URL and try again." call :dk_color %Blue% "Download and install Office from the URL below, then try again."
set fixes=%fixes% %mas%genuine-installation-media set fixes=%fixes% %mas%genuine-installation-media
call :dk_color %_Yellow% "%mas%genuine-installation-media" call :dk_color %_Yellow% "%mas%genuine-installation-media"
goto :ks_activate goto :ks_activate
@@ -1031,7 +1030,7 @@ if %winbuild% GEQ 9200 (
for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun /v InstallPath" %nul6%') do if exist "%%b\root\Licenses16\ProPlus*.xrm-ms" set "_C16R=1" for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun /v InstallPath" %nul6%') do if exist "%%b\root\Licenses16\ProPlus*.xrm-ms" set "_C16R=1"
for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun /v InstallPath /reg:32" %nul6%') do if exist "%%b\root\Licenses16\ProPlus*.xrm-ms" set "_C16R=1" for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun /v InstallPath /reg:32" %nul6%') do if exist "%%b\root\Licenses16\ProPlus*.xrm-ms" set "_C16R=1"
if defined _C16R ( if defined _C16R (
REM mass()grave(dot)dev/office-license-is-not-genuine REM mass{}grave{dot}dev/office-license-is-not-genuine
set _server=10.0.0.10 set _server=10.0.0.10
call :_taskregserv call :_taskregserv
echo Keeping the non-existent IP address 10.0.0.10 as %KS% Server. echo Keeping the non-existent IP address 10.0.0.10 as %KS% Server.
@@ -1595,7 +1594,6 @@ if %upk_result%==1 echo Uninstalling Other/Grace Keys [Successful]
if %upk_result%==2 ( if %upk_result%==2 (
call :dk_color %Red% "Uninstalling Other/Grace Keys [Failed]" call :dk_color %Red% "Uninstalling Other/Grace Keys [Failed]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
set showfix=1 set showfix=1
@@ -1649,7 +1647,6 @@ call :ks_clearstuff
set error_=9 set error_=9
echo Failed to completely clear %KS% Cache. echo Failed to completely clear %KS% Cache.
reg query "HKLM\%SPPk%\%_wApp%" /s %nul2% | findstr /i "127.0.0.2" %nul1% && echo KMS38 activation is locked. reg query "HKLM\%SPPk%\%_wApp%" /s %nul2% | findstr /i "127.0.0.2" %nul1% && echo KMS38 activation is locked.
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
) || ( ) || (
@@ -1727,8 +1724,7 @@ exit /b
::============================================================================ ::============================================================================
:: ::
:: Homepage: mass()grave(dot)dev :: Homepage: m{}assgrave{dot}dev
:: Email: mas.help@outlook.com
:: ::
::============================================================================ ::============================================================================
@@ -2337,7 +2333,6 @@ echo:
echo This Script is a part of MAS project. echo This Script is a part of MAS project.
echo: echo:
echo Homepage: mass%w%grave%w%.dev echo Homepage: mass%w%grave%w%.dev
echo Email: mas.help@outlook.com
)>"%_dest%\Info.txt" )>"%_dest%\Info.txt"
exit /b exit /b
@@ -2742,7 +2737,6 @@ echo %keyecho% %~1 [Successful]
call :dk_color %Red% "%keyecho% %~1 [Failed] %keyerror%" call :dk_color %Red% "%keyecho% %~1 [Failed] %keyerror%"
if not defined showfix ( if not defined showfix (
if defined altapplist call :dk_color %Red% "Activation ID not found for this key." if defined altapplist call :dk_color %Red% "Activation ID not found for this key."
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
set showfix=1 set showfix=1
@@ -2863,7 +2857,6 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
%eline% %eline%
echo sc start %_slser% [Error Code: %spperror%] echo sc start %_slser% [Error Code: %spperror%]
if %spperror% EQU 1053 ( if %spperror% EQU 1053 (
echo:
call :dk_color %Blue% "Reboot your machine using the restart option and try again." call :dk_color %Blue% "Reboot your machine using the restart option and try again."
call :dk_color %Blue% "If it still does not work, go back to Main Menu, select Troubleshoot and run Fix WPA Registry option." call :dk_color %Blue% "If it still does not work, go back to Main Menu, select Troubleshoot and run Fix WPA Registry option."
) )
@@ -3018,7 +3011,6 @@ call :dk_chkmal
sc query Null %nul% || ( sc query Null %nul% || (
call :dk_color %Red% "Checking Sandboxing [Found, script may not work properly]" call :dk_color %Red% "Checking Sandboxing [Found, script may not work properly]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "If you are using any third-party antivirus, check if it is blocking the script." call :dk_color %Blue% "If you are using any third-party antivirus, check if it is blocking the script."
echo: echo:
) )
@@ -3034,7 +3026,6 @@ reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinPE" /v InstRoot
call :dk_color %Red% "Checking WinPE [Found]" call :dk_color %Red% "Checking WinPE [Found]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "WinPE mode found. Reboot the system and run in normal mode." call :dk_color %Blue% "WinPE mode found. Reboot the system and run in normal mode."
echo: echo:
) )
@@ -3049,7 +3040,6 @@ set showfix=1
if defined safeboot_option ( if defined safeboot_option (
call :dk_color %Red% "Checking Boot Mode [%safeboot_option%]" call :dk_color %Red% "Checking Boot Mode [%safeboot_option%]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Safe mode found. Reboot the system and run in normal mode." call :dk_color %Blue% "Safe mode found. Reboot the system and run in normal mode."
echo: echo:
) )
@@ -3068,7 +3058,6 @@ if /i not "%imagestate%"=="IMAGE_STATE_COMPLETE" (
call :dk_color %Gray% "Checking Windows Setup State [%imagestate%]" call :dk_color %Gray% "Checking Windows Setup State [%imagestate%]"
echo "%imagestate%" | find /i "RESEAL" %nul% && ( echo "%imagestate%" | find /i "RESEAL" %nul% && (
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "You need to run it in normal mode in case you are running it in Audit Mode." call :dk_color %Blue% "You need to run it in normal mode in case you are running it in Audit Mode."
echo: echo:
) )
@@ -3163,7 +3152,6 @@ if not defined showfix (
echo: echo:
echo %serv_cste% | findstr /i "ClipSVC sppsvc" %nul% && ( echo %serv_cste% | findstr /i "ClipSVC sppsvc" %nul% && (
echo A registry fix has been applied to enable the disabled service. echo A registry fix has been applied to enable the disabled service.
echo:
call :dk_color %Blue% "Reboot your machine using the restart option to fix this error." call :dk_color %Blue% "Reboot your machine using the restart option to fix this error."
) || ( ) || (
set fixes=%fixes% %mas%in-place_repair_upgrade set fixes=%fixes% %mas%in-place_repair_upgrade
@@ -3204,7 +3192,6 @@ if not defined showfix (
set listwospp=%_serv:sppsvc=% set listwospp=%_serv:sppsvc=%
echo %serv_e% | findstr /i "!listwospp!" %nul% && ( echo %serv_e% | findstr /i "!listwospp!" %nul% && (
set showfix=1 set showfix=1
echo:
call :dk_color %Blue% "Reboot your machine using the restart option and run the script again." call :dk_color %Blue% "Reboot your machine using the restart option and run the script again."
set fixes=%fixes% %mas%in-place_repair_upgrade set fixes=%fixes% %mas%in-place_repair_upgrade
call :dk_color2 %Blue% "If service error is still not fixed, do this - " %_Yellow% " %mas%in-place_repair_upgrade" call :dk_color2 %Blue% "If service error is still not fixed, do this - " %_Yellow% " %mas%in-place_repair_upgrade"
@@ -3236,7 +3223,6 @@ if defined wmifailed (
call :dk_color %Red% "Checking WMI [Not Working]" call :dk_color %Red% "Checking WMI [Not Working]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option." call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
echo: echo:
) )
@@ -3348,7 +3334,6 @@ if !errorlevel!==3 set "permerror=Error Found In S-1-5-20 SPP"
if defined permerror ( if defined permerror (
call :dk_color %Red% "Checking SPP Permissions [!permerror!]" call :dk_color %Red% "Checking SPP Permissions [!permerror!]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
) )
@@ -3370,7 +3355,6 @@ if defined chkalp (
call :dk_color %Red% "Checking WPA Registry Errors [%wpainfo%]" call :dk_color %Red% "Checking WPA Registry Errors [%wpainfo%]"
if not defined showfix ( if not defined showfix (
echo "%wpainfo%" | find /i "Error Found" %nul% && ( echo "%wpainfo%" | find /i "Error Found" %nul% && (
echo:
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option." call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option."
echo: echo:
set error=1 set error=1
@@ -3383,7 +3367,6 @@ set wpainfo=a
if not defined chkalp ( if not defined chkalp (
if %wpainfo% GEQ 5000 ( if %wpainfo% GEQ 5000 (
call :dk_color %Gray% "Checking WPA Registry Count [%wpainfo%]" call :dk_color %Gray% "Checking WPA Registry Count [%wpainfo%]"
echo:
call :dk_color %Blue% "A large number of WPA registries have been found, which may cause high CPU usage." call :dk_color %Blue% "A large number of WPA registries have been found, which may cause high CPU usage."
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option." call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option."
echo: echo:
@@ -3398,8 +3381,7 @@ echo Checking WPA Registry Count [%wpainfo%]
reg query "HKU\S-1-5-20\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\PersistedTSReArmed" %nul% && ( reg query "HKU\S-1-5-20\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\PersistedTSReArmed" %nul% && (
call :dk_color %Red% "Checking Rearm [System is Rearmed]" call :dk_color %Red% "Checking Rearm [System is Rearmed]"
if not defined showfix ( if not defined showfix
echo:
call :dk_color %Blue% "Reboot your machine using the restart option to fix this error." call :dk_color %Blue% "Reboot your machine using the restart option to fix this error."
echo: echo:
) )
@@ -3411,7 +3393,6 @@ set showfix=1
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ClipSVC\Volatile\PersistedSystemState" %nul% && ( reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ClipSVC\Volatile\PersistedSystemState" %nul% && (
call :dk_color %Red% "Checking ClipSVC PersistedSystemState [Found]" call :dk_color %Red% "Checking ClipSVC PersistedSystemState [Found]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Reboot your machine using the restart option to fix this error." call :dk_color %Blue% "Reboot your machine using the restart option to fix this error."
echo: echo:
) )
@@ -3426,7 +3407,6 @@ set showfix=1
if %error_code% NEQ 0 ( if %error_code% NEQ 0 (
call :dk_color %Red% "Checking SoftwareLicensingService [Not Working] [%error_code%]" call :dk_color %Red% "Checking SoftwareLicensingService [Not Working] [%error_code%]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option." call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
echo: echo:
@@ -3456,7 +3436,6 @@ call :dk_color %Gray% "Checking Activation IDs [Key Not Installe
if not defined apps if not defined allapps ( if not defined apps if not defined allapps (
call :dk_color %Red% "Checking Activation IDs [Not found]" call :dk_color %Red% "Checking Activation IDs [Not found]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option." call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
echo: echo:
@@ -3466,7 +3445,6 @@ set showfix=1
) )
if not defined showfix if defined rlicfailed ( if not defined showfix if defined rlicfailed (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option." call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
echo: echo:
@@ -3484,7 +3462,6 @@ if not defined notwinact if exist "%SystemRoot%\Servicing\Packages\Microsoft-Win
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Eval" %nul1% || ( reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Eval" %nul1% || (
call :dk_color %Red% "Checking Eval Packages [License swapping found. Non-Eval licenses are installed in Eval Windows]" call :dk_color %Red% "Checking Eval Packages [License swapping found. Non-Eval licenses are installed in Eval Windows]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "License swapping is not the right way to upgrade to the full version. Learn the correct method at the link below." call :dk_color %Blue% "License swapping is not the right way to upgrade to the full version. Learn the correct method at the link below."
set fixes=%fixes% %mas%evaluation_editions set fixes=%fixes% %mas%evaluation_editions
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%evaluation_editions" call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%evaluation_editions"
@@ -3540,6 +3517,13 @@ call :dk_color %Red% "Checking License Files [Not Found] [%osed
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*-%osedition%-*.mum" ( if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*-%osedition%-*.mum" (
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-%osedition%Edition*.mum" ( if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-%osedition%Edition*.mum" (
call :dk_color %Red% "Checking Package Files [Not Found] [%osedition%]" call :dk_color %Red% "Checking Package Files [Not Found] [%osedition%]"
if not defined showfix (
set fixes=%fixes% %mas%in-place_repair_upgrade
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%in-place_repair_upgrade"
echo:
)
set error=1
set showfix=1
) )
) )
) )
@@ -3586,7 +3570,6 @@ if defined _sppint (
echo %_sppint% | find /i "PerfOptions" %nul% && ( echo %_sppint% | find /i "PerfOptions" %nul% && (
call :dk_color %Red% "Checking SPP Interference In IFEO [%_sppint% - System might deactivate later]" call :dk_color %Red% "Checking SPP Interference In IFEO [%_sppint% - System might deactivate later]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
) )
@@ -4234,9 +4217,6 @@ set notfoundaltactID=
if %_NoEditionChange%==1 exit /b if %_NoEditionChange%==1 exit /b
for %%# in ( for %%# in (
188_IoTEnterprise__________________8ab9bdd1-1f67-4997-82d9-8878520837d9_73111121-5638-40f6-bc11-f1d7b0d64300_NPPR9-FWDCX-D2C8J-H872K-2Y%f%T43_Enterprise
206_IoTEnterpriseK_________________80083eae-7031-4394-9e88-4901973d56fe_73111121-5638-40f6-bc11-f1d7b0d64300_NPPR9-FWDCX-D2C8J-H872K-2Y%f%T43_Enterprise
191_IoTEnterpriseS-2021____________ed655016-a9e8-4434-95d9-4345352c2552_32d2fab3-e4a8-42c2-923b-4bf4fd13e6ee_M7XTQ-FN8P6-TTKYV-9D4CC-J4%f%62D_EnterpriseS-2021
205_IoTEnterpriseSK________________d4f9b41f-205c-405e-8e08-3d16e88e02be_59eb965c-9150-42b7-a0ec-22151b9897c5_KBN8V-HFGQ4-MGXVD-347P6-PD%f%QGT_IoTEnterpriseS 205_IoTEnterpriseSK________________d4f9b41f-205c-405e-8e08-3d16e88e02be_59eb965c-9150-42b7-a0ec-22151b9897c5_KBN8V-HFGQ4-MGXVD-347P6-PD%f%QGT_IoTEnterpriseS
138_ProfessionalSingleLanguage_____a48938aa-62fa-4966-9d44-9f04da3f72f2_2de67392-b7a7-462a-b1ca-108dd189f588_W269N-WFGWX-YVC9B-4J6C9-T8%f%3GX_Professional 138_ProfessionalSingleLanguage_____a48938aa-62fa-4966-9d44-9f04da3f72f2_2de67392-b7a7-462a-b1ca-108dd189f588_W269N-WFGWX-YVC9B-4J6C9-T8%f%3GX_Professional
139_ProfessionalCountrySpecific____f7af7d09-40e4-419c-a49b-eae366689ebd_2de67392-b7a7-462a-b1ca-108dd189f588_W269N-WFGWX-YVC9B-4J6C9-T8%f%3GX_Professional 139_ProfessionalCountrySpecific____f7af7d09-40e4-419c-a49b-eae366689ebd_2de67392-b7a7-462a-b1ca-108dd189f588_W269N-WFGWX-YVC9B-4J6C9-T8%f%3GX_Professional

View File

@@ -1,12 +1,11 @@
@set masver=3.8 @set masver=3.10
@echo off @echo off
::============================================================================ ::============================================================================
:: ::
:: Homepage: mass()grave(dot)dev :: Homepage: m{}assgrave{dot}dev
:: Email: mas.help@outlook.com
:: ::
::============================================================================ ::============================================================================
@@ -134,9 +133,9 @@ set "nul="
::======================================================================================================================================== ::========================================================================================================================================
set "blank=" set "blank="
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/" set "mas=ht%blank%tps%blank%://m%blank%ass%blank%grave.dev/"
set "github=ht%blank%tps%blank%://github.com/massgra%blank%vel/Micro%blank%soft-Acti%blank%vation-Scripts" set "github=ht%blank%tps%blank%://github.com/m%blank%assgra%blank%vel/Micro%blank%soft-Acti%blank%vation-Scripts"
set "selfgit=ht%blank%tps%blank%://git.acti%blank%vated.win/massg%blank%rave/Micr%blank%osoft-Act%blank%ivation-Scripts" set "selfgit=ht%blank%tps%blank%://git.acti%blank%vated.win/Micr%blank%osoft-Act%blank%ivation-Scripts"
:: Check if Null service is working, it's important for the batch script :: Check if Null service is working, it's important for the batch script
@@ -1116,7 +1115,7 @@ set w10EsuEditions=Education-EducationN-Enterprise-EnterpriseN-Professional-Prof
set minbuild=0 set minbuild=0
if /i %tsedition%==ServerRdsh set minbuild=5552 if /i %tsedition%==ServerRdsh set minbuild=5552
for %%# in (Core CoreN CoreCountrySpecific CoreSingleLanguage) do (if /i %tsedition%==%%# set minbuild=6156) for %%# in (Core CoreN CoreCountrySpecific CoreSingleLanguage IoTEnterprise) do (if /i %tsedition%==%%# set minbuild=6156)
if /i %tsedition%==PPIPro set minbuild=6388 if /i %tsedition%==PPIPro set minbuild=6388
set /a UBR=0 set /a UBR=0
@@ -1145,10 +1144,9 @@ f520e45e-7413-4a34-a497-d2765967d094_Client-ESU-Year1_-%w10EsuEditions%-%w10EsuE
1043add5-23b1-4afb-9a0f-64343c8f3f8d_Client-ESU-Year2_-%w10EsuEditions%-%w10EsuEditionsLaterAdded% 1043add5-23b1-4afb-9a0f-64343c8f3f8d_Client-ESU-Year2_-%w10EsuEditions%-%w10EsuEditionsLaterAdded%
83d49986-add3-41d7-ba33-87c7bfb5c0fb_Client-ESU-Year3_-%w10EsuEditions%-%w10EsuEditionsLaterAdded% 83d49986-add3-41d7-ba33-87c7bfb5c0fb_Client-ESU-Year3_-%w10EsuEditions%-%w10EsuEditionsLaterAdded%
0b533b5e-08b6-44f9-b885-c2de291ba456_Client-ESU-Year6[4-6y]_-%w10EsuEditions%-%w10EsuEditionsLaterAdded% 0b533b5e-08b6-44f9-b885-c2de291ba456_Client-ESU-Year6[4-6y]_-%w10EsuEditions%-%w10EsuEditionsLaterAdded%
b8527af1-5389-447c-9a88-2d1691ea33d3_Client-IoT-ESU-Year1_-IoTEnterprise- REM WindowsServer2016
7b76ee02-0a75-4f08-85d5-bd0feadad0c0_Client-IoT-ESU-Year2_-IoTEnterprise- 91bcac0a-d7d3-4d2b-bd0c-72fed675f01b_Server-ESU-Year3[1-3y]_-ServerDatacenter-ServerDatacenterCore-ServerDatacenterV-ServerDatacenterVCore-ServerStandard-ServerStandardCore-ServerStandardV-ServerStandardVCore-
4dac5a0c-5709-4595-a32c-14a56a4a6b31_Client-IoT-ESU-Year3_-IoTEnterprise- 4cd0ab30-73a4-4dde-972c-512f05be31df_Server-ESU-Year6[4-6y]_-ServerDatacenter-ServerDatacenterCore-ServerDatacenterV-ServerDatacenterVCore-ServerStandard-ServerStandardCore-ServerStandardV-ServerStandardVCore-
f69e2d51-3bbd-4ddf-8da7-a145e9dca597_Client-IoT-ESU-Year6[4-6y]_-IoTEnterprise-
) do ( ) do (
for /f "tokens=1-3 delims=_" %%A in ("%%#") do ( for /f "tokens=1-3 delims=_" %%A in ("%%#") do (
echo "%allapps%" | find /i "%%A" %nul1% && ( echo "%allapps%" | find /i "%%A" %nul1% && (
@@ -1204,7 +1202,7 @@ goto :ts_off
set esuavail= set esuavail=
if defined _vis if defined isServer set esuavail=1 if defined _vis if defined isServer set esuavail=1
if %winbuild% LEQ 7602 if not defined _vis if not defined isThinpc set esuavail=1 if %winbuild% LEQ 7602 if not defined _vis if not defined isThinpc set esuavail=1
if %winbuild% GTR 7602 if %winbuild% LSS 10240 if defined isServer set esuavail=1 if %winbuild% GTR 7602 if %winbuild% LEQ 14393 if defined isServer set esuavail=1
if %winbuild% GEQ 10240 if %winbuild% LEQ 19045 if not defined isServer set esuavail=1 if %winbuild% GEQ 10240 if %winbuild% LEQ 19045 if not defined isServer set esuavail=1
if %winbuild% EQU 9600 set esuavail=1 if %winbuild% EQU 9600 set esuavail=1
@@ -1322,9 +1320,9 @@ call :dk_color %Gray% "Checking Installed Office [Not Found]"
if defined ohub ( if defined ohub (
echo: echo:
echo You only have the Office Dashboard app installed. You need to install the full version of Office. echo You only have the Office Dashboard app installed; you need to install the full version of Office.
) )
call :dk_color %Blue% "Download and install Office from below URL and try again." call :dk_color %Blue% "Download and install Office from the URL below, then try again."
if %_actwin%==0 set fixes=%fixes% %mas%genuine-installation-media if %_actwin%==0 set fixes=%fixes% %mas%genuine-installation-media
call :dk_color %_Yellow% "%mas%genuine-installation-media" call :dk_color %_Yellow% "%mas%genuine-installation-media"
goto :ts_act goto :ts_act
@@ -1474,7 +1472,7 @@ call :ts_process
::======================================================================================================================================== ::========================================================================================================================================
:: mass()grave(dot)dev/office-license-is-not-genuine :: mass{}grave{dot}dev/office-license-is-not-genuine
:: Add registry keys for volume products so that 'non-genuine' banner won't appear :: Add registry keys for volume products so that 'non-genuine' banner won't appear
set "kmskey=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\0ff1ce15-a989-479d-af46-f275c6370663" set "kmskey=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\0ff1ce15-a989-479d-af46-f275c6370663"
@@ -1964,7 +1962,7 @@ call :dk_color %Gray% "Windows Update gets 1-3 years of ESU; 4-6 are unofficial
echo "%tsids%" | findstr /i "4afc620f-12a4-48ad-8015-2aebfbd6e47c 11be7019-a309-4763-9a09-091d1722ffe3" %nul1% && ( echo "%tsids%" | findstr /i "4afc620f-12a4-48ad-8015-2aebfbd6e47c 11be7019-a309-4763-9a09-091d1722ffe3" %nul1% && (
call :dk_color %Gray% "ESU is not officially supported on Windows 8.1, but updates can be installed manually until January 2024." call :dk_color %Gray% "ESU is not officially supported on Windows 8.1, but updates can be installed manually until January 2024."
) )
echo "%tsids%" | findstr /i "0b533b5e-08b6-44f9-b885-c2de291ba456 f69e2d51-3bbd-4ddf-8da7-a145e9dca597" %nul1% && ( echo "%tsids%" | findstr /i "83d49986-add3-41d7-ba33-87c7bfb5c0fb 0b533b5e-08b6-44f9-b885-c2de291ba456" %nul1% && (
call :dk_color %Gray% "Windows Update gets 1-3 years of ESU; 4-6 are unofficial but may let you install LTSC updates manually." call :dk_color %Gray% "Windows Update gets 1-3 years of ESU; 4-6 are unofficial but may let you install LTSC updates manually."
if exist %SysPath%\ClipESUConsumer.exe (%SysPath%\ClipESUConsumer.exe -evaluateEligibility) if exist %SysPath%\ClipESUConsumer.exe (%SysPath%\ClipESUConsumer.exe -evaluateEligibility)
if exist %SysPath%\ClipESU.exe (%SysPath%\ClipESU.exe %nul%) if exist %SysPath%\ClipESU.exe (%SysPath%\ClipESU.exe %nul%)
@@ -2562,7 +2560,6 @@ if %upk_result%==1 echo Uninstalling Other/Grace Keys [Successful]
if %upk_result%==2 ( if %upk_result%==2 (
call :dk_color %Red% "Uninstalling Other/Grace Keys [Failed]" call :dk_color %Red% "Uninstalling Other/Grace Keys [Failed]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
set showfix=1 set showfix=1
@@ -2798,7 +2795,6 @@ echo %keyecho% %~1 [Successful]
call :dk_color %Red% "%keyecho% %~1 [Failed] %keyerror%" call :dk_color %Red% "%keyecho% %~1 [Failed] %keyerror%"
if not defined showfix ( if not defined showfix (
if defined altapplist call :dk_color %Red% "Activation ID not found for this key." if defined altapplist call :dk_color %Red% "Activation ID not found for this key."
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
set showfix=1 set showfix=1
@@ -2922,7 +2918,6 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
%eline% %eline%
echo sc start %_slser% [Error Code: %spperror%] echo sc start %_slser% [Error Code: %spperror%]
if %spperror% EQU 1053 ( if %spperror% EQU 1053 (
echo:
call :dk_color %Blue% "Reboot your machine using the restart option and try again." call :dk_color %Blue% "Reboot your machine using the restart option and try again."
call :dk_color %Blue% "If it still does not work, go back to Main Menu, select Troubleshoot and run Fix WPA Registry option." call :dk_color %Blue% "If it still does not work, go back to Main Menu, select Troubleshoot and run Fix WPA Registry option."
) )
@@ -3032,7 +3027,6 @@ call :dk_chkmal
sc query Null %nul% || ( sc query Null %nul% || (
call :dk_color %Red% "Checking Sandboxing [Found, script may not work properly]" call :dk_color %Red% "Checking Sandboxing [Found, script may not work properly]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "If you are using any third-party antivirus, check if it is blocking the script." call :dk_color %Blue% "If you are using any third-party antivirus, check if it is blocking the script."
echo: echo:
) )
@@ -3048,7 +3042,6 @@ reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinPE" /v InstRoot
call :dk_color %Red% "Checking WinPE [Found]" call :dk_color %Red% "Checking WinPE [Found]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "WinPE mode found. Reboot the system and run in normal mode." call :dk_color %Blue% "WinPE mode found. Reboot the system and run in normal mode."
echo: echo:
) )
@@ -3063,7 +3056,6 @@ set showfix=1
if defined safeboot_option ( if defined safeboot_option (
call :dk_color %Red% "Checking Boot Mode [%safeboot_option%]" call :dk_color %Red% "Checking Boot Mode [%safeboot_option%]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Safe mode found. Reboot the system and run in normal mode." call :dk_color %Blue% "Safe mode found. Reboot the system and run in normal mode."
echo: echo:
) )
@@ -3082,7 +3074,6 @@ if /i not "%imagestate%"=="IMAGE_STATE_COMPLETE" (
call :dk_color %Gray% "Checking Windows Setup State [%imagestate%]" call :dk_color %Gray% "Checking Windows Setup State [%imagestate%]"
echo "%imagestate%" | find /i "RESEAL" %nul% && ( echo "%imagestate%" | find /i "RESEAL" %nul% && (
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "You need to run it in normal mode in case you are running it in Audit Mode." call :dk_color %Blue% "You need to run it in normal mode in case you are running it in Audit Mode."
echo: echo:
) )
@@ -3177,7 +3168,6 @@ if not defined showfix (
echo: echo:
echo %serv_cste% | findstr /i "ClipSVC sppsvc" %nul% && ( echo %serv_cste% | findstr /i "ClipSVC sppsvc" %nul% && (
echo A registry fix has been applied to enable the disabled service. echo A registry fix has been applied to enable the disabled service.
echo:
call :dk_color %Blue% "Reboot your machine using the restart option to fix this error." call :dk_color %Blue% "Reboot your machine using the restart option to fix this error."
) || ( ) || (
set fixes=%fixes% %mas%in-place_repair_upgrade set fixes=%fixes% %mas%in-place_repair_upgrade
@@ -3218,7 +3208,6 @@ if not defined showfix (
set listwospp=%_serv:sppsvc=% set listwospp=%_serv:sppsvc=%
echo %serv_e% | findstr /i "!listwospp!" %nul% && ( echo %serv_e% | findstr /i "!listwospp!" %nul% && (
set showfix=1 set showfix=1
echo:
call :dk_color %Blue% "Reboot your machine using the restart option and run the script again." call :dk_color %Blue% "Reboot your machine using the restart option and run the script again."
set fixes=%fixes% %mas%in-place_repair_upgrade set fixes=%fixes% %mas%in-place_repair_upgrade
call :dk_color2 %Blue% "If service error is still not fixed, do this - " %_Yellow% " %mas%in-place_repair_upgrade" call :dk_color2 %Blue% "If service error is still not fixed, do this - " %_Yellow% " %mas%in-place_repair_upgrade"
@@ -3250,7 +3239,6 @@ if defined wmifailed (
call :dk_color %Red% "Checking WMI [Not Working]" call :dk_color %Red% "Checking WMI [Not Working]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option." call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
echo: echo:
) )
@@ -3362,7 +3350,6 @@ if !errorlevel!==3 set "permerror=Error Found In S-1-5-20 SPP"
if defined permerror ( if defined permerror (
call :dk_color %Red% "Checking SPP Permissions [!permerror!]" call :dk_color %Red% "Checking SPP Permissions [!permerror!]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
) )
@@ -3384,7 +3371,6 @@ if defined chkalp (
call :dk_color %Red% "Checking WPA Registry Errors [%wpainfo%]" call :dk_color %Red% "Checking WPA Registry Errors [%wpainfo%]"
if not defined showfix ( if not defined showfix (
echo "%wpainfo%" | find /i "Error Found" %nul% && ( echo "%wpainfo%" | find /i "Error Found" %nul% && (
echo:
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option." call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option."
echo: echo:
set error=1 set error=1
@@ -3397,7 +3383,6 @@ set wpainfo=a
if not defined chkalp ( if not defined chkalp (
if %wpainfo% GEQ 5000 ( if %wpainfo% GEQ 5000 (
call :dk_color %Gray% "Checking WPA Registry Count [%wpainfo%]" call :dk_color %Gray% "Checking WPA Registry Count [%wpainfo%]"
echo:
call :dk_color %Blue% "A large number of WPA registries have been found, which may cause high CPU usage." call :dk_color %Blue% "A large number of WPA registries have been found, which may cause high CPU usage."
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option." call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option."
echo: echo:
@@ -3413,7 +3398,6 @@ echo Checking WPA Registry Count [%wpainfo%]
reg query "HKU\S-1-5-20\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\PersistedTSReArmed" %nul% && ( reg query "HKU\S-1-5-20\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\PersistedTSReArmed" %nul% && (
call :dk_color %Red% "Checking Rearm [System is Rearmed]" call :dk_color %Red% "Checking Rearm [System is Rearmed]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Reboot your machine using the restart option to fix this error." call :dk_color %Blue% "Reboot your machine using the restart option to fix this error."
echo: echo:
) )
@@ -3425,7 +3409,6 @@ set showfix=1
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ClipSVC\Volatile\PersistedSystemState" %nul% && ( reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ClipSVC\Volatile\PersistedSystemState" %nul% && (
call :dk_color %Red% "Checking ClipSVC PersistedSystemState [Found]" call :dk_color %Red% "Checking ClipSVC PersistedSystemState [Found]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "Reboot your machine using the restart option to fix this error." call :dk_color %Blue% "Reboot your machine using the restart option to fix this error."
echo: echo:
) )
@@ -3440,7 +3423,6 @@ set showfix=1
if %error_code% NEQ 0 ( if %error_code% NEQ 0 (
call :dk_color %Red% "Checking SoftwareLicensingService [Not Working] [%error_code%]" call :dk_color %Red% "Checking SoftwareLicensingService [Not Working] [%error_code%]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option." call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
echo: echo:
@@ -3470,7 +3452,6 @@ call :dk_color %Gray% "Checking Activation IDs [Key Not Installe
if not defined apps if not defined allapps ( if not defined apps if not defined allapps (
call :dk_color %Red% "Checking Activation IDs [Not found]" call :dk_color %Red% "Checking Activation IDs [Not found]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option." call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
echo: echo:
@@ -3480,7 +3461,6 @@ set showfix=1
) )
if not defined showfix if defined rlicfailed ( if not defined showfix if defined rlicfailed (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option." call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
echo: echo:
@@ -3498,7 +3478,6 @@ if not defined notwinact if exist "%SystemRoot%\Servicing\Packages\Microsoft-Win
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Eval" %nul1% || ( reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Eval" %nul1% || (
call :dk_color %Red% "Checking Eval Packages [License swapping found. Non-Eval licenses are installed in Eval Windows]" call :dk_color %Red% "Checking Eval Packages [License swapping found. Non-Eval licenses are installed in Eval Windows]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "License swapping is not the right way to upgrade to the full version. Learn the correct method at the link below." call :dk_color %Blue% "License swapping is not the right way to upgrade to the full version. Learn the correct method at the link below."
set fixes=%fixes% %mas%evaluation_editions set fixes=%fixes% %mas%evaluation_editions
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%evaluation_editions" call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%evaluation_editions"
@@ -3554,6 +3533,13 @@ call :dk_color %Red% "Checking License Files [Not Found] [%osed
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*-%osedition%-*.mum" ( if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*-%osedition%-*.mum" (
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-%osedition%Edition*.mum" ( if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-%osedition%Edition*.mum" (
call :dk_color %Red% "Checking Package Files [Not Found] [%osedition%]" call :dk_color %Red% "Checking Package Files [Not Found] [%osedition%]"
if not defined showfix (
set fixes=%fixes% %mas%in-place_repair_upgrade
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%in-place_repair_upgrade"
echo:
)
set error=1
set showfix=1
) )
) )
) )
@@ -3600,7 +3586,6 @@ if defined _sppint (
echo %_sppint% | find /i "PerfOptions" %nul% && ( echo %_sppint% | find /i "PerfOptions" %nul% && (
call :dk_color %Red% "Checking SPP Interference In IFEO [%_sppint% - System might deactivate later]" call :dk_color %Red% "Checking SPP Interference In IFEO [%_sppint% - System might deactivate later]"
if not defined showfix ( if not defined showfix (
echo:
call :dk_color %Blue% "%_fixmsg%" call :dk_color %Blue% "%_fixmsg%"
echo: echo:
) )

View File

@@ -1,12 +1,11 @@
@set masver=3.8 @set masver=3.10
@echo off @echo off
::============================================================================ ::============================================================================
:: ::
:: Homepage: mass()grave(dot)dev :: Homepage: m{}assgrave{dot}dev
:: Email: mas.help@outlook.com
:: ::
::============================================================================ ::============================================================================
@@ -60,9 +59,9 @@ exit /b
::======================================================================================================================================== ::========================================================================================================================================
set "blank=" set "blank="
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/" set "mas=ht%blank%tps%blank%://m%blank%ass%blank%grave.dev/"
set "github=ht%blank%tps%blank%://github.com/massgra%blank%vel/Micro%blank%soft-Acti%blank%vation-Scripts" set "github=ht%blank%tps%blank%://github.com/m%blank%assgra%blank%vel/Micro%blank%soft-Acti%blank%vation-Scripts"
set "selfgit=ht%blank%tps%blank%://git.acti%blank%vated.win/massg%blank%rave/Micr%blank%osoft-Act%blank%ivation-Scripts" set "selfgit=ht%blank%tps%blank%://git.acti%blank%vated.win/Micr%blank%osoft-Act%blank%ivation-Scripts"
:: Check if Null service is working, it's important for the batch script :: Check if Null service is working, it's important for the batch script
@@ -398,7 +397,6 @@ if %_wmic% EQU 0 set "chkedi=for /f "tokens=2 delims==" %%a in ('%psc% "(([WMISE
if %osedition%==0 ( if %osedition%==0 (
%eline% %eline%
echo Failed to detect OS Edition. Aborting... echo Failed to detect OS Edition. Aborting...
echo:
call :dk_color %Blue% "To fix this issue, activate Windows from the main menu." call :dk_color %Blue% "To fix this issue, activate Windows from the main menu."
goto dk_done goto dk_done
) )
@@ -435,7 +433,6 @@ if %verchk% LSS 9029 (
echo Installed Office version is %_version%. echo Installed Office version is %_version%.
echo Minimum required version is 16.0.9029.2167 echo Minimum required version is 16.0.9029.2167
echo Aborting... echo Aborting...
echo:
call :dk_color %Blue% "Download and install latest Office from below URL and try again." call :dk_color %Blue% "Download and install latest Office from below URL and try again."
set fixes=%fixes% %mas%genuine-installation-media set fixes=%fixes% %mas%genuine-installation-media
call :dk_color %_Yellow% "%mas%genuine-installation-media" call :dk_color %_Yellow% "%mas%genuine-installation-media"
@@ -458,7 +455,6 @@ _masterxml
if not defined %%A ( if not defined %%A (
%eline% %eline%
echo Failed to find %%A. Aborting... echo Failed to find %%A. Aborting...
echo:
call :dk_color %Blue% "Download and install Office from below URL and try again." call :dk_color %Blue% "Download and install Office from below URL and try again."
set fixes=%fixes% %mas%genuine-installation-media set fixes=%fixes% %mas%genuine-installation-media
call :dk_color %_Yellow% "%mas%genuine-installation-media" call :dk_color %_Yellow% "%mas%genuine-installation-media"
@@ -810,7 +806,6 @@ if /i "%_lang%"=="%%#" set langmatched=1
if not defined langmatched ( if not defined langmatched (
%eline% %eline%
echo %_lang% language is not available for Project/Visio apps. echo %_lang% language is not available for Project/Visio apps.
echo:
call :dk_color %Blue% "Install Office in the supported language for Project/Visio from the below URL." call :dk_color %Blue% "Install Office in the supported language for Project/Visio from the below URL."
set fixes=%fixes% %mas%genuine-installation-media set fixes=%fixes% %mas%genuine-installation-media
call :dk_color %_Yellow% "%mas%genuine-installation-media" call :dk_color %_Yellow% "%mas%genuine-installation-media"
@@ -1071,12 +1066,11 @@ call :dk_color %Gray% "Installed Office editions: %_oIds%"
echo: echo:
for %%# in ( for %%# in (
"5440fd1f-7ecb-4221-8110-145efaa6372f_Insider Fast [Beta] - Insiders::DevMain -" "5440fd1f-7ecb-4221-8110-145efaa6372f_Beta / Insider Fast - Insiders::DevMain -"
"64256afe-f5d9-4f86-8936-8840a6a4f5be_Monthly Preview - Insiders::CC -" "64256afe-f5d9-4f86-8936-8840a6a4f5be_Current / Monthly Preview - Insiders::CC -"
"492350f6-3a01-4f97-b9c0-c7c6ddf67d60_Monthly [Current] - Production::CC -" "492350f6-3a01-4f97-b9c0-c7c6ddf67d60_Current / Monthly - Production::CC -"
"55336b82-a18d-4dd6-b5f6-9e5095c314a6_Monthly Enterprise - Production::MEC -" "55336b82-a18d-4dd6-b5f6-9e5095c314a6_Monthly Enterprise - Production::MEC -"
"b8f9b850-328d-4355-9145-c59439a0c4cf_Semi Annual Preview - Insiders::FRDC -" "7ffbc6bf-bc32-4f92-8982-f9dd17fd3114_Semi Annual Enterprise - Production::DC -"
"7ffbc6bf-bc32-4f92-8982-f9dd17fd3114_Semi Annual - Production::DC -"
"ea4a4090-de26-49d7-93c1-91bff9e53fc3_DevMain Channel - Dogfood::DevMain -" "ea4a4090-de26-49d7-93c1-91bff9e53fc3_DevMain Channel - Dogfood::DevMain -"
"b61285dd-d9f7-41f2-9757-8f61cba4e9c8_Microsoft Elite - Microsoft::DevMain -" "b61285dd-d9f7-41f2-9757-8f61cba4e9c8_Microsoft Elite - Microsoft::DevMain -"
"f2e724c1-748f-4b47-8fb8-8e0d210e9208_Perpetual2019 VL - Production::LTSC -" "f2e724c1-748f-4b47-8fb8-8e0d210e9208_Perpetual2019 VL - Production::LTSC -"
@@ -1619,7 +1613,6 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
%eline% %eline%
echo sc start %_slser% [Error Code: %spperror%] echo sc start %_slser% [Error Code: %spperror%]
if %spperror% EQU 1053 ( if %spperror% EQU 1053 (
echo:
call :dk_color %Blue% "Reboot your machine using the restart option and try again." call :dk_color %Blue% "Reboot your machine using the restart option and try again."
call :dk_color %Blue% "If it still does not work, go back to Main Menu, select Troubleshoot and run Fix WPA Registry option." call :dk_color %Blue% "If it still does not work, go back to Main Menu, select Troubleshoot and run Fix WPA Registry option."
) )

View File

@@ -1,12 +1,11 @@
@set masver=3.8 @set masver=3.10
@echo off @echo off
::============================================================================ ::============================================================================
:: ::
:: Homepage: mass()grave(dot)dev :: Homepage: m{}assgrave{dot}dev
:: Email: mas.help@outlook.com
:: ::
::============================================================================ ::============================================================================
@@ -65,9 +64,9 @@ exit /b
::======================================================================================================================================== ::========================================================================================================================================
set "blank=" set "blank="
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/" set "mas=ht%blank%tps%blank%://m%blank%ass%blank%grave.dev/"
set "github=ht%blank%tps%blank%://github.com/massgra%blank%vel/Micro%blank%soft-Acti%blank%vation-Scripts" set "github=ht%blank%tps%blank%://github.com/m%blank%assgra%blank%vel/Micro%blank%soft-Acti%blank%vation-Scripts"
set "selfgit=ht%blank%tps%blank%://git.acti%blank%vated.win/massg%blank%rave/Micr%blank%osoft-Act%blank%ivation-Scripts" set "selfgit=ht%blank%tps%blank%://git.acti%blank%vated.win/Micr%blank%osoft-Act%blank%ivation-Scripts"
:: Check if Null service is working, it's important for the batch script :: Check if Null service is working, it's important for the batch script
@@ -396,7 +395,6 @@ dism.exe
if not exist %SysPath%\%%# ( if not exist %SysPath%\%%# (
%eline% %eline%
echo [%SysPath%\%%#] file is missing, aborting... echo [%SysPath%\%%#] file is missing, aborting...
echo:
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:
@@ -432,7 +430,6 @@ call :dk_actids 55c92734-d682-4d71-983e-d6ec3f16059f
if not defined allapps ( if not defined allapps (
%eline% %eline%
echo Failed to find activation IDs. Aborting... echo Failed to find activation IDs. Aborting...
echo:
call :dk_color %Blue% "To fix this issue, activate Windows from the main menu." call :dk_color %Blue% "To fix this issue, activate Windows from the main menu."
goto dk_done goto dk_done
) )
@@ -454,7 +451,6 @@ if not defined osedition %chkedi% do if not errorlevel 1 (call set "osedition=%%
if not defined osedition ( if not defined osedition (
%eline% %eline%
echo Failed to detect OS edition, aborting... echo Failed to detect OS edition, aborting...
echo:
call :dk_color %Blue% "To fix this issue, activate Windows from the main menu." call :dk_color %Blue% "To fix this issue, activate Windows from the main menu."
goto dk_done goto dk_done
) )
@@ -973,7 +969,6 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
%eline% %eline%
echo sc start %_slser% [Error Code: %spperror%] echo sc start %_slser% [Error Code: %spperror%]
if %spperror% EQU 1053 ( if %spperror% EQU 1053 (
echo:
call :dk_color %Blue% "Reboot your machine using the restart option and try again." call :dk_color %Blue% "Reboot your machine using the restart option and try again."
call :dk_color %Blue% "If it still does not work, go back to Main Menu, select Troubleshoot and run Fix WPA Registry option." call :dk_color %Blue% "If it still does not work, go back to Main Menu, select Troubleshoot and run Fix WPA Registry option."
) )

View File

@@ -1,9 +1,12 @@
@echo off @echo off
::============================================================================
::
:: Check-Activation-Status :: Check-Activation-Status
:: Written by @abbodi1406 :: Written by @abbodi1406
:: https://gravesoft.dev/cas ::
::============================================================================
:: Set Environment variables, it helps if they are misconfigured in the system :: Set Environment variables, it helps if they are misconfigured in the system

View File

@@ -1,12 +1,11 @@
@set masver=3.8 @set masver=3.10
@echo off @echo off
::============================================================================ ::============================================================================
:: ::
:: Homepage: mass()grave(dot)dev :: Homepage: m{}assgrave{dot}dev
:: Email: mas.help@outlook.com
:: ::
::============================================================================ ::============================================================================
@@ -60,9 +59,9 @@ exit /b
::======================================================================================================================================== ::========================================================================================================================================
set "blank=" set "blank="
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/" set "mas=ht%blank%tps%blank%://m%blank%ass%blank%grave.dev/"
set "github=ht%blank%tps%blank%://github.com/massgra%blank%vel/Micro%blank%soft-Acti%blank%vation-Scripts" set "github=ht%blank%tps%blank%://github.com/m%blank%assgra%blank%vel/Micro%blank%soft-Acti%blank%vation-Scripts"
set "selfgit=ht%blank%tps%blank%://git.acti%blank%vated.win/massg%blank%rave/Micr%blank%osoft-Act%blank%ivation-Scripts" set "selfgit=ht%blank%tps%blank%://git.acti%blank%vated.win/Micr%blank%osoft-Act%blank%ivation-Scripts"
:: Check if Null service is working, it's important for the batch script :: Check if Null service is working, it's important for the batch script

View File

@@ -1,12 +1,11 @@
@set masver=3.8 @set masver=3.10
@echo off @echo off
::============================================================================ ::============================================================================
:: ::
:: Homepage: mass()grave(dot)dev :: Homepage: m{}assgrave{dot}dev
:: Email: mas.help@outlook.com
:: ::
::============================================================================ ::============================================================================
@@ -60,9 +59,9 @@ exit /b
::======================================================================================================================================== ::========================================================================================================================================
set "blank=" set "blank="
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/" set "mas=ht%blank%tps%blank%://m%blank%ass%blank%grave.dev/"
set "github=ht%blank%tps%blank%://github.com/massgra%blank%vel/Micro%blank%soft-Acti%blank%vation-Scripts" set "github=ht%blank%tps%blank%://github.com/m%blank%assgra%blank%vel/Micro%blank%soft-Acti%blank%vation-Scripts"
set "selfgit=ht%blank%tps%blank%://git.acti%blank%vated.win/massg%blank%rave/Micr%blank%osoft-Act%blank%ivation-Scripts" set "selfgit=ht%blank%tps%blank%://git.acti%blank%vated.win/Micr%blank%osoft-Act%blank%ivation-Scripts"
:: Check if Null service is working, it's important for the batch script :: Check if Null service is working, it's important for the batch script
@@ -1166,7 +1165,6 @@ sc query Winmgmt | find /i "STOPPED" %nul% && (
echo [Successful] echo [Successful]
) || ( ) || (
call :dk_color %Red% "[Failed]" call :dk_color %Red% "[Failed]"
echo:
call :dk_color %Blue% "Its recommended to select [Restart] option and then apply Fix WMI option again." call :dk_color %Blue% "Its recommended to select [Restart] option and then apply Fix WMI option again."
echo %line% echo %line%
echo: echo:

View File

@@ -6,15 +6,14 @@
<hr> <hr>
## How to Activate Windows / Office / Extended Updates (ESU)? ## How to Activate Windows / Office / Extended Security Updates (ESU)?
### Method 1 - PowerShell ❤️ ### Method 1 - PowerShell ❤️
1. **Open PowerShell** 1. Click the **Start Menu**, type `PowerShell`, and open it.
Click the **Start Menu**, type `PowerShell`, then open it.
2. **Copy and paste the code below, then press enter.** 2. Copy and paste the code below and press **Enter.**
- For **Windows 8, 10, 11**: 📌 - For **Windows 8.1, 10 and 11**:
``` ```
irm https://get.activated.win | iex irm https://get.activated.win | iex
``` ```
@@ -22,89 +21,64 @@
``` ```
iex (curl.exe -s --doh-url https://1.1.1.1/dns-query https://get.activated.win | Out-String) iex (curl.exe -s --doh-url https://1.1.1.1/dns-query https://get.activated.win | Out-String)
``` ```
- For **Windows 7** and later: - **Script not launching? Use the below-listed Method 2.**
```
iex ((New-Object Net.WebClient).DownloadString('https://get.activated.win'))
```
- **Script not launching❓Use the below-listed Method 2.**
3. The activation menu will appear. **Choose the green-highlighted options** to activate Windows or Office. 3. In the menu that appears, type the number corresponding to one of the **Green** options.
4. **Done!**
--- ---
### Method 2 - Traditional (Windows Vista and later) ### Method 2 - Traditional (Windows Vista and later)
1. Download the script: [**MAS_AIO.cmd**](https://dev.azure.com/massgrave/Microsoft-Activation-Scripts/_apis/git/repositories/Microsoft-Activation-Scripts/items?path=/MAS/All-In-One-Version-KL/MAS_AIO.cmd&download=true) or the [full ZIP](https://dev.azure.com/massgrave/Microsoft-Activation-Scripts/_apis/git/repositories/Microsoft-Activation-Scripts/items?$format=zip). 1. Download the script:
2. Run the file named `MAS_AIO.cmd`. * [**MAS_AIO.cmd**](https://dev.azure.com/massgrave/Microsoft-Activation-Scripts/_apis/git/repositories/Microsoft-Activation-Scripts/items?path=/MAS/All-In-One-Version-KL/MAS_AIO.cmd&download=true) (Direct script)
3. You will see the activation options. Follow the on-screen instructions. * [**MAS_AIO.zip**](https://dev.azure.com/massgrave/Microsoft-Activation-Scripts/_apis/git/repositories/Microsoft-Activation-Scripts/items?$format=zip) (If the direct script is blocked by your browser)
4. That's all. 2. Run the `MAS_AIO.cmd` file.
3. In the menu that appears, type the number corresponding to one of the **Green** options.
--- ---
> [!TIP] > [!TIP]
> - Some ISPs/DNS block access to our domains. You can bypass this by enabling [DNS-over-HTTPS (DoH)](https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/encrypted-dns-browsers/) in your browser. > - Some ISPs/DNS providers block access to our domains. You can bypass this by enabling [DNS-over-HTTPS (DoH)](https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/encrypted-dns-browsers/) in your browser.
> - **Having trouble**Visit our [troubleshooting page](https://massgrave.dev/troubleshoot) or raise an issue on [GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts/issues). > - **Having trouble**? Visit our [troubleshooting page](https://massgrave.dev/troubleshoot) or raise an issue on [GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts/issues).
---
- To activate additional products such as **Office for macOS, Visual Studio, RDS CALs, and Windows XP**, check [here](https://massgrave.dev/unsupported_products_activation).
- To run the scripts in unattended mode, check [here](https://massgrave.dev/command_line_switches).
---
> [!NOTE] > [!NOTE]
> >
> - The IRM command in PowerShell downloads a script from a specified URL, and the IEX command executes it. > - The `irm` command in PowerShell downloads a script from a specified URL, and the `iex` command executes it.
> - Always double-check the URL before executing the command and verify the source if manually downloading files. > - Always double-check the URL before executing the command and verify the source is trustworthy when manually downloading files.
> - Be cautious, as some spread malware disguised as MAS by using different URLs in the IRM command. > - Be cautious of third parties spreading malware disguised as MAS by altering the URL in the PowerShell command.
--- ---
```
Latest Version: 3.8
Release date: 11-Nov-2025
```
### [Troubleshooting / Help](https://massgrave.dev/troubleshoot)
### [Download Original Windows & Office](https://massgrave.dev/genuine-installation-media)
### Homepage - [https://massgrave.dev/](https://massgrave.dev/)
<div align="center"> <div align="center">
### Homepage - [https://massgrave.dev/](https://massgrave.dev/)
[![1.1]][1] [![1.1]][1]
[![1.2]][2] [![1.2]][2]
[![1.3]][3] [![1.3]][3]
</div>
<div align="center">
[![1.4]][4] [![1.4]][4]
[![1.5]][5] [![1.5]][5]
[![1.6]][6] [![1.6]][6]
[![1.7]][7] [![1.7]][7]
</div> [1.1]: https://massgrave.dev/img/logo_discord.png (Chat with us without signup)
[1.2]: https://massgrave.dev/img/logo_reddit.png (Reddit)
[1.3]: https://massgrave.dev/img/logo_bluesky.png (Bluesky)
[1.4]: https://massgrave.dev/img/logo_x.png (Twitter)
[1.1]: https://massgrave.dev/img/logo_github.png (GitHub) [1.5]: https://massgrave.dev/img/logo_github.png (GitHub)
[1.2]: https://massgrave.dev/img/logo_azuredevops.png (AzureDevOps) [1.6]: https://massgrave.dev/img/logo_azuredevops.png (AzureDevOps)
[1.3]: https://massgrave.dev/img/logo_gitea.png (Self-hosted Git) [1.7]: https://massgrave.dev/img/logo_gitea.png (Self-hosted Git)
[1.4]: https://massgrave.dev/img/logo_discord.png (Chat with us without signup) [1]: https://discord.gg/j2yFsV5ZVC
[1.5]: https://massgrave.dev/img/logo_reddit.png (Reddit) [2]: https://www.reddit.com/r/MAS_Activator
[1.6]: https://massgrave.dev/img/logo_bluesky.png (Bluesky) [3]: https://bsky.app/profile/massgrave.dev
[1.7]: https://massgrave.dev/img/logo_x.png (Twitter) [4]: https://twitter.com/massgravel
[5]: https://github.com/massgravel/Microsoft-Activation-Scripts
[1]: https://github.com/massgravel/Microsoft-Activation-Scripts [6]: https://dev.azure.com/massgrave/_git/Microsoft-Activation-Scripts
[2]: https://dev.azure.com/massgrave/_git/Microsoft-Activation-Scripts [7]: https://git.activated.win/Microsoft-Activation-Scripts
[3]: https://git.activated.win/massgrave/Microsoft-Activation-Scripts
[4]: https://discord.gg/j2yFsV5ZVC
[5]: https://www.reddit.com/r/MAS_Activator
[6]: https://bsky.app/profile/massgrave.dev
[7]: https://twitter.com/massgravel
--- ---
<p align="center">Made with Love ❤️</p> Latest Version: 3.10
Release date: 19-Nov-2025