How to disable Windows Firewall Defender(Public and Private) on Windows Server 2022 that joined the domain

PerserPolis-1732 1,971 Reputation points
2024-08-05T15:13:25.5833333+00:00

Hi,

My Windows Server 2016 Server is joined the domain and on the domain I have a GPO created that Windows firewall Defender is disabled Only for Domain Profile but for public profile and private profile is enabled.User's image

User's image

User's image

I dont want to dis-join the domain my windows Server 2016. Is there anyway to disable the Public profile and Private profile on the Windows 2016 Server without dis-join the domain?

local security policy or local gpo?

Thank you very much for help

Regards

Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
Windows for business | Windows Server | User experience | Other
Windows for business | Windows Server | Devices and deployment | Configure application groups
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2024-08-07T02:43:50.5266667+00:00

    Hi PerserPolis-1732,

    Thanks for your post. Basically, Windows Firewall offers three firewall profiles:

    • Domain profile: applies to networks where the host system can authenticate to a domain controller.
    • Private profile: a user-assigned profile and is used to designate private or home networks.
    • Public profile: this is the default profile. It is used to designate public networks such as Wi-Fi hotspots at coffee shops, airports, and other locations.

    You can disable the Public and Private by following command.PS C:> Set-NetFirewallProfile -Profile Domain, Public, Private -Enabled False

    Reference: Disable Windows Firewall with PowerShell - ALI TAJRAN

    Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it. Hope this helps.

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.


0 additional answers

Sort by: Most helpful

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.