Close Menu
    Facebook X (Twitter) Instagram
    Sunday, October 12
    X (Twitter) LinkedIn Reddit RSS
    All about Endpoint Management
    • Home
    All about Endpoint Management
    Home»CM2012»How to get Report for Internet Explorer Startup Page using Configuration Manager 2012

    How to get Report for Internet Explorer Startup Page using Configuration Manager 2012

    Eswar KonetiBy Eswar KonetiAugust 09, 10:11 pm5 Mins Read CM2012 3,287 Views
    Share
    Facebook Twitter LinkedIn Reddit

    Last week, I was having a discussion with the manager about the User IE Home page/Start page to get a report on, how many users are set to Company intranet Page. I then asked him, what is the process/method that company currently follows to set IE Home page .He then replied, GPO ? my response for this was ,if GPO, then the Home page for IE should be set to the required one for all Domain Users (Domain users: where ever the GPO applied to) and using GPO, will have more control to restrict user to not to change the default IE Home page (Disable changing home page settings. and less troubleshooting required .

    I have then checked my computer to find the default IE Home Page, it is set to the correct one but I do have flexibility to change it to custom. So boss asked me to check if there is way to get a compliance report on User IE Home page ,in case the GPO may not be applied to some of the OU to be identified.

    Since the IE Home Page information stored in HKCU, we cannot use regkeytomof (it works only with HKLM) or MOF Extension or DCM (not easy).

    The possible solution for this is involved with, 1) Create Custom WMI location 2) Copy the User IE home page info into this location 3)Edit the MOF to retrieve this WMI information into SCCM Database.

    The above solution would work but how would you provide full permissions to WMI location to publish the User Registry info ? If users do not have admin rights on their computers ?

    Long ago ,there was a discussion on sccm forum list ,about the this issue to get User IE home pages Using Configuration manager. Our MOF Master Sherry Kissinger has got workaround for this issue which I am going shortly.

    This procedure requires creation  of  package with 2 programs (legacy is preferred and easy) 1) machine 2 ) User with dependency on machine.

    Create a folder with standard naming convention as per required on your network share and place these files into it .files can be downloaded from Github

    image

    1.wmiNameSpaceandSecurity.vbs—>This script will create custom WMI name location ( root\CustomCMClasses—>CM_IEStartPages) using file called WmiSecurity.exe.

    2.UserIEStartPage.vbs:This script publish the information from HKCU to custom WMI name location which is created using above script.

    Before we start creating the packages,edit the script wmiNameSpaceandSecurity.vbs and replace the domain name to your domain name and save the script.

    image

    Create Package with 2 programs:

    1.Create package with program cmd line: cscript.exe wminamespaceandsecurity.vbs under system context

    image

    2. Right click on the package created above and select Create program  (no need to create new package) with cmd line:cscript.exe UserIEStartPage.vbs under user context

    and select ‘Run another program profile first’

    image

    image

    we now created package with 2 programs :

    image

    Distribute the package to DP group or DP’s.

    Now create deployment using UserIEStartPage to required collection.

    Time to test the results:

    Login to PC that has this deployment ,run machine policy ,monitor execmgr.log for progress of this deployment.

    image

    from above log, program executed successfully.

    lets checkout the WMI classes and inventory information what is captured from HKCU.

    open cmd and type wbemtest.exe ,connect to “root\CustomCMClasses”

    image

    lets checkout the homepage values from WMI class using simple WQL Query before we start working with MOF file.

    while you are connected to “root\CustomCMClasses” ,Click on Query and use this query to run: SELECT * FROM CM_IEStartPages

    image

    From above, se see that ,User has set 2 tabs when IE Opens.Double click on either of the one and click on show MOF to see the URL page.

    image

    So far, All good. Now lets try doing some changes to the MOF to collect this information via Inventory on schedule basis (If Required,crate custom inventory to specific collection instead of doing it on default ).

    Go to your CM12 Primary Site administration pane (if you have CAS then you should do make these changes there )—>client settings—Default settings. (You must import the custom attributes here before you create custom client settings.

    image     image     image   image

    we have now imported the custom WMI info into CM12 but we did not enable this setting to be collected from Configmgr clients.

    on the background,Configmgr will be creating new table/view (CM_IESTARTPAGES_DATA/v_GS_CM_IESTARTPAGES) to store the information that comes from clients which can be monitor from dataldr.log from your Site server logs:

    imageNow ,Create custom client agent setting that can be applied onto test collection before making to Big collection .

    image          image

    Deploy this setting to test collection and wait for the results (client should pick the new settings and send the inventory info to Site server). After a while,you see the information in CM12 Database.

    Here is the Simple SQL Query:

    image

    SQL Quiries:

    select sys1.netbios_name0, os.Caption0, st.userdomain0, st.username0, st.tab0 as [Tab], st.startpage0
    from v_R_System_Valid sys1
    join v_GS_OPERATING_SYSTEM os on os.ResourceID=sys1.ResourceID
    left join dbo.v_GS_CM_IESTARTPAGES st on st.resourceid=sys1.resourceid
    order by sys1.Netbios_Name0, st.tab0

    Get IE pages into same row:

    select distinct sys1.netbios_name0, os.Caption0, st.userdomain0, st.username0,
    RTRIM(substring(ISNULL((select ','+startpage0
    from dbo.v_GS_CM_IESTARTPAGES ie1
    where ie1.ResourceID = Sys1.resourceID for xml path('')),' '),2,2000)) as StartPages
    from v_R_System_Valid sys1
    join v_GS_OPERATING_SYSTEM os on os.ResourceID=sys1.ResourceID
    left join dbo.v_GS_CM_IESTARTPAGES st on st.resourceid=sys1.resourceid
    order by sys1.Netbios_Name0

    Add custom inventory Client Settings CM12 configuration Manager 2012 How to IE Startup Page Internet Explorer Report get IE Home Page SCCM sccm report
    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

    9 Comments

    1. Steve on January 28, 2022 4:35 AM

      Was going to test this, but the files don't exist anymore.

      Reply
      • Eswar Koneti on January 28, 2022 10:41 PM

        Thanks for the report. I have uploaded the files to GitHub and post is updated.

        Thanks,
        Eswar

        Reply
        • esra on March 7, 2022 9:28 AM

          Hi, which is the URL for the download the files? In this page are not available. Thanks

          Reply
          • Eswar Koneti on March 9, 2022 10:08 PM

            Hi,
            You can download the files from here https://github.com/eskonr/MEMPowered/blob/master/Tools/UserIEStartPage.zip
            I have updated the GitHub link in the post.

            Thanks,
            Eswar

            Reply
    2. lexmirnov on September 1, 2016 4:30 PM

      Thank you very much, it helped a lot.

      Reply
    3. Gerry on April 8, 2015 4:07 PM

      Eswar. This is a superb post and great for retrieving information into Hardware Inventory from the HKCU registry section. I have implemented something similar in my own environment but i'm "stuck" on one aspect.

      We have a CAS in our organization and the changes i have made work just fine but the data only appears in the clients primary site, not on the CAS. From a reporting perspective it would be ideal to have this data replicated back into the CAS. Would you happen to know how to do this? Am I doing something wrong here?

      Again, many thanks

      Gerry

      Reply
      • Eswar Koneti on April 16, 2015 1:31 PM

        does the replication data log show any errors ? the data from primary will be replicated to CAS site and should see data as well.
        refer the blogs for replication issues http://blogs.technet.com/b/umairkhan/archive/2014/02/18/configmgr-2012-data-replication-service-drs-unleashed.aspx

        Reply
    4. Binary on February 9, 2015 3:49 PM

      This is what I call waste of time at work. Your boss seems to be a control freak.

      Reply
      • Eswar Koneti on February 9, 2015 4:41 PM

        There is nothing wrong in knowing about how to do a task can be silly or complex from which, you learn something out of it, which help in other scenarios 🙂

        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.