question

DavidJenkins-7665 avatar image
0 Votes"
DavidJenkins-7665 asked DavidJenkins-7665 answered

WinRM Group Policy does not update Firewall

I have been trying to use Group Policy for enabling WinRM. It works at setting up WinRM but it appears to fail setting the Firewall. I create a group policy. I set it to enable WinRM any IP to connect. I added a Firewall exception to the group policy for 5985 and 5986.

I kept getting errors until I removed the group policy and ran WinRM QuickConfig.

There it said it updated Firewall settings and then things started working.

So my question is how to you get WinRM to work via Group Policy if the Firewall settings don't work?

windows-serverwindows-11
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DavidJenkins-7665 avatar image
0 Votes"
DavidJenkins-7665 answered

I was incorrect about the firewall. At least for 2019 and 2022 server.

I do see the firewall entries.

144592-image.png




My question now is how would I get SSL automatically enabled by Group Policy?

I do have a policy that auto enrolls systems with a machine cert. It just doesn't seem like an option.

What are others doing?

I'm finding the group policy isn't that usefull if you want to ensure SSL is working. Maybe something like enable the HTTP version via group policy then configure SSL after through some script.

Right now I'm configuring WinRM Manually.


image.png (7.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.