mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts
synced 2026-02-05 15:30:09 +00:00
Compare commits
8 Commits
3.7
...
233c9d1b29
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
233c9d1b29 | ||
|
|
4953ed82b5 | ||
|
|
b627d74f5a | ||
|
|
07fd04ea10 | ||
|
|
e5ed8c2487 | ||
|
|
c37609eabe | ||
|
|
4e06a401b5 | ||
|
|
b74d1155b9 |
8
.gitattributes
vendored
8
.gitattributes
vendored
@@ -1,4 +1,4 @@
|
||||
MAS export-ignore
|
||||
LICENSE export-ignore
|
||||
README.md export-ignore
|
||||
.gitattributes export-ignore
|
||||
# MAS export-ignore
|
||||
# LICENSE export-ignore
|
||||
# README.md export-ignore
|
||||
# .gitattributes export-ignore
|
||||
|
||||
@@ -1474,6 +1474,11 @@ set spperror=%errorlevel%
|
||||
if %spperror% NEQ 1056 if %spperror% NEQ 0 (
|
||||
%eline%
|
||||
echo sc start %_slser% [Error Code: %spperror%]
|
||||
if %spperror% EQU 1053 (
|
||||
echo:
|
||||
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."
|
||||
)
|
||||
)
|
||||
|
||||
echo:
|
||||
@@ -5052,12 +5057,17 @@ if exist "%SystemRoot%\Servicing\Packages\WinEmb-Branding-Embedded-Standard-Pack
|
||||
)
|
||||
if not defined allapps call :dk_actids 55c92734-d682-4d71-983e-d6ec3f16059f
|
||||
|
||||
set w10EsuEditions=Education-EducationN-Enterprise-EnterpriseN-Professional-ProfessionalEducation-ProfessionalEducationN-ProfessionalN-ProfessionalWorkstation-ProfessionalWorkstationN-ServerRdsh
|
||||
set w10EsuEditions=Education-EducationN-Enterprise-EnterpriseN-Professional-ProfessionalEducation-ProfessionalEducationN-ProfessionalN-ProfessionalWorkstation-ProfessionalWorkstationN
|
||||
|
||||
set minbuild=0
|
||||
if /i %tsedition%==ServerRdsh set minbuild=5552
|
||||
for %%# in (Core CoreN CoreCountrySpecific CoreSingleLanguage) do (if /i %tsedition%==%%# set minbuild=6156)
|
||||
if /i %tsedition%==PPIPro set minbuild=6388
|
||||
|
||||
set /a UBR=0
|
||||
for /f "skip=2 tokens=2*" %%a in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v UBR %nul6%') do if not errorlevel 1 set /a UBR=%%b
|
||||
if %winbuild% EQU 19045 if %UBR% GEQ 6156 (
|
||||
set w10EsuEditionsLaterAdded=Core-CoreN-CoreCountrySpecific-CoreSingleLanguage-IoTEnterprise-
|
||||
if %winbuild% EQU 19045 if %minbuild% GTR 0 if %UBR% GEQ %minbuild% (
|
||||
set w10EsuEditionsLaterAdded=%tsedition%-
|
||||
)
|
||||
|
||||
if not defined isThinpc if not defined isltsc for %%# in (
|
||||
|
||||
@@ -1158,6 +1158,11 @@ set spperror=%errorlevel%
|
||||
if %spperror% NEQ 1056 if %spperror% NEQ 0 (
|
||||
%eline%
|
||||
echo sc start %_slser% [Error Code: %spperror%]
|
||||
if %spperror% EQU 1053 (
|
||||
echo:
|
||||
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."
|
||||
)
|
||||
)
|
||||
|
||||
echo:
|
||||
|
||||
@@ -1195,6 +1195,11 @@ set spperror=%errorlevel%
|
||||
if %spperror% NEQ 1056 if %spperror% NEQ 0 (
|
||||
%eline%
|
||||
echo sc start %_slser% [Error Code: %spperror%]
|
||||
if %spperror% EQU 1053 (
|
||||
echo:
|
||||
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."
|
||||
)
|
||||
)
|
||||
|
||||
echo:
|
||||
|
||||
@@ -1859,6 +1859,11 @@ set spperror=%errorlevel%
|
||||
if %spperror% NEQ 1056 if %spperror% NEQ 0 (
|
||||
%eline%
|
||||
echo sc start %_slser% [Error Code: %spperror%]
|
||||
if %spperror% EQU 1053 (
|
||||
echo:
|
||||
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."
|
||||
)
|
||||
)
|
||||
|
||||
echo:
|
||||
|
||||
@@ -2862,6 +2862,11 @@ set spperror=%errorlevel%
|
||||
if %spperror% NEQ 1056 if %spperror% NEQ 0 (
|
||||
%eline%
|
||||
echo sc start %_slser% [Error Code: %spperror%]
|
||||
if %spperror% EQU 1053 (
|
||||
echo:
|
||||
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."
|
||||
)
|
||||
)
|
||||
|
||||
echo:
|
||||
|
||||
@@ -1112,12 +1112,17 @@ if exist "%SystemRoot%\Servicing\Packages\WinEmb-Branding-Embedded-Standard-Pack
|
||||
)
|
||||
if not defined allapps call :dk_actids 55c92734-d682-4d71-983e-d6ec3f16059f
|
||||
|
||||
set w10EsuEditions=Education-EducationN-Enterprise-EnterpriseN-Professional-ProfessionalEducation-ProfessionalEducationN-ProfessionalN-ProfessionalWorkstation-ProfessionalWorkstationN-ServerRdsh
|
||||
set w10EsuEditions=Education-EducationN-Enterprise-EnterpriseN-Professional-ProfessionalEducation-ProfessionalEducationN-ProfessionalN-ProfessionalWorkstation-ProfessionalWorkstationN
|
||||
|
||||
set minbuild=0
|
||||
if /i %tsedition%==ServerRdsh set minbuild=5552
|
||||
for %%# in (Core CoreN CoreCountrySpecific CoreSingleLanguage) do (if /i %tsedition%==%%# set minbuild=6156)
|
||||
if /i %tsedition%==PPIPro set minbuild=6388
|
||||
|
||||
set /a UBR=0
|
||||
for /f "skip=2 tokens=2*" %%a in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v UBR %nul6%') do if not errorlevel 1 set /a UBR=%%b
|
||||
if %winbuild% EQU 19045 if %UBR% GEQ 6156 (
|
||||
set w10EsuEditionsLaterAdded=Core-CoreN-CoreCountrySpecific-CoreSingleLanguage-IoTEnterprise-
|
||||
if %winbuild% EQU 19045 if %minbuild% GTR 0 if %UBR% GEQ %minbuild% (
|
||||
set w10EsuEditionsLaterAdded=%tsedition%-
|
||||
)
|
||||
|
||||
if not defined isThinpc if not defined isltsc for %%# in (
|
||||
@@ -2912,6 +2917,11 @@ set spperror=%errorlevel%
|
||||
if %spperror% NEQ 1056 if %spperror% NEQ 0 (
|
||||
%eline%
|
||||
echo sc start %_slser% [Error Code: %spperror%]
|
||||
if %spperror% EQU 1053 (
|
||||
echo:
|
||||
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."
|
||||
)
|
||||
)
|
||||
|
||||
echo:
|
||||
|
||||
@@ -1618,6 +1618,11 @@ set spperror=%errorlevel%
|
||||
if %spperror% NEQ 1056 if %spperror% NEQ 0 (
|
||||
%eline%
|
||||
echo sc start %_slser% [Error Code: %spperror%]
|
||||
if %spperror% EQU 1053 (
|
||||
echo:
|
||||
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."
|
||||
)
|
||||
)
|
||||
|
||||
echo:
|
||||
|
||||
@@ -968,6 +968,11 @@ set spperror=%errorlevel%
|
||||
if %spperror% NEQ 1056 if %spperror% NEQ 0 (
|
||||
%eline%
|
||||
echo sc start %_slser% [Error Code: %spperror%]
|
||||
if %spperror% EQU 1053 (
|
||||
echo:
|
||||
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."
|
||||
)
|
||||
)
|
||||
|
||||
echo:
|
||||
|
||||
33
README.md
33
README.md
@@ -18,26 +18,15 @@
|
||||
```
|
||||
irm https://get.activated.win | iex
|
||||
```
|
||||
If the above is blocked (by ISP/DNS), try this (needs updated Windows 10 or 11):
|
||||
```
|
||||
iex (curl.exe -s --doh-url https://1.1.1.1/dns-query https://get.activated.win | Out-String)
|
||||
```
|
||||
- For **Windows 7** and later:
|
||||
```
|
||||
iex ((New-Object Net.WebClient).DownloadString('https://get.activated.win'))
|
||||
```
|
||||
|
||||
<details>
|
||||
|
||||
<summary>Script not launching❓Click here for info.</summary>
|
||||
|
||||
---
|
||||
|
||||
- If the above is blocked (by ISP/DNS), try this (needs **updated Windows 10 or 11**):
|
||||
```
|
||||
iex (curl.exe -s --doh-url https://1.1.1.1/dns-query https://get.activated.win | Out-String)
|
||||
```
|
||||
- If that fails or you have an older Windows, use the below-listed Method 2.
|
||||
|
||||
---
|
||||
|
||||
</details>
|
||||
- **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.
|
||||
|
||||
@@ -47,21 +36,13 @@
|
||||
|
||||
### Method 2 - Traditional (Windows Vista and later)
|
||||
|
||||
<details>
|
||||
<summary>Click here to view</summary>
|
||||
|
||||
1. Download the file using one of the links below:
|
||||
`https://github.com/massgravel/Microsoft-Activation-Scripts/archive/refs/heads/master.zip`
|
||||
or
|
||||
`https://git.activated.win/massgrave/Microsoft-Activation-Scripts/archive/master.zip`
|
||||
2. Right-click on the downloaded zip file and extract it.
|
||||
1. Download the ZIP file from this [Azure DevOps](https://dev.azure.com/massgrave/Microsoft-Activation-Scripts/_apis/git/repositories/Microsoft-Activation-Scripts/items?$format=zip) link.
|
||||
2. Right-click on the downloaded ZIP file and extract it.
|
||||
3. In the extracted folder, find the folder named `All-In-One-Version`.
|
||||
4. Run the file named `MAS_AIO.cmd`.
|
||||
5. You will see the activation options. Follow the on-screen instructions.
|
||||
6. That's all.
|
||||
|
||||
</details>
|
||||
|
||||
---
|
||||
|
||||
> [!TIP]
|
||||
|
||||
Reference in New Issue
Block a user