Skip to content

Update Firewall Rule if it already exists#199

Open
Maggsi wants to merge 1 commit into
0x6d69636b:masterfrom
Maggsi:master
Open

Update Firewall Rule if it already exists#199
Maggsi wants to merge 1 commit into
0x6d69636b:masterfrom
Maggsi:master

Conversation

@Maggsi
Copy link
Copy Markdown
Contributor

@Maggsi Maggsi commented May 19, 2026

This PR adds a Line to the Firewall Rule check that just enables a Firewall Rule if it already exists.

I use HardeningKitty to enable some predefined Firewall Rules in Windows (like allowing Remotedesktop) that are disabled by default.
With this change, if the Rule exists, it also sets the RecommendedValue for it.

If the Firewall Rule already exists, set Enabled to the RecommendedValue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant