How to retrieve Allow app through fire Exact list

Irfan Sherief 0 Reputation points
2025-02-18T05:53:53.9566667+00:00

Hi,

I'm not able to retrieve the exact apps and feature list which is display in "Allow an app through firewall"
path = "Control Panel\System and Security\Windows Defender Firewall\Allowed apps".

I'm able to retrieve the list using "HNetCfg.FwPolicy2". but its not matching to Above path displayed list. I want the exact same like which displayed in below fig

User's image

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
5,771 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.