What ports does WMI use?
WMI uses DCOM to communicate DCOM information from the Microsoft site… Firewall and Registry Settings for DCOM DCOM dynamically allocates one port per process. You need to decide how many ports you want to allocate to DCOM processes, which is equivalent to the number of simultaneous DCOM processes through the firewall. You must open all of the UDP and TCP ports corresponding to the port numbers you choose. You also need to open TCP/UDP 135, which is used for RPC End Point Mapping, among other things. In addition, you must edit the registry to tell DCOM which ports you reserved. You do this with the “HKEY_LOCAL_MACHINES \Software \Microsoft \Rpc \Internet” registry key, which you will probably have to create. The following example tells DCOM to restrict its port range to 10 ports: Named Value: Ports Type: REG_MULTI_SZ Setting: Range of port. Can be multiple lines such as: 3001-3010 135 Named Value: PortsInternetAvailable Type: REG_SZ Setting:”Y” Named Value: UseInternetPorts Type: REG