Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to get the list of programs displayed in Windows firewall "Add program" dialog [modified]

How to get the list of programs displayed in Windows firewall "Add program" dialog [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
windows-admintutorialquestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Ganesh_T
    wrote on last edited by
    #1

    Hi, Created the application same as Windows firewall. In Windows Firewall Under Exception tab we have the "Add Program" button. On click of which the list of program is enumerated. I want to know from where this list is populated. Any registry key under which these programs are listed. or any method to get this list? Regards.

    "A winner is not one who never fails...but the one who never quits"

    modified on Thursday, August 27, 2009 2:57 AM

    D L 2 Replies Last reply
    0
    • G Ganesh_T

      Hi, Created the application same as Windows firewall. In Windows Firewall Under Exception tab we have the "Add Program" button. On click of which the list of program is enumerated. I want to know from where this list is populated. Any registry key under which these programs are listed. or any method to get this list? Regards.

      "A winner is not one who never fails...but the one who never quits"

      modified on Thursday, August 27, 2009 2:57 AM

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      I sorted through Registry Monitor several times and came up with nothing conclusive. There does not seem to be a registry key/value dedicated to such a list (that would be too easy), but rather a series of cross-referencing from several locations.

      "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      G 1 Reply Last reply
      0
      • D David Crow

        I sorted through Registry Monitor several times and came up with nothing conclusive. There does not seem to be a registry key/value dedicated to such a list (that would be too easy), but rather a series of cross-referencing from several locations.

        "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        G Offline
        G Offline
        Ganesh_T
        wrote on last edited by
        #3

        thanks for the information. I looked for NetFwMgr and tried to use the interfaces provided but was not able to get any thing. INetFwMgr NetFwPolicy Thanks

        "A winner is not one who never fails...but the one who never quits"

        D 1 Reply Last reply
        0
        • G Ganesh_T

          thanks for the information. I looked for NetFwMgr and tried to use the interfaces provided but was not able to get any thing. INetFwMgr NetFwPolicy Thanks

          "A winner is not one who never fails...but the one who never quits"

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          The INetFwAuthorizedApplications interface can be used to get the list of applications authorized to open ports in the firewall. This list will be smaller than the list that is shown when the "Add Program..." button is clicked. Not having done this before, that's all I can offer.

          "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

          "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

          G 1 Reply Last reply
          0
          • G Ganesh_T

            Hi, Created the application same as Windows firewall. In Windows Firewall Under Exception tab we have the "Add Program" button. On click of which the list of program is enumerated. I want to know from where this list is populated. Any registry key under which these programs are listed. or any method to get this list? Regards.

            "A winner is not one who never fails...but the one who never quits"

            modified on Thursday, August 27, 2009 2:57 AM

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            See on Win32 group [^] (Win firewall source code, C++)

            1 Reply Last reply
            0
            • D David Crow

              The INetFwAuthorizedApplications interface can be used to get the list of applications authorized to open ports in the firewall. This list will be smaller than the list that is shown when the "Add Program..." button is clicked. Not having done this before, that's all I can offer.

              "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

              "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

              G Offline
              G Offline
              Ganesh_T
              wrote on last edited by
              #6

              Thanx david. I also tried with this... It makes sense if we display that list also. because firewall used add the programs in exception list and not displaying all the applications. But then also need to find out how does windows get the list of application. I have VS6.0 intalled on my machine and firewall shows most of the application from Visual Studio 6.0 folder from the installed location. Anyways...Will look to get.... Thanks again for the help.

              "A winner is not one who never fails...but the one who never quits"

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups