Skip to main content
- Press Win + R, type gpedit.msc, and press Enter.
- Go to:
Computer Configuration → Administrative Templates → Network → Network Connections → Windows Defender Firewall
- Select the required profile:
Domain Profile, Private Profile, or Public Profile.
- Open the setting you want to modify (for example, firewall state or inbound/outbound rules).
- Set the option to Enabled or Disabled as needed.
- Click Apply, then OK.
- Restart the server or run
gpupdate /force to apply the changes.