Close Menu
    Facebook X (Twitter) Instagram
    Saturday, October 11
    X (Twitter) LinkedIn Reddit RSS
    All about Endpoint Management
    • Home
    All about Endpoint Management
    Home»Collections»SCCM report/collection for computers with Internet Explorer with different versions

    SCCM report/collection for computers with Internet Explorer with different versions

    Eswar KonetiBy Eswar KonetiApril 21, 6:03 pm3 Mins Read Collections 12,774 Views
    Share
    Facebook Twitter LinkedIn Reddit

    There might be some scenarios where in you would like to fetch computers with IE Versions, how many of them have IE8, IE9 ,how many of them do not have IE8 etc.

    Through this post,i wanted to give some useful SQL quires and collections which would help you to create to meet your requirement .

    The below is query that can be used to get all IE 7 machines.This assumes that , you have enabled software inventory client agent and by default, *.exe is listed.

    Create a new report and paste the following the query.This can be customized as per the requirement.

    Report for computers which has IE 7 Installed:

    SELECT DISTINCT a.Name0 AS [Machine Name],
    b.SiteCode,c.FileVersion AS [IE Version],
    d.Operating_System_Name_and0,
    c.FilePath
    FROM v_GS_SoftwareFile c INNER JOIN
    v_GS_SYSTEM a ON c.ResourceID = a.ResourceID INNER JOIN
    v_R_System d ON a.ResourceID = d.ResourceID INNER JOIN
    v_FullCollectionMembership b ON a.ResourceID = b.ResourceID
    WHERE     (c.FileName = 'iexplore.exe') AND (c.FileVersion like '7.00.6000%' )
    ORDER BY a.Name0

    If you want count the IE versions installed on computers,below is simple report to use.

     select filename as "executable name",left(FileVersion,14)as "File Version", COUNT(*) as Total from v_GS_SoftwareFile where FileName='iexplore.exe' group by FileName,FileVersion

    Report for Computers which do not have have IE8 Installed (which may have IE7 or IE9 ):

    SELECT DISTINCT a.Name0 AS [Machine Name],
    b.SiteCode,c.FileVersion AS [IE Version],
    d.Operating_System_Name_and0
    FROM v_GS_SoftwareFile c INNER JOIN
    v_GS_SYSTEM a ON c.ResourceID = a.ResourceID INNER JOIN
    v_R_System d ON a.ResourceID = d.ResourceID INNER JOIN
    v_FullCollectionMembership b ON a.ResourceID = b.ResourceID
    WHERE     (c.FileName = 'iexplore.exe') AND (c.FileVersion not like '8%' )
    ORDER BY a.Name0

    Collection for computers which has IE version installed onto it filtered with Vista Computers (OS version 6.0%) :

    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 = "iexplore.exe" and
    SMS_G_System_SoftwareFile.FileVersion like "8.0%" and
    SMS_R_System.OperatingSystemNameandVersion = "Microsoft Windows NT Workstation 6.0"

    Collection for computers which doesn't have Internet Explorer(IE8):

    For computers with windows 7  operating system,IE8 will not register in add and remove programs hence you can go with software file.This collection may list IE6,IE7 and IE 9 computers.

    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 where SMS_R_System.ResourceId not in (select SMS_R_System.ResourceId 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 = "iexplore.exe" and SMS_G_System_SoftwareFile.FileVersion like "8.%")

    SCCM Collection for Computers with Internet explorer 8(IE8) :

    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 = "iexplore.exe" and SMS_G_System_SoftwareFile.FilePath like "%prog%internet%" and SMS_G_System_SoftwareFile.FileVersion like "8.%" and SMS_R_System.OperatingSystemNameandVersion = "Microsoft Windows NT Workstation 6.0"

     

    SSRS report for IE versions refer http://eskonr.com/2014/02/configmgr-ssrs-report-count-of-ie-versions/

    Configmgr 2007 configmgr report Count IE Versions Internet Explorer SCCM SCCM 2007 SCCM Collection With IE Versions sccm report for IE Versions SCCM Reports SMS SQL
    Share. Twitter LinkedIn Email Facebook Reddit

    Related Posts

    SCCM SQL Report – Compare Installed Apps on TWO Different Computers

    July 13, 10:35 am

    Optimize Your Intune Workflow with a Powerful Browser Extension

    March 22, 10:39 am

    Migrate Microsoft 365 Updates from SCCM/MECM to Intune for Co-Managed Devices

    February 11, 9:50 pm

    56 Comments

    1. Winso on January 12, 2016 2:22 PM

      I need query for windows 7 with service pack & IE 11 versions & another without IE 11 installed. I tried many solution queries nothing I achieve via SCCM 2007 does anyone help me.

      Reply
      • Eswar Koneti on January 27, 2016 12:42 AM

        for windows 7 SP1,you can use v_gs_operating_system view along with v_r_system view ,for IE11 and without IE11,you can go with software inventory what is explained in the IE blog post. i will post it later when time permits.

        Reply
    2. Winso on January 12, 2016 2:21 PM

      I need query for windows 7 with service pack & IE 11 versions & another without IE 11 installed. I tried many solution queries nothing I achieve via SCCM 2007

      Reply
      • Eswar Koneti on January 27, 2016 12:44 AM

        what have you tried to achieve this ? may be i can help you to check your query.

        Reply
    3. Amit G on October 27, 2015 10:02 PM

      Hi,

      I am trying to deploy IE 11 through software updates(SCCM 2012 R2) but many machine shows as compliant even though they are running IE8. I believe it might be reporting compliant since there are registry entry present for IE11. Is there any way to fix that?

      I am not sure if this is the correct link for asking some help.
      Please forgive me for that.

      Thanks
      Amit G

      Reply
      • Eswar Koneti on October 27, 2015 11:45 PM

        complaint means,the client do not require the patches means,they are not applicable.You can ignore the clients that says complaint and focus on unknown and non-compliant.

        Reply
    4. Rajasekarg on October 2, 2015 1:27 PM

      I need to make a inventory for plugins/ add ins/ extensions in IE/Chrome/Firefox. Any customized scripts please ?. Say for an instance i need all systems list with Adobe plugin installed in IE.

      Reply
      • Eswar Koneti on October 5, 2015 2:45 PM

        Not possible direct way but you can create script to pipe the information into wmi and use regkey2mof to report this info sccm server but again,IE addon are per user but not system.You should consider this as well while working on scripts. refer this link https://social.technet.microsoft.com/forums/systemcenter/en-US/cecb8c11-b5d8-47d5-9938-bea9d8e22af9/sccm-report-internet-explorer-add-ons

        Reply
    5. Raman Katoch on March 25, 2015 3:47 PM

      Thank you so very Much Eswar!!

      Reply
    6. Alex on December 15, 2014 4:35 PM

      Hi Eswar ,
      It works.Thanks a lot !

      Reply
    7. Alex on December 12, 2014 12:12 PM

      Hi Eswar ,

      Hope you are fine .
      I have tried "Report for computers which has IE 7 Installed" and it works fine but final list
      contains more than 10000 records .Could you please help to modify it so that the final report reflects only PC's which names begin with UA letters , for example
      Thanx

      Reply
      • Eswar Koneti on December 15, 2014 10:47 AM

        add condition with and D.name0 like 'UA%'

        Reply
    8. Martin Östlund on October 28, 2014 2:14 PM

      Thank you Eswar, worked like a charm. Just changed 8.0 to 11.0 for a IE11 collection. /Martin

      Reply
      • Eswar Koneti on October 29, 2014 4:19 PM

        Glad it helped 🙂

        Reply
    9. Shivadev on October 15, 2014 7:57 PM

      Hi Eswar,
      Could you please give me a query to find machine names with user name. I need to find computer name for bunch of users.

      Reply
      • Eswar Koneti on October 17, 2014 9:04 AM

        you use this report to find user with list of machines http://eskonr.com/2012/08/sccm-configmgr-report-find-computers-for-the-list-of-selected-users/
        for custom query,use the tables ,v_gs_computer_system/V_r_system to get the list of computers or users.

        Reply
    10. varun on August 15, 2014 5:38 PM

      Please provide me to find out MS office version with service pack.

      Please do the needful.

      Thanks

      Reply
      • Eswar Koneti on August 20, 2014 10:50 AM

        did you try this report ? http://eskonr.com/2012/05/sccm-linked-report-ms-office-version-with-service-pack-installed-machines/

        Reply
    11. Repertoire Fashion voucher code on June 24, 2014 10:47 AM

      I really like your blog.. very nice colors & theme. Did you create this website yourself or did you
      hire someone to do it for you? Plz respond as I'm looking to design my own blog and would like to find out where u got this from.
      appreciate it

      Reply
      • Eswar Koneti on June 24, 2014 1:11 PM

        its wordpress theme .you can get it online for free.

        Reply
    12. Sourabh on February 28, 2014 9:06 AM

      Hi Eswar,

      When I am running SQL query to get IE versions installed on all systems based on software file (iexplore.exe, v_GS_SoftwareFile); it fetches all the iexplore.exe available on a particular system not the currently installed version of iexplore.exe .Hence we get multiple entries for a particular system.

      Could you please help me out to get the current installed IE version on all system.

      Reply
      • Eswar Koneti on March 7, 2014 12:06 PM

        what do you meant by currently installed ? this report will get you count of all computer with different version of IE.Each computer will have one version of IE which is based on iexplore.exe

        Reply
    13. Pingback: SCCM report/collection for computers with Internet Explorer with different versions | MS Tech BLOG

    14. Vijay on March 27, 2013 5:17 PM

      Hi Eshwar,

      I would like to add new set of favourites on IE 8 & IE 9 via SCCM, I know it can be done via GPO, but i need to know how this can be implemented via SCCM and your help with the scripts.

      Secondly, please provide reference to few good site, if you know where I can lean these scriptings.

      Reply
      • Eswar Koneti on March 27, 2013 9:11 PM

        I would suggest to go with GPO for easy tracking and to function it correctly.
        If you still want to go with Script via SCCM,you can try this script.

        Option Explicit
        dim path
        path=CreateObject("WScript.Shell").ExpandEnvironmentStrings("%UserProfile%\Favorites")
        dim objFSO
        set objFSO=CreateObject("Scripting.FileSystemObject")

        objFSO.CopyFile "\\servername\favourites\eskonr.url", path & "\"

        change if you need something more.

        I tested it manually and it worked for me.

        Reply
    15. Chris Morrow on March 13, 2013 3:59 AM

      I found that using the query below which is slightly modified from Eswar's worked at finding more computers with whatever specific version of IE I was looking for... Notice the "%" after Program Files...

      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.FilePath like "%\\Program Files%\\Internet Explorer\\" and SMS_G_System_SoftwareFile.FileName like "iexplore.exe" and SMS_G_System_SoftwareFile.FileVersion like "8.%"

      Reply
    16. Semi on March 5, 2013 9:42 AM

      I am not even sure if this can be done. But I need to know if there is a way in SCCM 2012 to report on IE version usage? Not like IE 7 or 8, but as in 32 or 64 bit. I am trying to convince our IT manager that Java 64 bit is not necessary because most people in our firm dont even use IE 64 bit.

      Reply
      • Eswar Koneti on March 8, 2013 11:53 AM

        never tried before about IE Usagae and no point in tracking Usage of IE as this is the default browser with windows and everyone uses it.
        may be you can try to add iexplore.exe for metering usage.

        Reply
    17. Vineet on February 14, 2013 7:45 PM

      my bad , I forgot to see its comparing the last reboot with current time..

      Reply
    18. Vineet on February 14, 2013 7:44 PM

      Well the last reboot query, I doubt if its giving the correct data.. will try it again though,

      Reply
    19. Martony on January 23, 2013 9:09 PM

      Hi,

      I used the "Report for computers which has IE 7 Installed" query, I just added "and Operating_System_Name_and0 LIKE 'Microsoft Windows NT Workstation%'" in order to scope only Windows workstations.
      The problem is this query lists all IE7 versions installed, some computers appears a multiple times in my reports.
      Is there a way to make computers appear only once even if multiple IE7 versions are installed?

      Reply
      • Eswar Koneti on January 24, 2013 6:42 AM

        I just ran the query but i dont see any duplicate columns.Can you take close look at the double computer names if there any any difference in the results columns ?

        Reply
    20. FAM on January 14, 2013 8:41 PM

      Hi, I'm having a problem generating an SCCM report where we want to confirm that IE6 is not running on Windows 7 machines. Since IE 6 is not in Add/remove programs I running into difficulty coming up withan accurate report. Any suggestions would be appreciated. Thanks

      Reply
      • Eswar Koneti on January 15, 2013 10:38 AM

        by default windows 7 machines do not come up IE6 and it is IE 7 or more(havent checked). To find out the Version of IE6,you will have find it using 'shdocvw.dll'file from C:\windows\system32 Ref: http://support.microsoft.com/kb/969393
        Here is the report to to list IE6 machines using the DLL. http://myitforum.com/cs2/blogs/cstauffer/archive/2009/12/22/how-to-find-ie6-or-older-in-your-environment-with-sms-or-sccm.aspx
        but ensure to add this dll in inventory else you will see empty results.

        Reply
    21. Cem on October 22, 2012 2:54 PM

      Hi, I dnt understad what u mean 🙁

      Reply
      • Eswar Koneti on October 22, 2012 5:28 PM

        what you did not understand ? SQL Query ?

        Reply
    22. Cem on October 19, 2012 5:05 PM

      Hi, Its possible that u can send me all clients that not installed scom 2012 agent ?
      Many Thx....

      Reply
      • Eswar Koneti on October 20, 2012 2:58 PM

        you can replace the Program name from ARP what is avilable into the query ? Did you try that ?

        Reply
    23. Rajeev on October 11, 2012 3:50 PM

      Thanks Eswar. The query helped me a lot.

      Reply
    24. Rajeev on October 10, 2012 3:50 PM

      Hi Eswar,

      Many Thanks for the reply. But getting syntax error when tried with the above collection query. Pls do the needful.

      Rajeev.

      Reply
      • Eswar Koneti on October 10, 2012 4:28 PM

        The query which i posted is Collection not report.
        To get report,try the below .Replace the quotes with original as the blog convert's them to fancy.

        SELECT TOP (100) PERCENT dbo.v_R_System.Name0, dbo.v_GS_OPERATING_SYSTEM.LastBootUpTime0, DATEDIFF(Day,
        dbo.v_GS_OPERATING_SYSTEM.LastBootUpTime0, GETDATE()) AS [Days since last boot], dbo.v_GS_OPERATING_SYSTEM.Caption0
        FROM dbo.v_GS_OPERATING_SYSTEM INNER JOIN
        dbo.v_R_System ON dbo.v_GS_OPERATING_SYSTEM.ResourceID = dbo.v_R_System.ResourceID
        WHERE (DATEDIFF(Day, dbo.v_GS_OPERATING_SYSTEM.LastBootUpTime0, GETDATE()) > 7) AND (dbo.v_GS_OPERATING_SYSTEM.Caption0 LIKE '%xp%') OR
        (dbo.v_GS_OPERATING_SYSTEM.Caption0 LIKE '%Windows 7%') OR
        (dbo.v_GS_OPERATING_SYSTEM.Caption0 LIKE '%vista%')
        ORDER BY [Days since last boot]

        Reply
    25. Rajeev M on October 9, 2012 12:01 PM

      HI Eswar,

      Can you help me to write an SCCM query for number of computers being loggedoff but not shutdown for 1 week.

      Any help will be highly appreciated

      Rajeev.

      Reply
      • Eswar Koneti on October 10, 2012 7:24 AM

        Hi Rajeev,
        Logged off information will not be avilable in sccm and if you need it ,you may have get it somehow using registry information or status messges..never tried it before But
        you can try this report for computers not restarted since 1 week

        SELECT DISTINCT SMS_R_System.Name, SMS_G_System_OPERATING_SYSTEM.LastBootUpTime, SMS_G_System_OPERATING_SYSTEM.Caption
        FROM SMS_R_System INNER JOIN SMS_G_System_OPERATING_SYSTEM ON SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId
        WHERE (SMS_G_System_OPERATING_SYSTEM.Caption like "%xp%" or SMS_G_System_OPERATING_SYSTEM.Caption like "%vista%" or SMS_G_System_OPERATING_SYSTEM.Caption like "%windows 7%") and (DateDiff(day, SMS_G_System_OPERATING_SYSTEM.LastBootUpTime, GetDate()) >7)

        Reply
    26. Ted on August 8, 2012 1:37 AM

      I have attempted to use the above query to list all the computers in our customers estate that have any version of Access.

      Reply
      • Eswar Koneti on August 8, 2012 6:04 AM

        what is the result ? did u get what is required ?

        Reply
    27. Graham on March 29, 2012 6:46 AM

      Hello Eswar,

      I have tried to use the SCCM query 'Collection for Computers which doesn't have IE8' but I keep getting a syntax error when I hit OK in the dialog box of the query statement it simply states : "This query has a syntax error. Are you sure you want to save it?"

      I am assuming that the query is not meant to be run on the SQL server using the SQL query manager... but in SCCM console yes?

      Please let me know because I am in need of a query to create a collection of machines that do NOT have IE8 installed so I can target them for IE8 deployment and your query cam up in the Microsoft blog and it looked like the one I needed.

      Any help gratefully accepted.

      Regards,

      Graham

      Reply
      • Eswar Koneti on March 29, 2012 9:31 AM

        query works correctly but the only change u need is replace the quoates(') around Iexplore and 8 as they do not work in sccm reports.
        btw.,did you enable software inventory agent looks for *.exe files ? without any exclusions to c:\program files ?

        Reply
    28. Srinivas Chilukuri on February 27, 2012 12:57 PM

      HI Eswar,

      i have tried but its not working i have run the command from command prompt and run also.
      its not working. can you please guide me if i am doing wrong.

      Reply
    29. Srinivas Chilukuri on February 17, 2012 1:03 PM

      HI Eswar,

      Thanks for the info.

      I want to start the SMS Agent service in our organization users machine. Is there any script for that.

      Regards,
      Srinivas.

      Reply
      • Eswar Koneti on February 24, 2012 1:42 PM

        yes you can do that using net start servicename
        did you try that ?

        Reply
    30. Srinivas Chilukuri on February 16, 2012 1:57 PM

      Hi Eswar,

      Can you please guide me to run SCCM service in client machines. Is there any script available for it.

      Please help me out.

      Regards,
      Srinivas.

      Reply
      • Eswar Koneti on February 17, 2012 11:43 AM

        sccm service ? U mean SMS agent host...you can use simple command line net start sms agent

        Reply
    31. Mark on March 14, 2011 6:54 PM

      Neither:
      Report for Computers which doesnt have IE8 Installed (which may have IE7 or IE9 ):
      OR:
      Collection for computers which doesn’t have Internet Explorer(IE8):

      Is NOT working, it is not a valid SQL statment.

      Reply
      • Eswar Koneti on March 15, 2011 12:04 PM

        Mark,
        what does the error message gives you when you run report Report for Computers which doesnt have IE8 Installed (which may have IE7 or IE9 ) ? Its working for me and i can see all computers with IE versions except IE8.

        Collection for computers which doesn’t have Internet Explorer(IE8): Yes,it is not a SQL(Reports uses SQL) and it is WQL (collection uses WQL language). Query is correct but that doesnt list computers with IE8 because ,not like function will not return the correct restuls though. I have updated the collection query with subslected function. This should make you clear on this.

        Reply

    Leave a ReplyCancel reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Sign Up

    Get email notifications for new posts.

    Author

    I’m Eswar Koneti ,a tech enthusiast, security advocate, and your guide to Microsoft Intune and Modern Device Management. My goal? To turn complex tech into actionable insights for a streamlined management experience. Let’s navigate this journey together!

    Support

    Awards

    Archives

    © Copyright 2009-2025 Eswar Koneti, All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.