Skip to content

Instantly share code, notes, and snippets.

@fraga
Created June 16, 2011 21:14
Show Gist options
  • Save fraga/1030298 to your computer and use it in GitHub Desktop.
Save fraga/1030298 to your computer and use it in GitHub Desktop.
Enable or disable WMI traffic in windows 7 firewall
To enable or disable WMI traffic using firewall UI
1.In the Control Panel, click Security and then click Windows Firewall.
2.Click Change Settings and then click the Exceptions tab.
3.In the Exceptions window, select the check box for Windows Management Instrumentation (WMI) to enable WMI traffic through the firewall. To disable WMI traffic, clear the check box.
You can enable or disable WMI traffic through the firewall at the command prompt.
To enable or disable WMI traffic at command prompt using WMI rule group
•Use the following commands at a command prompt. Type the following to enable WMI traffic through the firewall.
netsh advfirewall firewall set rule group="windows management instrumentation (wmi)" new enable=yes
Type the following command to disable WMI traffic through the firewall.
netsh advfirewall firewall set rule group="windows management instrumentation (wmi)" new enable=no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment