How to Find IE6 or older in your Environment with SMS or SCCM
Note: This only works for IE6 Sp1 or older. Any newer versions can be found in the Registry and in Add/Remove Programs.
According to MS the correct way to find the version of IE6 is to collect the SHDOCVW.dll
Use "Software inventory Client agent" Check the Inventory Collection tab and add the SHDOCVW.dll Specify the location of %windir%\system32\
Then create a collection like this:
Machines with IE6 Sp1
select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SoftwareFile.FileName = "SHDOCVW.dll" and SMS_G_System_SoftwareFile.FileVersion >= "6.00.2800.1106" and (SMS_G_System_SoftwareFile.FilePath = "c:\\windows\\system32\\" or SMS_G_System_SoftwareFile.FilePath = "c:\\winnt\\system32\\")
Need IE6 SP1
select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SoftwareFile.FileName = "SHDOCVW.dll" and SMS_G_System_SoftwareFile.FileVersion < "6.00.2800.1106" and (SMS_G_System_SoftwareFile.FilePath = "c:\\windows\\system32\\" or SMS_G_System_SoftwareFile.FilePath = "c:\\winnt\\system32\\")
And reports like this one
SELECT DISTINCT
v_FullCollectionMembership.SiteCode, v_GS_SYSTEM.Name0 AS [Machine Name], v_GS_SoftwareFile.FileVersion AS [IE Version],
v_R_System.Operating_System_Name_and0, v_GS_SoftwareFile.FilePath
FROM v_GS_SoftwareFile INNER JOIN
v_GS_SYSTEM ON v_GS_SoftwareFile.ResourceID = v_GS_SYSTEM.ResourceID INNER JOIN
v_R_System ON v_GS_SYSTEM.ResourceID = v_R_System.ResourceID INNER JOIN
v_FullCollectionMembership ON v_GS_SYSTEM.ResourceID = v_FullCollectionMembership.ResourceID
WHERE (v_GS_SoftwareFile.FileName = 'shdocvw.dll') AND (v_GS_SoftwareFile.FilePath = 'c:\windows\system32\' OR
v_GS_SoftwareFile.FilePath = 'c:\winnt\system32\') AND (v_GS_SoftwareFile.FileVersion > '6.00.2800.1106' OR
v_GS_SoftwareFile.FileVersion = '6.00.2800.1106') AND (v_FullCollectionMembership.CollectionID = 'sms00001' )
ORDER BY v_GS_SYSTEM.Name0
MS has this KB article. It use to have one that checked the version of the SHDOCVW.dll
I can not find the KB for that anymore. All i can find is this:
http://support.microsoft.com/kb/164539
Edited:
Here is the KB article that explains the DLL Versions.
http://support.microsoft.com/kb/969393
Determine the version of Internet Explorer by using the Shdocvw.dll file:
For Internet Explorer 3.0 through 6.0, the browser is implemented in the Shdocvw.dll (Shell Document Object and Control Library) file. You can use the version of the Shdocvw.dll file to determine the version of Internet Explorer 3.0 through 6.0 that is installed on your computer. To determine the version of Internet Explorer 7, you must use the version of Iexplore.exe. To do so, follow these steps:
- Click Start, point to Find, and then click Files Or Folders.
- In the Named box, type shdocvw.dll, and then click Find Now.
- In the list of files, right-click the Shdocvw.dll file, and then click Properties.
- Click the Version tab.
- Repeat steps 2 through 4, but in step 2 type iexplore.exe. If the version of Iexplore.exe is 7.x, then Internet Explorer 7 is installed. Use the table of Internet Explorer versions earlier in this article to compare the version number to released versions of Internet Explorer 7.
This table lists the different versions of the Shdocvw.dll file and the corresponding versions of Internet Explorer.
| Version | Product |
| 4.70.1155 | Internet Explorer 3.0 |
| 4.70.1158 | Internet Explorer 3.0 (Windows 95 OSR2) |
| 4.70.1215 | Internet Explorer 3.01 |
| 4.70.1300 | Internet Explorer 3.02 and 3.02a |
| 4.71.1008.3 | Internet Explorer 4.0 Platform Preview 2.0 (PP2) |
| 4.71.1712.5 | Internet Explorer 4.0 |
| 4.72.2106.7 | Internet Explorer 4.01 |
| 4.72.3110.3 | Internet Explorer 4.01 Service Pack 1 (Windows 98) |
| 4.72.3612.1707 | Internet Explorer 4.01 Service Pack 2 |
| 5.00.0518.5 | Internet Explorer 5 Developer Preview (Beta 1) |
| 5.00.0910.1308 | Internet Explorer 5 Beta (Beta 2) |
| 5.00.2014.213 | Internet Explorer 5 |
| 5.00.2314.1000 | Internet Explorer 5 (Office 2000) |
| 5.00.2516.1900 | Internet Explorer 5.01 (Windows 2000 Beta 3, build 5.00.2031) |
| 5.00.2614.3500 | Internet Explorer 5 (Windows 98 Second Edition) |
| 5.00.2919.800 | Internet Explorer 5.01 (Windows 2000 RC1, build 5.00.2072) |
| 5.00.2919.3800 | Internet Explorer 5.01 (Windows 2000 RC2, build 5.00.2128) |
| 5.00.2919.6307 | Internet Explorer 5.01 (Office 2000 SR-1) |
| 5.00.2920.0000 | Internet Explorer 5.01 (Windows 2000, build 5.00.2195) |
| 5.00.3103.1000 | Internet Explorer 5.01 SP1 (Windows 2000 SP1) |
| 5.00.3105.0106 | Internet Explorer 5.01 SP1 (Windows 95/98 and Windows NT 4.0) |
| 5.00.3314.2100 | Internet Explorer 5.01 SP2 (Windows 95/98 and Windows NT 4.0) |
| 5.00.3315.2879 | Internet Explorer 5.01 SP2 (Windows 2000 SP2) |
| 5.00.3502.5400 | Internet Explorer 5.01 SP3 (Windows 2000 SP3 only) |
| 5.00.3700.6668 | Internet Explorer 5.01 SP4 (Windows 2000 SP4 only) |
| 5.50.3825.1300 | Internet Explorer 5.5 Developer Preview (Beta) |
| 5.50.4030.2400 | Internet Explorer 5.5 & Internet Tools Beta |
| 5.50.4134.0100 | Internet Explorer 5.5 for Windows Me (4.90.3000) |
| 5.50.4134.0600 | Internet Explorer 5.5 |
| 5.50.4308.2900 | Internet Explorer 5.5 Advanced Security Privacy Beta |
| 5.50.4522.1800 | Internet Explorer 5.5 Service Pack 1 |
| 5.50.4807.2300 | Internet Explorer 5.5 Service Pack 2 |
| 6.00.2462.0000 | Internet Explorer 6 Public Preview (Beta) |
| 6.00.2479.0006 | Internet Explorer 6 Public Preview (Beta) Refresh |
| 6.00.2600.0000 | Internet Explorer 6 (Windows XP) |
| 6.00.2800.1106 | Internet Explorer 6 Service Pack 1 (Windows XP SP1) |
| 6.00.2900.2180 | Internet Explorer 6 for Windows XP SP2 |
| 6.00.2900.5512 | Internet Explorer 6 for Windows XP SP3 |
| 6.00.2800.1278 | Internet Explorer 6 Update v.01 Developer Preview (SP1b Beta) |
| 6.00.2800.1314 | Internet Explorer 6 Update v.04 Developer Preview (SP1b Beta) |
| 6.00.3663.0000 | Internet Explorer 6 for Microsoft Windows Server 2003 RC1 |
| 6.00.3718.0000 | Internet Explorer 6 for Windows Server 2003 RC2 |
| 6.00.3790.0000 | Internet Explorer 6 for Windows Server 2003 (released) |
| 6.00.3790.1830 | Internet Explorer 6 for Windows Server 2003 SP1 and Windows XP x64 |