mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2026-01-29 09:19:00 +01:00
Remove newlines before blue lines
This commit is contained in:
parent
8d8ed5d098
commit
72cd62552e
7 changed files with 7 additions and 105 deletions
|
|
@ -816,9 +816,9 @@ call :dk_color %Red% "Checking Installed Office [Not Found]"
|
|||
|
||||
if defined ohub (
|
||||
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
|
||||
call :dk_color %_Yellow% "%mas%genuine-installation-media"
|
||||
goto :ks_activate
|
||||
|
|
@ -1594,7 +1594,6 @@ if %upk_result%==1 echo Uninstalling Other/Grace Keys [Successful]
|
|||
if %upk_result%==2 (
|
||||
call :dk_color %Red% "Uninstalling Other/Grace Keys [Failed]"
|
||||
if not defined showfix (
|
||||
echo:
|
||||
call :dk_color %Blue% "%_fixmsg%"
|
||||
echo:
|
||||
set showfix=1
|
||||
|
|
@ -1648,7 +1647,6 @@ call :ks_clearstuff
|
|||
set error_=9
|
||||
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.
|
||||
echo:
|
||||
call :dk_color %Blue% "%_fixmsg%"
|
||||
echo:
|
||||
) || (
|
||||
|
|
@ -2739,7 +2737,6 @@ echo %keyecho% %~1 [Successful]
|
|||
call :dk_color %Red% "%keyecho% %~1 [Failed] %keyerror%"
|
||||
if not defined showfix (
|
||||
if defined altapplist call :dk_color %Red% "Activation ID not found for this key."
|
||||
echo:
|
||||
call :dk_color %Blue% "%_fixmsg%"
|
||||
echo:
|
||||
set showfix=1
|
||||
|
|
@ -2860,7 +2857,6 @@ 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."
|
||||
)
|
||||
|
|
@ -3015,7 +3011,6 @@ call :dk_chkmal
|
|||
sc query Null %nul% || (
|
||||
call :dk_color %Red% "Checking Sandboxing [Found, script may not work properly]"
|
||||
if not defined showfix (
|
||||
echo:
|
||||
call :dk_color %Blue% "If you are using any third-party antivirus, check if it is blocking the script."
|
||||
echo:
|
||||
)
|
||||
|
|
@ -3031,7 +3026,6 @@ reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinPE" /v InstRoot
|
|||
|
||||
call :dk_color %Red% "Checking WinPE [Found]"
|
||||
if not defined showfix (
|
||||
echo:
|
||||
call :dk_color %Blue% "WinPE mode found. Reboot the system and run in normal mode."
|
||||
echo:
|
||||
)
|
||||
|
|
@ -3046,7 +3040,6 @@ set showfix=1
|
|||
if defined safeboot_option (
|
||||
call :dk_color %Red% "Checking Boot Mode [%safeboot_option%]"
|
||||
if not defined showfix (
|
||||
echo:
|
||||
call :dk_color %Blue% "Safe mode found. Reboot the system and run in normal mode."
|
||||
echo:
|
||||
)
|
||||
|
|
@ -3065,7 +3058,6 @@ if /i not "%imagestate%"=="IMAGE_STATE_COMPLETE" (
|
|||
call :dk_color %Gray% "Checking Windows Setup State [%imagestate%]"
|
||||
echo "%imagestate%" | find /i "RESEAL" %nul% && (
|
||||
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."
|
||||
echo:
|
||||
)
|
||||
|
|
@ -3160,7 +3152,6 @@ if not defined showfix (
|
|||
echo:
|
||||
echo %serv_cste% | findstr /i "ClipSVC sppsvc" %nul% && (
|
||||
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."
|
||||
) || (
|
||||
set fixes=%fixes% %mas%in-place_repair_upgrade
|
||||
|
|
@ -3201,7 +3192,6 @@ if not defined showfix (
|
|||
set listwospp=%_serv:sppsvc=%
|
||||
echo %serv_e% | findstr /i "!listwospp!" %nul% && (
|
||||
set showfix=1
|
||||
echo:
|
||||
call :dk_color %Blue% "Reboot your machine using the restart option and run the script again."
|
||||
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"
|
||||
|
|
@ -3233,7 +3223,6 @@ if defined wmifailed (
|
|||
call :dk_color %Red% "Checking WMI [Not Working]"
|
||||
|
||||
if not defined showfix (
|
||||
echo:
|
||||
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
|
||||
echo:
|
||||
)
|
||||
|
|
@ -3345,7 +3334,6 @@ if !errorlevel!==3 set "permerror=Error Found In S-1-5-20 SPP"
|
|||
if defined permerror (
|
||||
call :dk_color %Red% "Checking SPP Permissions [!permerror!]"
|
||||
if not defined showfix (
|
||||
echo:
|
||||
call :dk_color %Blue% "%_fixmsg%"
|
||||
echo:
|
||||
)
|
||||
|
|
@ -3367,7 +3355,6 @@ if defined chkalp (
|
|||
call :dk_color %Red% "Checking WPA Registry Errors [%wpainfo%]"
|
||||
if not defined showfix (
|
||||
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."
|
||||
echo:
|
||||
set error=1
|
||||
|
|
@ -3380,7 +3367,6 @@ set wpainfo=a
|
|||
if not defined chkalp (
|
||||
if %wpainfo% GEQ 5000 (
|
||||
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% "Go back to Main Menu, select Troubleshoot and run Fix WPA Registry option."
|
||||
echo:
|
||||
|
|
@ -3395,8 +3381,7 @@ echo Checking WPA Registry Count [%wpainfo%]
|
|||
|
||||
reg query "HKU\S-1-5-20\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\PersistedTSReArmed" %nul% && (
|
||||
call :dk_color %Red% "Checking Rearm [System is Rearmed]"
|
||||
if not defined showfix (
|
||||
echo:
|
||||
if not defined showfix
|
||||
call :dk_color %Blue% "Reboot your machine using the restart option to fix this error."
|
||||
echo:
|
||||
)
|
||||
|
|
@ -3408,7 +3393,6 @@ set showfix=1
|
|||
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ClipSVC\Volatile\PersistedSystemState" %nul% && (
|
||||
call :dk_color %Red% "Checking ClipSVC PersistedSystemState [Found]"
|
||||
if not defined showfix (
|
||||
echo:
|
||||
call :dk_color %Blue% "Reboot your machine using the restart option to fix this error."
|
||||
echo:
|
||||
)
|
||||
|
|
@ -3423,7 +3407,6 @@ set showfix=1
|
|||
if %error_code% NEQ 0 (
|
||||
call :dk_color %Red% "Checking SoftwareLicensingService [Not Working] [%error_code%]"
|
||||
if not defined showfix (
|
||||
echo:
|
||||
call :dk_color %Blue% "%_fixmsg%"
|
||||
call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
|
||||
echo:
|
||||
|
|
@ -3453,7 +3436,6 @@ call :dk_color %Gray% "Checking Activation IDs [Key Not Installe
|
|||
if not defined apps if not defined allapps (
|
||||
call :dk_color %Red% "Checking Activation IDs [Not found]"
|
||||
if not defined showfix (
|
||||
echo:
|
||||
call :dk_color %Blue% "%_fixmsg%"
|
||||
call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
|
||||
echo:
|
||||
|
|
@ -3463,7 +3445,6 @@ set showfix=1
|
|||
)
|
||||
|
||||
if not defined showfix if defined rlicfailed (
|
||||
echo:
|
||||
call :dk_color %Blue% "%_fixmsg%"
|
||||
call :dk_color %Blue% "If activation still fails then run Fix WPA Registry option."
|
||||
echo:
|
||||
|
|
@ -3481,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% || (
|
||||
call :dk_color %Red% "Checking Eval Packages [License swapping found. Non-Eval licenses are installed in Eval Windows]"
|
||||
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."
|
||||
set fixes=%fixes% %mas%evaluation_editions
|
||||
call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%evaluation_editions"
|
||||
|
|
@ -3590,7 +3570,6 @@ if defined _sppint (
|
|||
echo %_sppint% | find /i "PerfOptions" %nul% && (
|
||||
call :dk_color %Red% "Checking SPP Interference In IFEO [%_sppint% - System might deactivate later]"
|
||||
if not defined showfix (
|
||||
echo:
|
||||
call :dk_color %Blue% "%_fixmsg%"
|
||||
echo:
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue