Click Start, click Control Panel, click Network and Internet, and then click Windows Firewall. The details pane indicates if the firewall is on or off. The entry for Network location indicates the currently active network location profile.
Most of the procedures that follow use the Windows Firewall with Advanced Security MMC snap-in, rather than the Windows Firewall Control Panel program.
To start the Windows Firewall with Advanced Security MMC snap-in
Do one of the following:
Click Start, click All Programs, click Administrative Tools, and then click Windows Firewall with Advanced Security.
At a command prompt, run the command: