Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update issues with changing editions with .net and some other stuff
All from upstream
  • Loading branch information
JakeyPrime committed Mar 12, 2024
1 parent 8d11888 commit 98a5f56
Show file tree
Hide file tree
Showing 8 changed files with 10,782 additions and 160 deletions.
10,622 changes: 10,622 additions & 0 deletions MAS/All-In-One-Version/MAS_AIO-CRC32_9AE8AFBA.cmd

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions MAS/Separate-Files-Version/Activators/HWID_Activation.cmd
Expand Up @@ -185,7 +185,7 @@ goto dk_done

::========================================================================================================================================

:: Fix for the special characters limitation in path name
:: Fix special characters limitation in path name

set "_work=%~dp0"
if "%_work:~-1%"=="\" set "_work=%_work:~0,-1%"
Expand Down Expand Up @@ -219,7 +219,7 @@ goto dk_done
%nul1% fltmc || (
if not defined _elev %psc% "start cmd.exe -arg '/c \"!_PSarg:'=''!\"' -verb runas" && exit /b
%eline%
echo This script requires admin privileges.
echo This script needs admin rights.
echo To do so, right click on this script and select 'Run as administrator'.
goto dk_done
)
Expand Down Expand Up @@ -1089,7 +1089,7 @@ set error=1

reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\Plugins\Objects\msft:rm/algorithm/hwid/4.0" /f ba02fed39662 /d %nul% || (
call :dk_color %Red% "Checking SPP Registry Key [Incorrect ModuleId Found]"
call :dk_color %Blue% "Possibly Caused By Gaming Spoofers. Help: %mas%troubleshoot"
call :dk_color2 %Blue% "Possibly Caused By Gaming Spoofers." %_Yellow% " Help - %mas%issues_due_to_gaming_spoofers"
set error=1
set showfix=1
)
Expand Down
4 changes: 2 additions & 2 deletions MAS/Separate-Files-Version/Activators/KMS38_Activation.cmd
Expand Up @@ -184,7 +184,7 @@ goto dk_done

::========================================================================================================================================

:: Fix for the special characters limitation in path name
:: Fix special characters limitation in path name

set "_work=%~dp0"
if "%_work:~-1%"=="\" set "_work=%_work:~0,-1%"
Expand Down Expand Up @@ -218,7 +218,7 @@ goto dk_done
%nul1% fltmc || (
if not defined _elev %psc% "start cmd.exe -arg '/c \"!_PSarg:'=''!\"' -verb runas" && exit /b
%eline%
echo This script requires admin privileges.
echo This script needs admin rights.
echo To do so, right click on this script and select 'Run as administrator'.
goto dk_done
)
Expand Down
260 changes: 132 additions & 128 deletions MAS/Separate-Files-Version/Activators/Ohook_Activation_AIO.cmd

Large diffs are not rendered by default.

17 changes: 7 additions & 10 deletions MAS/Separate-Files-Version/Activators/Online_KMS_Activation.cmd
Expand Up @@ -6,16 +6,13 @@

::=================================================================================================
::
:: Online KMS Script is a fork of @abbodi1406's KMS_VL_ALL forums.mydigitallife.net/posts/838808
::
:: This fork's purpose is to avoid having any KMS binary files and activate Windows/Office using
:: only transparent batch script with online public KMS servers.
:: This is a fork of @abbodi1406's KVA forums.mydigitallife.net/posts/838808
::_____________________________________
::
:: Online KMS Activation Script is a part of 'Microsoft_Activation_Scripts' (MAS) project.
::
:: Homepage: mass grave[.]dev
:: Email: windowsaddict@protonmail.com
:: This script is a part of 'Microsoft_Activation_Scripts' (MAS) project.
::
:: Homepage: mass grave[.]dev
:: Email: windowsaddict@protonmail.com
::
::=================================================================================================

Expand Down Expand Up @@ -175,7 +172,7 @@ goto Done

::========================================================================================================================================

:: Fix for the special characters limitation in path name
:: Fix special characters limitation in path name

set "_work=%~dp0"
if "%_work:~-1%"=="\" set "_work=%_work:~0,-1%"
Expand Down Expand Up @@ -210,7 +207,7 @@ goto Done
%nul1% fltmc || (
if not defined _elev %psc% "start cmd.exe -arg '/c \"!_PSarg:'=''!\"' -verb runas" && exit /b
%nceline%
echo This script requires admin privileges.
echo This script needs admin rights.
echo To do so, right click on this script and select 'Run as administrator'.
goto Done
)
Expand Down
25 changes: 12 additions & 13 deletions MAS/Separate-Files-Version/Change_Edition.cmd
Expand Up @@ -160,7 +160,7 @@ goto ced_done

