The issue is that I'm getting "RPC Unavailable" errors on some (a majority) of our computers. According to
this article, this is caused by a firewall issue, specifically Remote Admin not being enabled and/or TCP port 135 being blocked.
In the article, it recommends running the following commands:
call netsh firewall set service RemoteAdmin enable
call netsh firewall add portopening protocol=tcp port=135 name=DCOM_TCP135
Upon doing so, it resolves the issue. Great. So then
this article explains how to configure the firewall through group policy.
I did that on another computer that wasn't working, gpupdate /force, reboot... It's still not working.
This is where it gets weird, because when I run the connection tester, it says that the tcp port is properly open but WMI still won't connect. In the article, it says that running the following command will tell you if Remote Admin is enabled:
netsh firewall show state
Upon running that command, I clearly see Remote Admin Mode = Enable.
However, what I determined was that running the following command causes it to start working correctly anyway:
call netsh firewall set service RemoteAdmin enable
At this point, I am considering replacing the supposedly correctly configured GPO with a GPO that just pushes a batch file with the proper commands, but I kinda hate the idea of doing that.
Has anyone run into this issue before or have any suggestions or thoughts?