Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

ปุ่มแปลไทยจะเปิดบทความผ่าน Google Translate เพื่อแปลอัตโนมัติ โดยคงโค้ดและคำสั่งไว้ตามต้นฉบับ

IT Support Playbooks / IT Support Guides

Check the active Windows firewall profiles

A device can behave differently on a public network and an office network because firewall profiles apply different rules. Inspect profile state alongside the current connection category.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Everyday IT support · Windows PowerShell examples unless specified

Try the diagnostic command

Use the stated shell and platform. Replace sample domains, addresses, services and paths with values from the system you are authorized to support.

Get-NetFirewallProfile | Select-Object Name, Enabled, DefaultInboundAction, DefaultOutboundAction
Get-NetConnectionProfile

How to read the result

The first query shows firewall profile settings; the second shows network connection categories. A NotConfigured policy value can require checking effective policy from the managing source.

What to do next

Map the active network to its expected profile and test the specific application's port. Ask the policy owner for a narrow approved correction if a rule is missing.

Before you make a change

Do not disable the firewall to make the symptom disappear. Local settings can be overridden by domain or device-management policy.

Share this article

Back to results