Version Affected: All
Overview
This article explains how to disable Windows Firewall from the command prompt. Disabling it from the Windows Firewall GUI does not always work, since the GUI reflects Group Policy settings pushed down from the domain controller — using the command prompt instead changes the local server's firewall settings directly.
Disable Windows Firewall via Command Prompt
- Open Command Prompt as Administrator and run the following command to show the current state of each firewall profile:
netsh advfirewall show allprofiles
- To turn off every profile at once, run:
netsh advfirewall set allprofiles state off
- To view or turn off a single profile instead of all of them, specify that profile by name — for example, for the Public profile:
netsh advfirewall show public
netsh advfirewall set public state off
SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.
Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products.
Comments
Please sign in to leave a comment.