mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2025-07-05 17:31:20 +01:00
Compare commits
14 Commits
9f244ddc17
...
master
Author | SHA1 | Date | |
---|---|---|---|
5ad6226f37 | |||
ae9f4e34ff | |||
67abcd0c89 | |||
faf3bf3a08 | |||
482600c890 | |||
dc90e1ff0f | |||
f969378f6b | |||
c89bebdee8 | |||
be7d101df5 | |||
55b6fce50a | |||
6566bb53c1 | |||
2e44a4a77b | |||
9073a35fe0 | |||
a149fc5f20 |
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
|||||||
@set masver=3.2
|
@set masver=3.4
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@set masver=3.2
|
@set masver=3.4
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@set masver=3.2
|
@set masver=3.4
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@ -614,6 +614,7 @@ set error=1
|
|||||||
goto :starto16c2r
|
goto :starto16c2r
|
||||||
)
|
)
|
||||||
|
|
||||||
|
call :oh_expiredpreview 2013
|
||||||
call :oh_fixprids
|
call :oh_fixprids
|
||||||
call :oh_process
|
call :oh_process
|
||||||
if defined isOspp (
|
if defined isOspp (
|
||||||
@ -671,6 +672,7 @@ set error=1
|
|||||||
goto :startmsi
|
goto :startmsi
|
||||||
)
|
)
|
||||||
|
|
||||||
|
call :oh_expiredpreview 2016 2019 2021 2024
|
||||||
call :oh_fixprids
|
call :oh_fixprids
|
||||||
call :oh_process
|
call :oh_process
|
||||||
if defined isOspp (
|
if defined isOspp (
|
||||||
@ -930,6 +932,21 @@ exit /b
|
|||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
|
|
||||||
|
:oh_expiredpreview
|
||||||
|
|
||||||
|
for %%# in (%*) do (
|
||||||
|
if exist "!_oLPath!\ProPlus%%#PreviewVL_*.xrm-ms" if not exist "!_oLPath!\ProPlus%%#VL_*.xrm-ms" (
|
||||||
|
set error=1
|
||||||
|
set showfix=1
|
||||||
|
call :dk_color %Red% "Checking Expired Preview Products [Office %%# Preview Found]"
|
||||||
|
call :dk_color %Blue% "Please run the Office updates first, and then attempt to activate it again."
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
exit /b
|
||||||
|
|
||||||
|
::========================================================================================================================================
|
||||||
|
|
||||||
:oh_ppcpath
|
:oh_ppcpath
|
||||||
|
|
||||||
if not defined isOspp (
|
if not defined isOspp (
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@set masver=3.2
|
@set masver=3.4
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@ -876,6 +876,7 @@ set error=1
|
|||||||
goto :ks_starto16c2r
|
goto :ks_starto16c2r
|
||||||
)
|
)
|
||||||
|
|
||||||
|
call :oh_expiredpreview 2013
|
||||||
if "%_actprojvis%"=="0" call :oh_fixprids
|
if "%_actprojvis%"=="0" call :oh_fixprids
|
||||||
call :ks_process
|
call :ks_process
|
||||||
|
|
||||||
@ -916,6 +917,7 @@ set error=1
|
|||||||
goto :ks_startmsi
|
goto :ks_startmsi
|
||||||
)
|
)
|
||||||
|
|
||||||
|
call :oh_expiredpreview 2016 2019 2021 2024
|
||||||
if "%_actprojvis%"=="0" call :oh_fixprids
|
if "%_actprojvis%"=="0" call :oh_fixprids
|
||||||
call :ks_process
|
call :ks_process
|
||||||
|
|
||||||
@ -1096,6 +1098,21 @@ exit /b
|
|||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
|
|
||||||
|
:oh_expiredpreview
|
||||||
|
|
||||||
|
for %%# in (%*) do (
|
||||||
|
if exist "!_oLPath!\ProPlus%%#PreviewVL_*.xrm-ms" if not exist "!_oLPath!\ProPlus%%#VL_*.xrm-ms" (
|
||||||
|
set error=1
|
||||||
|
set showfix=1
|
||||||
|
call :dk_color %Red% "Checking Expired Preview Products [Office %%# Preview Found]"
|
||||||
|
call :dk_color %Blue% "Please run the Office updates first, and then attempt to activate it again."
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
exit /b
|
||||||
|
|
||||||
|
::========================================================================================================================================
|
||||||
|
|
||||||
:: Some Office Retail to Volume converter tools may edit the ProductReleaseIds to add VL products. This code restores it because it may affect features.
|
:: Some Office Retail to Volume converter tools may edit the ProductReleaseIds to add VL products. This code restores it because it may affect features.
|
||||||
|
|
||||||
:oh_fixprids
|
:oh_fixprids
|
||||||
@ -2137,8 +2154,8 @@ set srvlist=
|
|||||||
set -=
|
set -=
|
||||||
|
|
||||||
set "srvlist=kms.03%-%k.org kms-default.cangs%-%hui.net kms.six%-%yin.com kms.moe%-%club.org kms.cgt%-%soft.com"
|
set "srvlist=kms.03%-%k.org kms-default.cangs%-%hui.net kms.six%-%yin.com kms.moe%-%club.org kms.cgt%-%soft.com"
|
||||||
set "srvlist=%srvlist% kms.id%-%ina.cn kms.moe%-%yuuko.com xinch%-%eng213618.cn kms.lol%-%i.best kms.my%-%ds.cloud"
|
set "srvlist=%srvlist% kms.id%-%ina.cn kms.moe%-%yuuko.com xinch%-%eng213618.cn kms.lol%-%i.best kms.mc%-%06.net"
|
||||||
set "srvlist=%srvlist% kms.0%-%t.net.cn win.k%-%ms.pub kms.wx%-%lost.com kms.moe%-%yuuko.top kms.gh%-%pym.com"
|
set "srvlist=%srvlist% kms.0%-%t.net.cn win.k%-%ms.pub kms.wx%-%lost.com kms.moe%-%yuuko.top kms.gh%-%xi.com"
|
||||||
|
|
||||||
set n=1
|
set n=1
|
||||||
for %%a in (%srvlist%) do (set %%a=&set server!n!=%%a&set /a n+=1)
|
for %%a in (%srvlist%) do (set %%a=&set server!n!=%%a&set /a n+=1)
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
|||||||
@set masver=3.2
|
@set masver=3.4
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@set masver=3.2
|
@set masver=3.4
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@set masver=3.2
|
@set masver=3.4
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@set masver=3.2
|
@set masver=3.4
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
|
10
README.md
10
README.md
@ -22,9 +22,7 @@ Alternatively, you can use the following (this will be deprecated in the future)
|
|||||||
irm https://massgrave.dev/get | iex
|
irm https://massgrave.dev/get | iex
|
||||||
```
|
```
|
||||||
|
|
||||||
3. You will see the activation options.
|
3. You will see the activation options. Choose the activation options highlighted in green.
|
||||||
Press 1 HWID for Windows activation.
|
|
||||||
Press 2 Ohook for Office activation.
|
|
||||||
|
|
||||||
4. That's all
|
4. That's all
|
||||||
|
|
||||||
@ -49,7 +47,7 @@ or
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
- **[Office for macOS](https://massgrave.dev/office_for_mac)**
|
- 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).
|
- To run the scripts in unattended mode, check [here](https://massgrave.dev/command_line_switches).
|
||||||
|
|
||||||
---
|
---
|
||||||
@ -71,8 +69,8 @@ or
|
|||||||
---
|
---
|
||||||
|
|
||||||
```
|
```
|
||||||
Latest Version: 3.2
|
Latest Version: 3.4
|
||||||
Release date: 6-May-2025
|
Release date: 3-June-2025
|
||||||
```
|
```
|
||||||
|
|
||||||
### [Troubleshooting / Help](https://massgrave.dev/troubleshoot)
|
### [Troubleshooting / Help](https://massgrave.dev/troubleshoot)
|
||||||
|
Reference in New Issue
Block a user