::========================================================================================================================================

:: Fix for the special characters limitation in path name
:: Fix special characters limitation in path name

set "_work=%~dp0"
if "%_work:~-1%"=="\" set "_work=%_work:~0,-1%"
Expand Down Expand Up @@ -194,7 +194,7 @@ goto ced_done
%nul1% fltmc || (
if not defined _elev %psc% "start cmd.exe -arg '/c \"!_PSarg:'=''!\"' -verb runas" && exit /b
%eline%
echo This script requires admin privileges.
echo This script needs admin rights.
echo To do so, right click on this script and select 'Run as administrator'.
goto ced_done
)
Expand Down Expand Up @@ -536,8 +536,7 @@ echo:
%psc% "$f=[io.file]::ReadAllText('!_batp!') -split ':dismapi\:.*';& ([ScriptBlock]::Create($f[1])) %targetedition% %key%;"
timeout /t 3 %nul1%
echo:
call :dk_color %Blue% "Incase of errors, you must restart your system before trying again."
echo Check this page for help. %mas%troubleshoot
call :dk_color2 %Blue% "Check this page for help" %_Yellow% " %mas%change_edition_issues"
)
%line%

Expand All @@ -551,13 +550,13 @@ cls
mode con cols=105 lines=32
%psc% "&{$W=$Host.UI.RawUI.WindowSize;$B=$Host.UI.RawUI.BufferSize;$W.Height=31;$B.Height=200;$Host.UI.RawUI.WindowSize=$W;$Host.UI.RawUI.BufferSize=$B;}"

%psc% "$f=[io.file]::ReadAllText('!_batp!') -split ':checkrebootflag\:.*';iex ($f[1]);" | find /i "True" %nul% && (
%eline%
echo Pending reboot flags found.
echo:
echo Restart the system and try again.
goto ced_done
)
REM %psc% "$f=[io.file]::ReadAllText('!_batp!') -split ':checkrebootflag\:.*';iex ($f[1]);" | find /i "True" %nul% && (
REM %eline%
REM echo Pending reboot flags found.
REM echo:
REM echo Restart the system and try again.
REM goto ced_done
REM )

echo:
if defined dismnotworking call :dk_color %_Yellow% "Note - DISM.exe is not responding."
Expand Down Expand Up @@ -742,8 +741,8 @@ exit /b
function Test-PendingReboot
{
if (Test-Path -Path "$env:windir\WinSxS\pending.xml") { return $true }
if (Get-ChildItem "HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending" -EA Ignore) { return $true }
if (Get-Item "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired" -EA Ignore) { return $true }
if (Get-ChildItem "HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending" -EA SilentlyContinue) { return $true }
if (Get-Item "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired" -EA SilentlyContinue) { return $true }
try {
$util = [wmiclass]"\\.\root\ccm\clientsdk:CCM_ClientUtilities"
$status = $util.DetermineIfRebootPending()
Expand Down
4 changes: 2 additions & 2 deletions MAS/Separate-Files-Version/Extract_OEM_Folder.cmd
Expand Up @@ -153,7 +153,7 @@ goto done2

::========================================================================================================================================

:: Fix for the special characters limitation in path name
:: Fix special characters limitation in path name

set "_work=%~dp0"
if "%_work:~-1%"=="\" set "_work=%_work:~0,-1%"
Expand Down Expand Up @@ -186,7 +186,7 @@ goto done2
%nul1% fltmc || (
if not defined _elev %psc% "start cmd.exe -arg '/c \"!_PSarg:'=''!\"' -verb runas" && exit /b
%eline%
echo This script requires admin privileges.
echo This script needs admin rights.
echo To do so, right click on this script and select 'Run as administrator'.
goto done2
)
Expand Down
4 changes: 2 additions & 2 deletions MAS/Separate-Files-Version/Troubleshoot.cmd
Expand Up @@ -138,7 +138,7 @@ goto at_done

::========================================================================================================================================

:: Fix for the special characters limitation in path name
:: Fix special characters limitation in path name

set "_work=%~dp0"
if "%_work:~-1%"=="\" set "_work=%_work:~0,-1%"
Expand Down Expand Up @@ -172,7 +172,7 @@ goto at_done
%nul1% fltmc || (
if not defined _elev %psc% "start cmd.exe -arg '/c \"!_PSarg:'=''!\"' -verb runas" && exit /b
%nceline%
echo This script requires admin privileges.
echo This script needs admin rights.
echo To do so, right click on this script and select 'Run as administrator'.
goto at_done
)
Expand Down

0 comments on commit 98a5f56

Please sign in to comment.