Microsoft Defender Firewall Rules - Windows 10, 11, and Windows Server (Preview)

Copper Contributor

I realize that the firewall rules configuration for this platform is in preview, but was wondering if anyone has had any success configuring this profile using env variables in the file path section. Last week when working with the rules everything seemed to work great but when going back in to add more rules this week I noticed that the File Path section was broken and stating the path entered was an invalid regEx value. I tried testing with the information in the help bubble %WINDIR%\Notepad.exe which also failed. 

 

Has anyone seen such behavior and have they been able to find a work around? 

1 Reply
I am not sure if any one has gotten back to you on this, but I have been having this exact issue as well. Not sure what the fix is or if there is one. Let us know if you found something please.