mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2024-11-25 09:06:41 +00:00
Compare commits
No commits in common. "ec31fef9b9d4917ca5b99f68f18ab1c4a3e28c6b" and "8e3b4135f56d14b86ccaa96014bc5eb9b6b5f80d" have entirely different histories.
ec31fef9b9
...
8e3b4135f5
@ -1594,17 +1594,11 @@ call :dk_color2 %Blue% "Help - " %_Yellow% " %mas%troubleshoot"
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
for %%# in (SppEx%w%tComObj.exe sppsvc.exe sppsvc.exe\PerfOptions) do (
|
for %%# in (SppEx%w%tComObj.exe sppsvc.exe) do (
|
||||||
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ima%w%ge File Execu%w%tion Options\%%#" %nul% && (if defined _sppint (set "_sppint=!_sppint!, %%#") else (set "_sppint=%%#"))
|
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ima%w%ge File Execu%w%tion Options\%%#" %nul% && (if defined _sppint (set "_sppint=!_sppint!, %%#") else (set "_sppint=%%#"))
|
||||||
)
|
)
|
||||||
if defined _sppint (
|
if defined _sppint (
|
||||||
echo %_sppint% | find /i "PerfOptions" %nul% && (
|
echo Checking SPP Interference In IFEO [%_sppint%]
|
||||||
call :dk_color %Red% "Checking SPP Interference In IFEO [%_sppint% - System May Deactivate Later]"
|
|
||||||
if not defined showfix call :dk_color %Blue% "%_fixmsg%"
|
|
||||||
set showfix=1
|
|
||||||
) || (
|
|
||||||
echo Checking SPP In IFEO [%_sppint%]
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@ -1685,7 +1679,7 @@ for /f "delims=" %%a in ('%psc% "(Get-ScheduledTask -TaskName 'SvcRestartTask' -
|
|||||||
echo !taskinfo! | find /i "Ready" %nul% || (
|
echo !taskinfo! | find /i "Ready" %nul% || (
|
||||||
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v "actionlist" /f %nul%
|
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v "actionlist" /f %nul%
|
||||||
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\SoftwareProtectionPlatform\SvcRestartTask" %nul% || set taskinfo=Removed
|
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\SoftwareProtectionPlatform\SvcRestartTask" %nul% || set taskinfo=Removed
|
||||||
call :dk_color %Red% "Checking SvcRestartTask Status [!taskinfo!, System May Deactivate Later]"
|
call :dk_color %Red% "Checking SvcRestartTask Status [!taskinfo!]"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -3576,7 +3570,7 @@ echo:
|
|||||||
echo:
|
echo:
|
||||||
echo:
|
echo:
|
||||||
echo:
|
echo:
|
||||||
echo: ______________________________________________________
|
echo ____________________________________________________________
|
||||||
echo:
|
echo:
|
||||||
echo [1] KMS38 Activation
|
echo [1] KMS38 Activation
|
||||||
echo ____________________________________________
|
echo ____________________________________________
|
||||||
@ -3584,7 +3578,7 @@ echo:
|
|||||||
echo [2] Remove KM38 Protection
|
echo [2] Remove KM38 Protection
|
||||||
echo:
|
echo:
|
||||||
echo [0] %_exitmsg%
|
echo [0] %_exitmsg%
|
||||||
echo: ______________________________________________________
|
echo ____________________________________________________________
|
||||||
echo:
|
echo:
|
||||||
call :dk_color2 %_White% " " %_Green% "Choose a menu option using your keyboard [1,2,0]"
|
call :dk_color2 %_White% " " %_Green% "Choose a menu option using your keyboard [1,2,0]"
|
||||||
choice /C:120 /N
|
choice /C:120 /N
|
||||||
@ -7854,15 +7848,6 @@ echo:
|
|||||||
echo Stopping sppsvc service...
|
echo Stopping sppsvc service...
|
||||||
%psc% Stop-Service sppsvc -force %nul%
|
%psc% Stop-Service sppsvc -force %nul%
|
||||||
|
|
||||||
set w=
|
|
||||||
set _sppint=
|
|
||||||
for %%# in (SppEx%w%tComObj.exe sppsvc.exe) do (reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ima%w%ge File Execu%w%tion Options\%%#" %nul% && (set _sppint=1))
|
|
||||||
if defined _sppint (
|
|
||||||
echo:
|
|
||||||
echo Removing SPP IFEO registry keys...
|
|
||||||
for %%# in (SppE%w%xtComObj.exe sppsvc.exe) do (reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ima%w%ge File Execu%w%tion Options\%%#" /f %nul%)
|
|
||||||
)
|
|
||||||
|
|
||||||
if %winbuild% LSS 9200 (
|
if %winbuild% LSS 9200 (
|
||||||
REM Fix issues caused by Update KB971033 in Windows 7
|
REM Fix issues caused by Update KB971033 in Windows 7
|
||||||
REM https://support.microsoft.com/help/4487266
|
REM https://support.microsoft.com/help/4487266
|
@ -1359,17 +1359,11 @@ call :dk_color2 %Blue% "Help - " %_Yellow% " %mas%troubleshoot"
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
for %%# in (SppEx%w%tComObj.exe sppsvc.exe sppsvc.exe\PerfOptions) do (
|
for %%# in (SppEx%w%tComObj.exe sppsvc.exe) do (
|
||||||
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ima%w%ge File Execu%w%tion Options\%%#" %nul% && (if defined _sppint (set "_sppint=!_sppint!, %%#") else (set "_sppint=%%#"))
|
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ima%w%ge File Execu%w%tion Options\%%#" %nul% && (if defined _sppint (set "_sppint=!_sppint!, %%#") else (set "_sppint=%%#"))
|
||||||
)
|
)
|
||||||
if defined _sppint (
|
if defined _sppint (
|
||||||
echo %_sppint% | find /i "PerfOptions" %nul% && (
|
echo Checking SPP Interference In IFEO [%_sppint%]
|
||||||
call :dk_color %Red% "Checking SPP Interference In IFEO [%_sppint% - System May Deactivate Later]"
|
|
||||||
if not defined showfix call :dk_color %Blue% "%_fixmsg%"
|
|
||||||
set showfix=1
|
|
||||||
) || (
|
|
||||||
echo Checking SPP In IFEO [%_sppint%]
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@ -1450,7 +1444,7 @@ for /f "delims=" %%a in ('%psc% "(Get-ScheduledTask -TaskName 'SvcRestartTask' -
|
|||||||
echo !taskinfo! | find /i "Ready" %nul% || (
|
echo !taskinfo! | find /i "Ready" %nul% || (
|
||||||
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v "actionlist" /f %nul%
|
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v "actionlist" /f %nul%
|
||||||
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\SoftwareProtectionPlatform\SvcRestartTask" %nul% || set taskinfo=Removed
|
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\SoftwareProtectionPlatform\SvcRestartTask" %nul% || set taskinfo=Removed
|
||||||
call :dk_color %Red% "Checking SvcRestartTask Status [!taskinfo!, System May Deactivate Later]"
|
call :dk_color %Red% "Checking SvcRestartTask Status [!taskinfo!]"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -329,7 +329,7 @@ echo:
|
|||||||
echo:
|
echo:
|
||||||
echo:
|
echo:
|
||||||
echo:
|
echo:
|
||||||
echo: ______________________________________________________
|
echo ____________________________________________________________
|
||||||
echo:
|
echo:
|
||||||
echo [1] KMS38 Activation
|
echo [1] KMS38 Activation
|
||||||
echo ____________________________________________
|
echo ____________________________________________
|
||||||
@ -337,7 +337,7 @@ echo:
|
|||||||
echo [2] Remove KM38 Protection
|
echo [2] Remove KM38 Protection
|
||||||
echo:
|
echo:
|
||||||
echo [0] %_exitmsg%
|
echo [0] %_exitmsg%
|
||||||
echo: ______________________________________________________
|
echo ____________________________________________________________
|
||||||
echo:
|
echo:
|
||||||
call :dk_color2 %_White% " " %_Green% "Choose a menu option using your keyboard [1,2,0]"
|
call :dk_color2 %_White% " " %_Green% "Choose a menu option using your keyboard [1,2,0]"
|
||||||
choice /C:120 /N
|
choice /C:120 /N
|
||||||
@ -1502,17 +1502,11 @@ call :dk_color2 %Blue% "Help - " %_Yellow% " %mas%troubleshoot"
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
for %%# in (SppEx%w%tComObj.exe sppsvc.exe sppsvc.exe\PerfOptions) do (
|
for %%# in (SppEx%w%tComObj.exe sppsvc.exe) do (
|
||||||
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ima%w%ge File Execu%w%tion Options\%%#" %nul% && (if defined _sppint (set "_sppint=!_sppint!, %%#") else (set "_sppint=%%#"))
|
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ima%w%ge File Execu%w%tion Options\%%#" %nul% && (if defined _sppint (set "_sppint=!_sppint!, %%#") else (set "_sppint=%%#"))
|
||||||
)
|
)
|
||||||
if defined _sppint (
|
if defined _sppint (
|
||||||
echo %_sppint% | find /i "PerfOptions" %nul% && (
|
echo Checking SPP Interference In IFEO [%_sppint%]
|
||||||
call :dk_color %Red% "Checking SPP Interference In IFEO [%_sppint% - System May Deactivate Later]"
|
|
||||||
if not defined showfix call :dk_color %Blue% "%_fixmsg%"
|
|
||||||
set showfix=1
|
|
||||||
) || (
|
|
||||||
echo Checking SPP In IFEO [%_sppint%]
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@ -1593,7 +1587,7 @@ for /f "delims=" %%a in ('%psc% "(Get-ScheduledTask -TaskName 'SvcRestartTask' -
|
|||||||
echo !taskinfo! | find /i "Ready" %nul% || (
|
echo !taskinfo! | find /i "Ready" %nul% || (
|
||||||
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v "actionlist" /f %nul%
|
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v "actionlist" /f %nul%
|
||||||
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\SoftwareProtectionPlatform\SvcRestartTask" %nul% || set taskinfo=Removed
|
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\SoftwareProtectionPlatform\SvcRestartTask" %nul% || set taskinfo=Removed
|
||||||
call :dk_color %Red% "Checking SvcRestartTask Status [!taskinfo!, System May Deactivate Later]"
|
call :dk_color %Red% "Checking SvcRestartTask Status [!taskinfo!]"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1811,17 +1811,11 @@ call :dk_color2 %Blue% "Help - " %_Yellow% " %mas%troubleshoot"
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
for %%# in (SppEx%w%tComObj.exe sppsvc.exe sppsvc.exe\PerfOptions) do (
|
for %%# in (SppEx%w%tComObj.exe sppsvc.exe) do (
|
||||||
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ima%w%ge File Execu%w%tion Options\%%#" %nul% && (if defined _sppint (set "_sppint=!_sppint!, %%#") else (set "_sppint=%%#"))
|
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ima%w%ge File Execu%w%tion Options\%%#" %nul% && (if defined _sppint (set "_sppint=!_sppint!, %%#") else (set "_sppint=%%#"))
|
||||||
)
|
)
|
||||||
if defined _sppint (
|
if defined _sppint (
|
||||||
echo %_sppint% | find /i "PerfOptions" %nul% && (
|
echo Checking SPP Interference In IFEO [%_sppint%]
|
||||||
call :dk_color %Red% "Checking SPP Interference In IFEO [%_sppint% - System May Deactivate Later]"
|
|
||||||
if not defined showfix call :dk_color %Blue% "%_fixmsg%"
|
|
||||||
set showfix=1
|
|
||||||
) || (
|
|
||||||
echo Checking SPP In IFEO [%_sppint%]
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@ -1902,7 +1896,7 @@ for /f "delims=" %%a in ('%psc% "(Get-ScheduledTask -TaskName 'SvcRestartTask' -
|
|||||||
echo !taskinfo! | find /i "Ready" %nul% || (
|
echo !taskinfo! | find /i "Ready" %nul% || (
|
||||||
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v "actionlist" /f %nul%
|
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v "actionlist" /f %nul%
|
||||||
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\SoftwareProtectionPlatform\SvcRestartTask" %nul% || set taskinfo=Removed
|
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\SoftwareProtectionPlatform\SvcRestartTask" %nul% || set taskinfo=Removed
|
||||||
call :dk_color %Red% "Checking SvcRestartTask Status [!taskinfo!, System May Deactivate Later]"
|
call :dk_color %Red% "Checking SvcRestartTask Status [!taskinfo!]"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -2860,17 +2860,11 @@ call :dk_color2 %Blue% "Help - " %_Yellow% " %mas%troubleshoot"
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
for %%# in (SppEx%w%tComObj.exe sppsvc.exe sppsvc.exe\PerfOptions) do (
|
for %%# in (SppEx%w%tComObj.exe sppsvc.exe) do (
|
||||||
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ima%w%ge File Execu%w%tion Options\%%#" %nul% && (if defined _sppint (set "_sppint=!_sppint!, %%#") else (set "_sppint=%%#"))
|
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ima%w%ge File Execu%w%tion Options\%%#" %nul% && (if defined _sppint (set "_sppint=!_sppint!, %%#") else (set "_sppint=%%#"))
|
||||||
)
|
)
|
||||||
if defined _sppint (
|
if defined _sppint (
|
||||||
echo %_sppint% | find /i "PerfOptions" %nul% && (
|
echo Checking SPP Interference In IFEO [%_sppint%]
|
||||||
call :dk_color %Red% "Checking SPP Interference In IFEO [%_sppint% - System May Deactivate Later]"
|
|
||||||
if not defined showfix call :dk_color %Blue% "%_fixmsg%"
|
|
||||||
set showfix=1
|
|
||||||
) || (
|
|
||||||
echo Checking SPP In IFEO [%_sppint%]
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@ -2951,7 +2945,7 @@ for /f "delims=" %%a in ('%psc% "(Get-ScheduledTask -TaskName 'SvcRestartTask' -
|
|||||||
echo !taskinfo! | find /i "Ready" %nul% || (
|
echo !taskinfo! | find /i "Ready" %nul% || (
|
||||||
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v "actionlist" /f %nul%
|
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v "actionlist" /f %nul%
|
||||||
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\SoftwareProtectionPlatform\SvcRestartTask" %nul% || set taskinfo=Removed
|
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\SoftwareProtectionPlatform\SvcRestartTask" %nul% || set taskinfo=Removed
|
||||||
call :dk_color %Red% "Checking SvcRestartTask Status [!taskinfo!, System May Deactivate Later]"
|
call :dk_color %Red% "Checking SvcRestartTask Status [!taskinfo!]"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -648,15 +648,6 @@ echo:
|
|||||||
echo Stopping sppsvc service...
|
echo Stopping sppsvc service...
|
||||||
%psc% Stop-Service sppsvc -force %nul%
|
%psc% Stop-Service sppsvc -force %nul%
|
||||||
|
|
||||||
set w=
|
|
||||||
set _sppint=
|
|
||||||
for %%# in (SppEx%w%tComObj.exe sppsvc.exe) do (reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ima%w%ge File Execu%w%tion Options\%%#" %nul% && (set _sppint=1))
|
|
||||||
if defined _sppint (
|
|
||||||
echo:
|
|
||||||
echo Removing SPP IFEO registry keys...
|
|
||||||
for %%# in (SppE%w%xtComObj.exe sppsvc.exe) do (reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ima%w%ge File Execu%w%tion Options\%%#" /f %nul%)
|
|
||||||
)
|
|
||||||
|
|
||||||
if %winbuild% LSS 9200 (
|
if %winbuild% LSS 9200 (
|
||||||
REM Fix issues caused by Update KB971033 in Windows 7
|
REM Fix issues caused by Update KB971033 in Windows 7
|
||||||
REM https://support.microsoft.com/help/4487266
|
REM https://support.microsoft.com/help/4487266
|
||||||
|
Loading…
Reference in New Issue
Block a user