Home > Articles > Operating Systems, Server > Microsoft Windows Desktop

  • Print
  • + Share This
This chapter is from the book

Configuring the Firewall to Allow wmic

If you want to run wmic commands on remote computers, you may need to enable the firewall on the remote connections. The primary error you'll see that indicates that wmic commands are prevented by the firewall is "The RPC server is unavailable."

You can configure the firewall to allow wmic commands by allowing the WMI program through the firewall in the proper profile. Figure 16-1 shows the window for doing so, which you can reach by starting the Control Panel, entering Firewall in the Search Control Panel text box, and selecting Allowing a Program Through Windows Firewall.

Figure 16-1

Figure 16-1 Enabling Windows Management Instrumentation in the Firewall

  • + Share This
  • 🔖 Save To Your Account