mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2025-05-20 02:14:52 +00:00
Detect SPP's PerfOptions registry in IFEO, and remove it in troubleshoot script
This commit is contained in:
parent
8e3b4135f5
commit
f9f386a896
6 changed files with 63 additions and 15 deletions
|
@ -648,6 +648,15 @@ echo:
|
|||
echo Stopping sppsvc service...
|
||||
%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 (
|
||||
REM Fix issues caused by Update KB971033 in Windows 7
|
||||
REM https://support.microsoft.com/help/4487266
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue