which ports should be opened to work with WMI thorugh windows firewall?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • buddhika1984
    New Member
    • Oct 2008
    • 1

    which ports should be opened to work with WMI thorugh windows firewall?

    Hi,
    I am going to make WMI connection to a remote computer. here, i want to know which ports should be opened in windows firewall (Windows server 2008) to do that.
    I tested with two machines by opening two ports (rather than creating rules). For a successful WMI connection, I had to open following ports.

    First machine: TCP 135, TCP 49154
    Second machine: TCP 135, TCP 1027

    1. That means for incoming WMI connections, Does it use 135 and randomly allocated another one port?

    2. If yes, is there any algorithm to find that random port ?

    If anyone has some idea, pls reply..

    Thanks
    Buddhika Priyadarshana
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    You know what? Google is your friend! It finds things like this and this for you, which will answer your questions.

    Greetings,
    Nepomuk

    Comment

    • odoggz
      New Member
      • Nov 2009
      • 1

      #3
      WMI, although people tell you to open the DCOM port (135), you have to understand that the modern tools need TCP HIGH PORT open for WMI. That's all ports above 1024. So you must put that range in to be successful in most installs.

      Comment

      Working...