myITforum and Windows IT Pro Forums

 WMI and Firewall ports

Author Message
russrimm

  • Total Posts : 80
  • Scores: 0
  • Reward points : 11550
  • Joined: 8/7/2006
  • Status: offline
WMI and Firewall ports Friday, September 01, 2006 2:29 PM (permalink)
0
I'm trying to initiate a hardware inventory using the SMS client add-in and it's being blocked by the Trend firewall we use.  I found out the WMI ports are random.  Is there any way to make sure this is always allowed?
 
#1
    jfunderburg

    • Total Posts : 271
    • Scores: 32
    • Reward points : 4120
    • Joined: 10/26/2004
    • Location: Nashville, TN
    • Status: offline
    RE: WMI and Firewall ports Friday, September 01, 2006 3:17 PM (permalink)
    0
    WMI runs on top of DCOM.  Unfortunately, DCOM is not very firewall freely.  By default DCOM selects a random port between 1024 and 65535.  You have the ability to specify a single port or range of ports for DCOM to use. 
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndcom/html/msdn_dcomfirewall.asp

    In my environment, I have found that using the SC.EXE command to stop the firewall service, run the desired script/command, and then restart the service works pretty well.
    <message edited by jfunderburg on Friday, September 01, 2006 3:21 PM>
     
    #2
      morgrum

      • Total Posts : 1
      • Scores: 0
      • Reward points : 0
      • Joined: 9/29/2009
      • Status: offline
      RE: WMI and Firewall ports Tuesday, September 29, 2009 6:17 PM (permalink)
      0
      The only advice I've found on the net is to disable the XP firewall in order to allow the use of taskkill across a Windows network. This is not an acceptable answer. The correct answer is to create a firewall exception for the following ports (I figured this out using Windows Firewall's security log, btw):

      TCP 135
      TCP 4168
      UDP 9256

      You're welcome.
       
      #3
        Online Bookmarks Sharing: Share/Bookmark

        Jump to:

        Current active users

        There are 0 members and 2 guests.

        Icon Legend and Permission

        • New Messages
        • No New Messages
        • Hot Topic w/ New Messages
        • Hot Topic w/o New Messages
        • Locked w/ New Messages
        • Locked w/o New Messages
        • Read Message
        • Post New Thread
        • Reply to message
        • Post New Poll
        • Submit Vote
        • Post reward post
        • Delete my own posts
        • Delete my own threads
        • Rate post

        2000-2014 ASPPlayground.NET Forum Version 3.9