troubleshooting Question

Setting Windows Firewall for Windows Management Instrumentation Windows 10 in PS Script

Avatar of hypercube
hypercubeFlag for United States of America asked on
Windows 10Windows OS* Firewal rulesNetwork Management
5 Comments1 Solution11 ViewsLast Modified:
I have a set of instructions that has you check the box in the appropriate profile column in "Allowed Apps" next to "Windows Management Instrumentation" e.g. Private or Domain.

In order to implement these instructions in a Powershell script (my objective), there are a number of firewall rules involved.  These include AT LEAST:
 "Windows Management Instrumentation (ASync-In)"  Public/Private/Domain
"Windows Management Instrumentation (DCOM-In)"  Public/Private/Domain
"Windows Management Instrumentation (WMI-In)"  Public/Private/Domain
I determined this list by researching it and by observing what happens:

If one uses one profile check box in Allowed Apps for the network profile, these seem to be what are enabled.
Also, starting with the box NOT checked, if one enables the firewall rules above individually and "completely" then when you go back to Allowed Apps, you expect the check box to be checked and with no gray shading (which appears to mean "part way").
However, in this case, enabling the rules above manually results in the check box with gray shading which implies something is missing.

What's missing?  It seems either there's another rule or rules that need to be enabled for this OR there are parameter settings within the 3 rules above that need to be changed.
Dustin Saunders
Co-Founder and Chief Architect

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Top Expert 2016

The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros