OLD | NEW |
1 @echo off | 1 @echo off |
2 if /i %PROCESSOR_ARCHITECTURE% equ x86 ( | 2 if /i %PROCESSOR_ARCHITECTURE% equ x86 ( |
3 set REG="%WINDIR%\sysnative\reg.exe" | 3 set REG="%WINDIR%\sysnative\reg.exe" |
4 :: For the 32 bit OS case | 4 :: For the 32 bit OS case |
5 if not exist %REG% set REG="%WINDIR%\system32\reg.exe" | 5 if not exist %REG% set REG="%WINDIR%\system32\reg.exe" |
6 ) else ( | 6 ) else ( |
7 set REG="%WINDIR%\system32\reg.exe" | 7 set REG="%WINDIR%\system32\reg.exe" |
8 ) | 8 ) |
9 | 9 |
10 echo REG=%REG% | 10 echo REG=%REG% |
11 %REG% query "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Browser Hel
per Objects\{FFCB3198-32F3-4E8B-9539-4324694ED664}" 2>nul | 11 %REG% query "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Browser Hel
per Objects\{FFCB3198-32F3-4E8B-9539-4324694ED664}" 2>nul |
12 %REG% query HKLM\Software\Classes\CLSID\{FFCB3198-32F3-4E8B-9539-4324694ED664} /
ve 2>nul | 12 %REG% query HKLM\Software\Classes\CLSID\{FFCB3198-32F3-4E8B-9539-4324694ED664} /
ve 2>nul |
13 %REG% query HKLM\Software\Classes\CLSID\{FFCB3198-32F3-4E8B-9539-4324694ED664}\I
nprocServer32 2>nul | 13 %REG% query HKLM\Software\Classes\CLSID\{FFCB3198-32F3-4E8B-9539-4324694ED664}\I
nprocServer32 2>nul |
| 14 %REG% query "HKLM\Software\Adblock Plus for IE" 2>nul |
14 %REG% query HKCU\Software\Classes\CLSID\{FFCB3198-32F3-4E8B-9539-4324694ED664} /
ve 2>nul | 15 %REG% query HKCU\Software\Classes\CLSID\{FFCB3198-32F3-4E8B-9539-4324694ED664} /
ve 2>nul |
15 %REG% query HKCU\Software\Classes\CLSID\{FFCB3198-32F3-4E8B-9539-4324694ED664}\I
nprocServer32 2>nul | 16 %REG% query HKCU\Software\Classes\CLSID\{FFCB3198-32F3-4E8B-9539-4324694ED664}\I
nprocServer32 2>nul |
| 17 %REG% query "HKCU\Software\Adblock Plus for IE" 2>nul |
16 | 18 |
17 %REG% query "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer
\Browser Helper Objects\{FFCB3198-32F3-4E8B-9539-4324694ED664}" 2>nul | 19 %REG% query "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer
\Browser Helper Objects\{FFCB3198-32F3-4E8B-9539-4324694ED664}" 2>nul |
18 %REG% query HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{FFCB3198-32F3
-4E8B-9539-4324694ED664} /ve 2>nul | 20 %REG% query HKLM\Software\Classes\Wow6432Node\CLSID\{FFCB3198-32F3-4E8B-9539-432
4694ED664} /ve 2>nul |
19 %REG% query HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{FFCB3198-32F3
-4E8B-9539-4324694ED664}\InprocServer32 2>nul | 21 %REG% query HKLM\Software\Classes\Wow6432Node\CLSID\{FFCB3198-32F3-4E8B-9539-432
4694ED664}\InprocServer32 2>nul |
20 %REG% query HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{FFCB3198-32F3-
4E8B-9539-4324694ED664} /ve 2>nul | 22 %REG% query "HKLM\Software\Wow6432Node\Adblock Plus for IE" 2>nul |
21 %REG% query HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{FFCB3198-32F3-
4E8B-9539-4324694ED664}\InprocServer32 2>nul | 23 %REG% query HKCU\Software\Classes\Wow6432Node\CLSID\{FFCB3198-32F3-4E8B-9539-432
4694ED664} /ve 2>nul |
| 24 %REG% query HKCU\Software\Classes\Wow6432Node\CLSID\{FFCB3198-32F3-4E8B-9539-432
4694ED664}\InprocServer32 2>nul |
| 25 :: This key may never exist, because HKCU behaves differently. It's here for saf
ety. |
| 26 %REG% query "HKCU\Software\Wow6432Node\Adblock Plus for IE" 2>nul |
OLD | NEW |