mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2025-07-05 09:21:19 +01:00
Compare commits
10 Commits
fc80735dac
...
3.3
Author | SHA1 | Date | |
---|---|---|---|
be7d101df5 | |||
55b6fce50a | |||
6566bb53c1 | |||
2e44a4a77b | |||
9073a35fe0 | |||
9f244ddc17 | |||
8ed0c6874b | |||
a99acbb025 | |||
be867f6616 | |||
a149fc5f20 |
6
.gitattributes
vendored
6
.gitattributes
vendored
@ -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
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
|||||||
@set masver=3.2
|
@set masver=3.3
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@ -100,6 +100,8 @@ set "nul="
|
|||||||
|
|
||||||
set "blank="
|
set "blank="
|
||||||
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/"
|
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/"
|
||||||
|
set "github=ht%blank%tps%blank%://github.com/massgra%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"
|
||||||
|
|
||||||
:: 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
|
||||||
|
|
||||||
@ -239,12 +241,14 @@ for /f "delims=" %%a in ('%psc% "if ($PSVersionTable.PSEdition -ne 'Core') {$f=[
|
|||||||
|
|
||||||
if /i not "%tstresult%"=="FullLanguage" (
|
if /i not "%tstresult%"=="FullLanguage" (
|
||||||
%eline%
|
%eline%
|
||||||
echo: %tstresult%
|
for /f "delims=" %%a in ('%psc% "$ExecutionContext.SessionState.LanguageMode" %nul6%') do (set tstresult2=%%a)
|
||||||
cmd /c "%psc% $ExecutionContext.SessionState.LanguageMode"
|
echo Test 1 - %tstresult%
|
||||||
|
echo Test 2 - !tstresult2!
|
||||||
|
echo:
|
||||||
|
|
||||||
REM check LanguageMode
|
REM check LanguageMode
|
||||||
|
|
||||||
cmd /c "%psc% "$ExecutionContext.SessionState.LanguageMode"" | findstr /i "ConstrainedLanguage RestrictedLanguage NoLanguage" %nul1% && (
|
echo: !tstresult2! | findstr /i "ConstrainedLanguage RestrictedLanguage NoLanguage" %nul1% && (
|
||||||
echo FullLanguage mode not found in PowerShell. Aborting...
|
echo FullLanguage mode not found in PowerShell. Aborting...
|
||||||
echo If you have applied restrictions on Powershell then undo those changes.
|
echo If you have applied restrictions on Powershell then undo those changes.
|
||||||
echo:
|
echo:
|
||||||
@ -274,7 +278,13 @@ goto dk_done
|
|||||||
REM check antivirus and other errors
|
REM check antivirus and other errors
|
||||||
|
|
||||||
echo PowerShell is not working properly. Aborting...
|
echo PowerShell is not working properly. Aborting...
|
||||||
cmd /c "%psc% ""$av = Get-WmiObject -Namespace root\SecurityCenter2 -Class AntiVirusProduct; $n = @(); foreach ($i in $av) { if ($i.displayName -notlike '*windows*') { $n += $i.displayName } }; if ($n) { Write-Host ('Installed 3rd party Antivirus might be blocking the script - ' + ($n -join ', ')) -ForegroundColor White -BackgroundColor Blue }"""
|
|
||||||
|
if /i "!tstresult2!"=="FullLanguage" (
|
||||||
|
echo:
|
||||||
|
echo Your antivirus software might be blocking the script, or PowerShell on your system might be corrupted.
|
||||||
|
cmd /c "%psc% ""$av = Get-WmiObject -Namespace root\SecurityCenter2 -Class AntiVirusProduct; $n = @(); foreach ($i in $av) { $n += $i.displayName }; if ($n) { Write-Host ('Installed Antivirus - ' + ($n -join ', '))}"""
|
||||||
|
)
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
set fixes=%fixes% %mas%troubleshoot
|
set fixes=%fixes% %mas%troubleshoot
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
||||||
@ -356,7 +366,7 @@ echo:
|
|||||||
call :dk_color %_Green% "Choose a menu option using your keyboard [1,0] :"
|
call :dk_color %_Green% "Choose a menu option using your keyboard [1,0] :"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
if !errorlevel!==2 rem
|
if !errorlevel!==2 rem
|
||||||
if !errorlevel!==1 (start https://git.activated.win/massg%-%rave/Micr%-%osoft-Act%-%ivation-Scripts & start https://github.com/massgra%-%vel/Micro%-%soft-Acti%-%vation-Scripts & start %mas% & exit /b)
|
if !errorlevel!==1 (start %selfgit% & start %github% & start %mas% & exit /b)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -1707,7 +1717,7 @@ call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
|||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
if !errorlevel!==2 exit /b
|
if !errorlevel!==2 exit /b
|
||||||
if !errorlevel!==1 (start https://git.activated.win/massg%-%rave/Micr%-%osoft-Act%-%ivation-Scripts & start https://github.com/massgra%-%vel/Micro%-%soft-Acti%-%vation-Scripts & for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (start %selfgit% & start %github% & for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
if defined terminal (
|
if defined terminal (
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@set masver=3.2
|
@set masver=3.3
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@ -103,6 +103,8 @@ set "nul="
|
|||||||
|
|
||||||
set "blank="
|
set "blank="
|
||||||
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/"
|
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/"
|
||||||
|
set "github=ht%blank%tps%blank%://github.com/massgra%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"
|
||||||
|
|
||||||
:: 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
|
||||||
|
|
||||||
@ -242,12 +244,14 @@ for /f "delims=" %%a in ('%psc% "if ($PSVersionTable.PSEdition -ne 'Core') {$f=[
|
|||||||
|
|
||||||
if /i not "%tstresult%"=="FullLanguage" (
|
if /i not "%tstresult%"=="FullLanguage" (
|
||||||
%eline%
|
%eline%
|
||||||
echo: %tstresult%
|
for /f "delims=" %%a in ('%psc% "$ExecutionContext.SessionState.LanguageMode" %nul6%') do (set tstresult2=%%a)
|
||||||
cmd /c "%psc% $ExecutionContext.SessionState.LanguageMode"
|
echo Test 1 - %tstresult%
|
||||||
|
echo Test 2 - !tstresult2!
|
||||||
|
echo:
|
||||||
|
|
||||||
REM check LanguageMode
|
REM check LanguageMode
|
||||||
|
|
||||||
cmd /c "%psc% "$ExecutionContext.SessionState.LanguageMode"" | findstr /i "ConstrainedLanguage RestrictedLanguage NoLanguage" %nul1% && (
|
echo: !tstresult2! | findstr /i "ConstrainedLanguage RestrictedLanguage NoLanguage" %nul1% && (
|
||||||
echo FullLanguage mode not found in PowerShell. Aborting...
|
echo FullLanguage mode not found in PowerShell. Aborting...
|
||||||
echo If you have applied restrictions on Powershell then undo those changes.
|
echo If you have applied restrictions on Powershell then undo those changes.
|
||||||
echo:
|
echo:
|
||||||
@ -277,7 +281,13 @@ goto dk_done
|
|||||||
REM check antivirus and other errors
|
REM check antivirus and other errors
|
||||||
|
|
||||||
echo PowerShell is not working properly. Aborting...
|
echo PowerShell is not working properly. Aborting...
|
||||||
cmd /c "%psc% ""$av = Get-WmiObject -Namespace root\SecurityCenter2 -Class AntiVirusProduct; $n = @(); foreach ($i in $av) { if ($i.displayName -notlike '*windows*') { $n += $i.displayName } }; if ($n) { Write-Host ('Installed 3rd party Antivirus might be blocking the script - ' + ($n -join ', ')) -ForegroundColor White -BackgroundColor Blue }"""
|
|
||||||
|
if /i "!tstresult2!"=="FullLanguage" (
|
||||||
|
echo:
|
||||||
|
echo Your antivirus software might be blocking the script, or PowerShell on your system might be corrupted.
|
||||||
|
cmd /c "%psc% ""$av = Get-WmiObject -Namespace root\SecurityCenter2 -Class AntiVirusProduct; $n = @(); foreach ($i in $av) { $n += $i.displayName }; if ($n) { Write-Host ('Installed Antivirus - ' + ($n -join ', '))}"""
|
||||||
|
)
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
set fixes=%fixes% %mas%troubleshoot
|
set fixes=%fixes% %mas%troubleshoot
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
||||||
@ -359,7 +369,7 @@ echo:
|
|||||||
call :dk_color %_Green% "Choose a menu option using your keyboard [1,0] :"
|
call :dk_color %_Green% "Choose a menu option using your keyboard [1,0] :"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
if !errorlevel!==2 rem
|
if !errorlevel!==2 rem
|
||||||
if !errorlevel!==1 (start https://git.activated.win/massg%-%rave/Micr%-%osoft-Act%-%ivation-Scripts & start https://github.com/massgra%-%vel/Micro%-%soft-Acti%-%vation-Scripts & start %mas% & exit /b)
|
if !errorlevel!==1 (start %selfgit% & start %github% & start %mas% & exit /b)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
cls
|
cls
|
||||||
@ -1850,7 +1860,7 @@ call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
|||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
if !errorlevel!==2 exit /b
|
if !errorlevel!==2 exit /b
|
||||||
if !errorlevel!==1 (start https://git.activated.win/massg%-%rave/Micr%-%osoft-Act%-%ivation-Scripts & start https://github.com/massgra%-%vel/Micro%-%soft-Acti%-%vation-Scripts & for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (start %selfgit% & start %github% & for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
if defined terminal (
|
if defined terminal (
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@set masver=3.2
|
@set masver=3.3
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@ -100,6 +100,8 @@ set "nul="
|
|||||||
|
|
||||||
set "blank="
|
set "blank="
|
||||||
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/"
|
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/"
|
||||||
|
set "github=ht%blank%tps%blank%://github.com/massgra%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"
|
||||||
|
|
||||||
:: 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
|
||||||
|
|
||||||
@ -247,12 +249,14 @@ for /f "delims=" %%a in ('%psc% "if ($PSVersionTable.PSEdition -ne 'Core') {$f=[
|
|||||||
|
|
||||||
if /i not "%tstresult%"=="FullLanguage" (
|
if /i not "%tstresult%"=="FullLanguage" (
|
||||||
%eline%
|
%eline%
|
||||||
echo: %tstresult%
|
for /f "delims=" %%a in ('%psc% "$ExecutionContext.SessionState.LanguageMode" %nul6%') do (set tstresult2=%%a)
|
||||||
cmd /c "%psc% $ExecutionContext.SessionState.LanguageMode"
|
echo Test 1 - %tstresult%
|
||||||
|
echo Test 2 - !tstresult2!
|
||||||
|
echo:
|
||||||
|
|
||||||
REM check LanguageMode
|
REM check LanguageMode
|
||||||
|
|
||||||
cmd /c "%psc% "$ExecutionContext.SessionState.LanguageMode"" | findstr /i "ConstrainedLanguage RestrictedLanguage NoLanguage" %nul1% && (
|
echo: !tstresult2! | findstr /i "ConstrainedLanguage RestrictedLanguage NoLanguage" %nul1% && (
|
||||||
echo FullLanguage mode not found in PowerShell. Aborting...
|
echo FullLanguage mode not found in PowerShell. Aborting...
|
||||||
echo If you have applied restrictions on Powershell then undo those changes.
|
echo If you have applied restrictions on Powershell then undo those changes.
|
||||||
echo:
|
echo:
|
||||||
@ -282,7 +286,13 @@ goto dk_done
|
|||||||
REM check antivirus and other errors
|
REM check antivirus and other errors
|
||||||
|
|
||||||
echo PowerShell is not working properly. Aborting...
|
echo PowerShell is not working properly. Aborting...
|
||||||
cmd /c "%psc% ""$av = Get-WmiObject -Namespace root\SecurityCenter2 -Class AntiVirusProduct; $n = @(); foreach ($i in $av) { if ($i.displayName -notlike '*windows*') { $n += $i.displayName } }; if ($n) { Write-Host ('Installed 3rd party Antivirus might be blocking the script - ' + ($n -join ', ')) -ForegroundColor White -BackgroundColor Blue }"""
|
|
||||||
|
if /i "!tstresult2!"=="FullLanguage" (
|
||||||
|
echo:
|
||||||
|
echo Your antivirus software might be blocking the script, or PowerShell on your system might be corrupted.
|
||||||
|
cmd /c "%psc% ""$av = Get-WmiObject -Namespace root\SecurityCenter2 -Class AntiVirusProduct; $n = @(); foreach ($i in $av) { $n += $i.displayName }; if ($n) { Write-Host ('Installed Antivirus - ' + ($n -join ', '))}"""
|
||||||
|
)
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
set fixes=%fixes% %mas%troubleshoot
|
set fixes=%fixes% %mas%troubleshoot
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
||||||
@ -364,7 +374,7 @@ echo:
|
|||||||
call :dk_color %_Green% "Choose a menu option using your keyboard [1,0] :"
|
call :dk_color %_Green% "Choose a menu option using your keyboard [1,0] :"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
if !errorlevel!==2 rem
|
if !errorlevel!==2 rem
|
||||||
if !errorlevel!==1 (start https://git.activated.win/massg%-%rave/Micr%-%osoft-Act%-%ivation-Scripts & start https://github.com/massgra%-%vel/Micro%-%soft-Acti%-%vation-Scripts & start %mas% & exit /b)
|
if !errorlevel!==1 (start %selfgit% & start %github% & start %mas% & exit /b)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
cls
|
cls
|
||||||
@ -529,7 +539,7 @@ 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:
|
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."
|
||||||
@ -2368,7 +2378,7 @@ call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
|||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
if !errorlevel!==2 exit /b
|
if !errorlevel!==2 exit /b
|
||||||
if !errorlevel!==1 (start https://git.activated.win/massg%-%rave/Micr%-%osoft-Act%-%ivation-Scripts & start https://github.com/massgra%-%vel/Micro%-%soft-Acti%-%vation-Scripts & for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (start %selfgit% & start %github% & for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
if defined terminal (
|
if defined terminal (
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@set masver=3.2
|
@set masver=3.3
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@ -125,6 +125,8 @@ set "nul="
|
|||||||
|
|
||||||
set "blank="
|
set "blank="
|
||||||
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/"
|
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/"
|
||||||
|
set "github=ht%blank%tps%blank%://github.com/massgra%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"
|
||||||
|
|
||||||
:: 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
|
||||||
|
|
||||||
@ -278,12 +280,14 @@ for /f "delims=" %%a in ('%psc% "if ($PSVersionTable.PSEdition -ne 'Core') {$f=[
|
|||||||
|
|
||||||
if /i not "%tstresult%"=="FullLanguage" (
|
if /i not "%tstresult%"=="FullLanguage" (
|
||||||
%eline%
|
%eline%
|
||||||
echo: %tstresult%
|
for /f "delims=" %%a in ('%psc% "$ExecutionContext.SessionState.LanguageMode" %nul6%') do (set tstresult2=%%a)
|
||||||
cmd /c "%psc% $ExecutionContext.SessionState.LanguageMode"
|
echo Test 1 - %tstresult%
|
||||||
|
echo Test 2 - !tstresult2!
|
||||||
|
echo:
|
||||||
|
|
||||||
REM check LanguageMode
|
REM check LanguageMode
|
||||||
|
|
||||||
cmd /c "%psc% "$ExecutionContext.SessionState.LanguageMode"" | findstr /i "ConstrainedLanguage RestrictedLanguage NoLanguage" %nul1% && (
|
echo: !tstresult2! | findstr /i "ConstrainedLanguage RestrictedLanguage NoLanguage" %nul1% && (
|
||||||
echo FullLanguage mode not found in PowerShell. Aborting...
|
echo FullLanguage mode not found in PowerShell. Aborting...
|
||||||
echo If you have applied restrictions on Powershell then undo those changes.
|
echo If you have applied restrictions on Powershell then undo those changes.
|
||||||
echo:
|
echo:
|
||||||
@ -313,7 +317,13 @@ goto dk_done
|
|||||||
REM check antivirus and other errors
|
REM check antivirus and other errors
|
||||||
|
|
||||||
echo PowerShell is not working properly. Aborting...
|
echo PowerShell is not working properly. Aborting...
|
||||||
cmd /c "%psc% ""$av = Get-WmiObject -Namespace root\SecurityCenter2 -Class AntiVirusProduct; $n = @(); foreach ($i in $av) { if ($i.displayName -notlike '*windows*') { $n += $i.displayName } }; if ($n) { Write-Host ('Installed 3rd party Antivirus might be blocking the script - ' + ($n -join ', ')) -ForegroundColor White -BackgroundColor Blue }"""
|
|
||||||
|
if /i "!tstresult2!"=="FullLanguage" (
|
||||||
|
echo:
|
||||||
|
echo Your antivirus software might be blocking the script, or PowerShell on your system might be corrupted.
|
||||||
|
cmd /c "%psc% ""$av = Get-WmiObject -Namespace root\SecurityCenter2 -Class AntiVirusProduct; $n = @(); foreach ($i in $av) { $n += $i.displayName }; if ($n) { Write-Host ('Installed Antivirus - ' + ($n -join ', '))}"""
|
||||||
|
)
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
set fixes=%fixes% %mas%troubleshoot
|
set fixes=%fixes% %mas%troubleshoot
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
||||||
@ -395,7 +405,7 @@ echo:
|
|||||||
call :dk_color %_Green% "Choose a menu option using your keyboard [1,0] :"
|
call :dk_color %_Green% "Choose a menu option using your keyboard [1,0] :"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
if !errorlevel!==2 rem
|
if !errorlevel!==2 rem
|
||||||
if !errorlevel!==1 (start https://git.activated.win/massg%-%rave/Micr%-%osoft-Act%-%ivation-Scripts & start https://github.com/massgra%-%vel/Micro%-%soft-Acti%-%vation-Scripts & start %mas% & exit /b)
|
if !errorlevel!==1 (start %selfgit% & start %github% & start %mas% & exit /b)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -774,7 +784,7 @@ call :dk_color %Red% "Checking Installed Office [Not Found]"
|
|||||||
|
|
||||||
if defined ohub (
|
if defined ohub (
|
||||||
echo:
|
echo:
|
||||||
echo You have only Office dashboard app installed, you need to install full Office version.
|
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 below URL and try again."
|
||||||
set fixes=%fixes% %mas%genuine-installation-media
|
set fixes=%fixes% %mas%genuine-installation-media
|
||||||
@ -3424,7 +3434,7 @@ call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
|||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
if !errorlevel!==2 exit /b
|
if !errorlevel!==2 exit /b
|
||||||
if !errorlevel!==1 (start https://git.activated.win/massg%-%rave/Micr%-%osoft-Act%-%ivation-Scripts & start https://github.com/massgra%-%vel/Micro%-%soft-Acti%-%vation-Scripts & for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (start %selfgit% & start %github% & for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
if defined terminal (
|
if defined terminal (
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
|||||||
@set masver=3.2
|
@set masver=3.3
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@ -60,6 +60,8 @@ exit /b
|
|||||||
|
|
||||||
set "blank="
|
set "blank="
|
||||||
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/"
|
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/"
|
||||||
|
set "github=ht%blank%tps%blank%://github.com/massgra%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"
|
||||||
|
|
||||||
:: 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
|
||||||
|
|
||||||
@ -192,12 +194,14 @@ for /f "delims=" %%a in ('%psc% "if ($PSVersionTable.PSEdition -ne 'Core') {$f=[
|
|||||||
|
|
||||||
if /i not "%tstresult%"=="FullLanguage" (
|
if /i not "%tstresult%"=="FullLanguage" (
|
||||||
%eline%
|
%eline%
|
||||||
echo: %tstresult%
|
for /f "delims=" %%a in ('%psc% "$ExecutionContext.SessionState.LanguageMode" %nul6%') do (set tstresult2=%%a)
|
||||||
cmd /c "%psc% $ExecutionContext.SessionState.LanguageMode"
|
echo Test 1 - %tstresult%
|
||||||
|
echo Test 2 - !tstresult2!
|
||||||
|
echo:
|
||||||
|
|
||||||
REM check LanguageMode
|
REM check LanguageMode
|
||||||
|
|
||||||
cmd /c "%psc% "$ExecutionContext.SessionState.LanguageMode"" | findstr /i "ConstrainedLanguage RestrictedLanguage NoLanguage" %nul1% && (
|
echo: !tstresult2! | findstr /i "ConstrainedLanguage RestrictedLanguage NoLanguage" %nul1% && (
|
||||||
echo FullLanguage mode not found in PowerShell. Aborting...
|
echo FullLanguage mode not found in PowerShell. Aborting...
|
||||||
echo If you have applied restrictions on Powershell then undo those changes.
|
echo If you have applied restrictions on Powershell then undo those changes.
|
||||||
echo:
|
echo:
|
||||||
@ -227,7 +231,13 @@ goto dk_done
|
|||||||
REM check antivirus and other errors
|
REM check antivirus and other errors
|
||||||
|
|
||||||
echo PowerShell is not working properly. Aborting...
|
echo PowerShell is not working properly. Aborting...
|
||||||
cmd /c "%psc% ""$av = Get-WmiObject -Namespace root\SecurityCenter2 -Class AntiVirusProduct; $n = @(); foreach ($i in $av) { if ($i.displayName -notlike '*windows*') { $n += $i.displayName } }; if ($n) { Write-Host ('Installed 3rd party Antivirus might be blocking the script - ' + ($n -join ', ')) -ForegroundColor White -BackgroundColor Blue }"""
|
|
||||||
|
if /i "!tstresult2!"=="FullLanguage" (
|
||||||
|
echo:
|
||||||
|
echo Your antivirus software might be blocking the script, or PowerShell on your system might be corrupted.
|
||||||
|
cmd /c "%psc% ""$av = Get-WmiObject -Namespace root\SecurityCenter2 -Class AntiVirusProduct; $n = @(); foreach ($i in $av) { $n += $i.displayName }; if ($n) { Write-Host ('Installed Antivirus - ' + ($n -join ', '))}"""
|
||||||
|
)
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
set fixes=%fixes% %mas%troubleshoot
|
set fixes=%fixes% %mas%troubleshoot
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
||||||
@ -309,7 +319,7 @@ echo:
|
|||||||
call :dk_color %_Green% "Choose a menu option using your keyboard [1,0] :"
|
call :dk_color %_Green% "Choose a menu option using your keyboard [1,0] :"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
if !errorlevel!==2 rem
|
if !errorlevel!==2 rem
|
||||||
if !errorlevel!==1 (start https://git.activated.win/massg%-%rave/Micr%-%osoft-Act%-%ivation-Scripts & start https://github.com/massgra%-%vel/Micro%-%soft-Acti%-%vation-Scripts & start %mas% & exit /b)
|
if !errorlevel!==1 (start %selfgit% & start %github% & start %mas% & exit /b)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -1196,7 +1206,7 @@ call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
|||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
if !errorlevel!==2 goto :oemenu
|
if !errorlevel!==2 goto :oemenu
|
||||||
if !errorlevel!==1 (start https://git.activated.win/massg%-%rave/Micr%-%osoft-Act%-%ivation-Scripts & start https://github.com/massgra%-%vel/Micro%-%soft-Acti%-%vation-Scripts & for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (start %selfgit% & start %github% & for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
if defined terminal (
|
if defined terminal (
|
||||||
@ -1593,7 +1603,7 @@ call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
|||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
if !errorlevel!==2 exit /b
|
if !errorlevel!==2 exit /b
|
||||||
if !errorlevel!==1 (start https://git.activated.win/massg%-%rave/Micr%-%osoft-Act%-%ivation-Scripts & start https://github.com/massgra%-%vel/Micro%-%soft-Acti%-%vation-Scripts & for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (start %selfgit% & start %github% & for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
if defined terminal (
|
if defined terminal (
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@set masver=3.2
|
@set masver=3.3
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@ -65,6 +65,8 @@ exit /b
|
|||||||
|
|
||||||
set "blank="
|
set "blank="
|
||||||
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/"
|
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/"
|
||||||
|
set "github=ht%blank%tps%blank%://github.com/massgra%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"
|
||||||
|
|
||||||
:: 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
|
||||||
|
|
||||||
@ -197,12 +199,14 @@ for /f "delims=" %%a in ('%psc% "if ($PSVersionTable.PSEdition -ne 'Core') {$f=[
|
|||||||
|
|
||||||
if /i not "%tstresult%"=="FullLanguage" (
|
if /i not "%tstresult%"=="FullLanguage" (
|
||||||
%eline%
|
%eline%
|
||||||
echo: %tstresult%
|
for /f "delims=" %%a in ('%psc% "$ExecutionContext.SessionState.LanguageMode" %nul6%') do (set tstresult2=%%a)
|
||||||
cmd /c "%psc% $ExecutionContext.SessionState.LanguageMode"
|
echo Test 1 - %tstresult%
|
||||||
|
echo Test 2 - !tstresult2!
|
||||||
|
echo:
|
||||||
|
|
||||||
REM check LanguageMode
|
REM check LanguageMode
|
||||||
|
|
||||||
cmd /c "%psc% "$ExecutionContext.SessionState.LanguageMode"" | findstr /i "ConstrainedLanguage RestrictedLanguage NoLanguage" %nul1% && (
|
echo: !tstresult2! | findstr /i "ConstrainedLanguage RestrictedLanguage NoLanguage" %nul1% && (
|
||||||
echo FullLanguage mode not found in PowerShell. Aborting...
|
echo FullLanguage mode not found in PowerShell. Aborting...
|
||||||
echo If you have applied restrictions on Powershell then undo those changes.
|
echo If you have applied restrictions on Powershell then undo those changes.
|
||||||
echo:
|
echo:
|
||||||
@ -232,7 +236,13 @@ goto dk_done
|
|||||||
REM check antivirus and other errors
|
REM check antivirus and other errors
|
||||||
|
|
||||||
echo PowerShell is not working properly. Aborting...
|
echo PowerShell is not working properly. Aborting...
|
||||||
cmd /c "%psc% ""$av = Get-WmiObject -Namespace root\SecurityCenter2 -Class AntiVirusProduct; $n = @(); foreach ($i in $av) { if ($i.displayName -notlike '*windows*') { $n += $i.displayName } }; if ($n) { Write-Host ('Installed 3rd party Antivirus might be blocking the script - ' + ($n -join ', ')) -ForegroundColor White -BackgroundColor Blue }"""
|
|
||||||
|
if /i "!tstresult2!"=="FullLanguage" (
|
||||||
|
echo:
|
||||||
|
echo Your antivirus software might be blocking the script, or PowerShell on your system might be corrupted.
|
||||||
|
cmd /c "%psc% ""$av = Get-WmiObject -Namespace root\SecurityCenter2 -Class AntiVirusProduct; $n = @(); foreach ($i in $av) { $n += $i.displayName }; if ($n) { Write-Host ('Installed Antivirus - ' + ($n -join ', '))}"""
|
||||||
|
)
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
set fixes=%fixes% %mas%troubleshoot
|
set fixes=%fixes% %mas%troubleshoot
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
||||||
@ -314,7 +324,7 @@ echo:
|
|||||||
call :dk_color %_Green% "Choose a menu option using your keyboard [1,0] :"
|
call :dk_color %_Green% "Choose a menu option using your keyboard [1,0] :"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
if !errorlevel!==2 rem
|
if !errorlevel!==2 rem
|
||||||
if !errorlevel!==1 (start https://git.activated.win/massg%-%rave/Micr%-%osoft-Act%-%ivation-Scripts & start https://github.com/massgra%-%vel/Micro%-%soft-Acti%-%vation-Scripts & start %mas% & exit /b)
|
if !errorlevel!==1 (start %selfgit% & start %github% & start %mas% & exit /b)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -1056,7 +1066,7 @@ call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
|||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
if !errorlevel!==2 exit /b
|
if !errorlevel!==2 exit /b
|
||||||
if !errorlevel!==1 (start https://git.activated.win/massg%-%rave/Micr%-%osoft-Act%-%ivation-Scripts & start https://github.com/massgra%-%vel/Micro%-%soft-Acti%-%vation-Scripts & for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (start %selfgit% & start %github% & for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
if defined terminal (
|
if defined terminal (
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@set masver=3.2
|
@set masver=3.3
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@ -60,6 +60,8 @@ exit /b
|
|||||||
|
|
||||||
set "blank="
|
set "blank="
|
||||||
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/"
|
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/"
|
||||||
|
set "github=ht%blank%tps%blank%://github.com/massgra%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"
|
||||||
|
|
||||||
:: 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
|
||||||
|
|
||||||
@ -208,12 +210,14 @@ for /f "delims=" %%a in ('%psc% "if ($PSVersionTable.PSEdition -ne 'Core') {$f=[
|
|||||||
|
|
||||||
if /i not "%tstresult%"=="FullLanguage" (
|
if /i not "%tstresult%"=="FullLanguage" (
|
||||||
%eline%
|
%eline%
|
||||||
echo: %tstresult%
|
for /f "delims=" %%a in ('%psc% "$ExecutionContext.SessionState.LanguageMode" %nul6%') do (set tstresult2=%%a)
|
||||||
cmd /c "%psc% $ExecutionContext.SessionState.LanguageMode"
|
echo Test 1 - %tstresult%
|
||||||
|
echo Test 2 - !tstresult2!
|
||||||
|
echo:
|
||||||
|
|
||||||
REM check LanguageMode
|
REM check LanguageMode
|
||||||
|
|
||||||
cmd /c "%psc% "$ExecutionContext.SessionState.LanguageMode"" | findstr /i "ConstrainedLanguage RestrictedLanguage NoLanguage" %nul1% && (
|
echo: !tstresult2! | findstr /i "ConstrainedLanguage RestrictedLanguage NoLanguage" %nul1% && (
|
||||||
echo FullLanguage mode not found in PowerShell. Aborting...
|
echo FullLanguage mode not found in PowerShell. Aborting...
|
||||||
echo If you have applied restrictions on Powershell then undo those changes.
|
echo If you have applied restrictions on Powershell then undo those changes.
|
||||||
echo:
|
echo:
|
||||||
@ -243,7 +247,13 @@ goto done2
|
|||||||
REM check antivirus and other errors
|
REM check antivirus and other errors
|
||||||
|
|
||||||
echo PowerShell is not working properly. Aborting...
|
echo PowerShell is not working properly. Aborting...
|
||||||
cmd /c "%psc% ""$av = Get-WmiObject -Namespace root\SecurityCenter2 -Class AntiVirusProduct; $n = @(); foreach ($i in $av) { if ($i.displayName -notlike '*windows*') { $n += $i.displayName } }; if ($n) { Write-Host ('Installed 3rd party Antivirus might be blocking the script - ' + ($n -join ', ')) -ForegroundColor White -BackgroundColor Blue }"""
|
|
||||||
|
if /i "!tstresult2!"=="FullLanguage" (
|
||||||
|
echo:
|
||||||
|
echo Your antivirus software might be blocking the script, or PowerShell on your system might be corrupted.
|
||||||
|
cmd /c "%psc% ""$av = Get-WmiObject -Namespace root\SecurityCenter2 -Class AntiVirusProduct; $n = @(); foreach ($i in $av) { $n += $i.displayName }; if ($n) { Write-Host ('Installed Antivirus - ' + ($n -join ', '))}"""
|
||||||
|
)
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
set fixes=%fixes% %mas%troubleshoot
|
set fixes=%fixes% %mas%troubleshoot
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
||||||
@ -325,7 +335,7 @@ echo:
|
|||||||
call :dk_color %_Green% "Choose a menu option using your keyboard [1,0] :"
|
call :dk_color %_Green% "Choose a menu option using your keyboard [1,0] :"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
if !errorlevel!==2 rem
|
if !errorlevel!==2 rem
|
||||||
if !errorlevel!==1 (start https://git.activated.win/massg%-%rave/Micr%-%osoft-Act%-%ivation-Scripts & start https://github.com/massgra%-%vel/Micro%-%soft-Acti%-%vation-Scripts & start %mas% & exit /b)
|
if !errorlevel!==1 (start %selfgit% & start %github% & start %mas% & exit /b)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -732,7 +742,7 @@ call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
|||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
if !errorlevel!==2 exit /b
|
if !errorlevel!==2 exit /b
|
||||||
if !errorlevel!==1 (start https://git.activated.win/massg%-%rave/Micr%-%osoft-Act%-%ivation-Scripts & start https://github.com/massgra%-%vel/Micro%-%soft-Acti%-%vation-Scripts & for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (start %selfgit% & start %github% & for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
if defined terminal (
|
if defined terminal (
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@set masver=3.2
|
@set masver=3.3
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|
||||||
@ -60,6 +60,8 @@ exit /b
|
|||||||
|
|
||||||
set "blank="
|
set "blank="
|
||||||
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/"
|
set "mas=ht%blank%tps%blank%://mass%blank%grave.dev/"
|
||||||
|
set "github=ht%blank%tps%blank%://github.com/massgra%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"
|
||||||
|
|
||||||
:: 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
|
||||||
|
|
||||||
@ -209,12 +211,14 @@ for /f "delims=" %%a in ('%psc% "if ($PSVersionTable.PSEdition -ne 'Core') {$f=[
|
|||||||
|
|
||||||
if /i not "%tstresult%"=="FullLanguage" (
|
if /i not "%tstresult%"=="FullLanguage" (
|
||||||
%eline%
|
%eline%
|
||||||
echo: %tstresult%
|
for /f "delims=" %%a in ('%psc% "$ExecutionContext.SessionState.LanguageMode" %nul6%') do (set tstresult2=%%a)
|
||||||
cmd /c "%psc% $ExecutionContext.SessionState.LanguageMode"
|
echo Test 1 - %tstresult%
|
||||||
|
echo Test 2 - !tstresult2!
|
||||||
|
echo:
|
||||||
|
|
||||||
REM check LanguageMode
|
REM check LanguageMode
|
||||||
|
|
||||||
cmd /c "%psc% "$ExecutionContext.SessionState.LanguageMode"" | findstr /i "ConstrainedLanguage RestrictedLanguage NoLanguage" %nul1% && (
|
echo: !tstresult2! | findstr /i "ConstrainedLanguage RestrictedLanguage NoLanguage" %nul1% && (
|
||||||
echo FullLanguage mode not found in PowerShell. Aborting...
|
echo FullLanguage mode not found in PowerShell. Aborting...
|
||||||
echo If you have applied restrictions on Powershell then undo those changes.
|
echo If you have applied restrictions on Powershell then undo those changes.
|
||||||
echo:
|
echo:
|
||||||
@ -244,7 +248,13 @@ goto dk_done
|
|||||||
REM check antivirus and other errors
|
REM check antivirus and other errors
|
||||||
|
|
||||||
echo PowerShell is not working properly. Aborting...
|
echo PowerShell is not working properly. Aborting...
|
||||||
cmd /c "%psc% ""$av = Get-WmiObject -Namespace root\SecurityCenter2 -Class AntiVirusProduct; $n = @(); foreach ($i in $av) { if ($i.displayName -notlike '*windows*') { $n += $i.displayName } }; if ($n) { Write-Host ('Installed 3rd party Antivirus might be blocking the script - ' + ($n -join ', ')) -ForegroundColor White -BackgroundColor Blue }"""
|
|
||||||
|
if /i "!tstresult2!"=="FullLanguage" (
|
||||||
|
echo:
|
||||||
|
echo Your antivirus software might be blocking the script, or PowerShell on your system might be corrupted.
|
||||||
|
cmd /c "%psc% ""$av = Get-WmiObject -Namespace root\SecurityCenter2 -Class AntiVirusProduct; $n = @(); foreach ($i in $av) { $n += $i.displayName }; if ($n) { Write-Host ('Installed Antivirus - ' + ($n -join ', '))}"""
|
||||||
|
)
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
set fixes=%fixes% %mas%troubleshoot
|
set fixes=%fixes% %mas%troubleshoot
|
||||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%troubleshoot"
|
||||||
@ -326,7 +336,7 @@ echo:
|
|||||||
call :dk_color %_Green% "Choose a menu option using your keyboard [1,0] :"
|
call :dk_color %_Green% "Choose a menu option using your keyboard [1,0] :"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
if !errorlevel!==2 rem
|
if !errorlevel!==2 rem
|
||||||
if !errorlevel!==1 (start https://git.activated.win/massg%-%rave/Micr%-%osoft-Act%-%ivation-Scripts & start https://github.com/massgra%-%vel/Micro%-%soft-Acti%-%vation-Scripts & start %mas% & exit /b)
|
if !errorlevel!==1 (start %selfgit% & start %github% & start %mas% & exit /b)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -387,7 +397,7 @@ if %_erl%==5 goto:retokens
|
|||||||
if %_erl%==4 goto:fixwmi
|
if %_erl%==4 goto:fixwmi
|
||||||
if %_erl%==3 goto:sfcscan
|
if %_erl%==3 goto:sfcscan
|
||||||
if %_erl%==2 goto:dism_rest
|
if %_erl%==2 goto:dism_rest
|
||||||
if %_erl%==1 start %mas%troubleshoot.html &goto at_menu
|
if %_erl%==1 (start %selfgit% & start %github% & start %mas%troubleshoot & goto at_menu)
|
||||||
goto :at_menu
|
goto :at_menu
|
||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
@ -1489,7 +1499,7 @@ call :dk_color %White% "Follow ALL the ABOVE blue lines. "
|
|||||||
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
call :dk_color2 %Blue% "Press [1] to Open Support Webpage " %Gray% " Press [0] to Ignore"
|
||||||
choice /C:10 /N
|
choice /C:10 /N
|
||||||
if !errorlevel!==2 exit /b
|
if !errorlevel!==2 exit /b
|
||||||
if !errorlevel!==1 (start https://git.activated.win/massg%-%rave/Micr%-%osoft-Act%-%ivation-Scripts & start https://github.com/massgra%-%vel/Micro%-%soft-Acti%-%vation-Scripts & for %%# in (%fixes%) do (start %%#))
|
if !errorlevel!==1 (start %selfgit% & start %github% & for %%# in (%fixes%) do (start %%#))
|
||||||
)
|
)
|
||||||
|
|
||||||
if defined terminal (
|
if defined terminal (
|
||||||
|
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.3
|
||||||
Release date: 6-May-2025
|
Release date: 1-June-2025
|
||||||
```
|
```
|
||||||
|
|
||||||
### [Troubleshooting / Help](https://massgrave.dev/troubleshoot)
|
### [Troubleshooting / Help](https://massgrave.dev/troubleshoot)
|
||||||
|
Reference in New Issue
Block a user