WMI over DCOM
Published 15 March 2023
WMI uses port 135 (RPC), but in addition to this, through its use of DCOM which it's built upon, it also uses a random port between 1065 and 65535 to continue the conversation. The following instructions will allow you to configure dynamic port allocation to work with the firewall, and there is also the ability to restrict the port range or alternatively make it use a static port so that it can be allowed in the firewall.
Restrictions | Instructions | |
---|---|---|
Dynamic ports | Not applicable for:
| Follow How to configure RPC dynamic port allocation to work with firewalls. |
Static ports |
2. Follow steps in this MSDN article: Setting Up a Fixed Port for WMI 3. Ensure either:
or
|