ShoutLand

6,213 posts
87,750 comments
10 comments
7,551 users
other seo online general web costumes help

How do you disable ping replies?[solved]

+1 vote
I want my Windows system to not reply to pings for security purposes. Does anybody know hot to disable ping replies in Windows?:
posted by ShaneMcmahon619

9 Comments

+1 vote
Windows 7 has made changing firewall setting a tad more obscure and complicated especially at command prompt level. Reading the below article will give you better understanding of changing your firewall settings.

http://technet.microsoft.com/en-us/library/cc748991(WS.10).aspx

Here is a link which shows how to enable ping request in Windows 7, so retrace some of the steps.

http://www.sysprobs.com/enable-ping-reply-windows-7

or
Command Line Syntax in a nutshell.

To start an elevated command prompt

Click Start and then click All Programs.

Click Accessories.

Right-click the Command prompt icon and then click Run as administrator.

At the User Account Control Prompt, click Continue.

At the command prompt, type: netsh

When you enter the Netsh context, the command prompt will display the netsh prompt. netsh>

At the netsh prompt, enter the advfirewall by typing: advfirewall

prompt

At this stage you should state for WHO this is applied (I assume) all of the profiles nesth advfirewall>

So .... at nesth advfirewall> Set allprofiles

The one most concerned to you is 1.State and Firewall policy

Coming to State it can be {on | off | notconfigured}
Note: The default state for all profiles on computers that are running Windows 7 is ON.

comming to Parameters it can be {InboundPolicy,OutboundPolicy}

InboundPolicy

Required. Must be one of the following values:

blockinbound. Blocks inbound network traffic that does not match an inbound rule.

blockinboundalways. Blocks all inbound network traffic, including traffic that matches an inbound rule. This effectively blocks all unsolicited inbound network traffic into the computer. Only traffic that is sent in response to an outbound request is allowed.

allowinbound. Allows all inbound network traffic, whether or not it matches an inbound rule.

notconfigured. Valid only when netsh is configuring a GPO by using the set store command. Removes the setting from the GPO, which results in the policy not changing the value on the computer when the policy is applied.

OutboundPolicy

Required. Must be one of the following values:

blockoutbound. Block outbound network traffic that does not match an outbound rule.

allowoutbound. Allow all outbound network traffic, whether or not it matches an outbound rule.

notconfigured. Valid only when netsh is configuring a Group Policy object by using the set store command. Removes the setting from the GPO, which results in the policy not changing the value on the computer when the policy is applied.
Note: The default value for firewallpolicy is blockinbound,allowoutbound.

So the command is

nesth advfirewall> set allprofiles firewallpolicy blockinbound, allowoutbound

Hope U got what ur looking 4
commented by ShaneMcmahon619
+9 votes
Solved

[Locked]
commented by ihmed2
+3 votes
If topic is solved please edit you title to include (Solved)
commented by Aceloop1
+6 votes
Thanks!
commented by JAD716
+9 votes
I'm using windows 7
commented by JAD716
+4 votes
What Windows are you using? 
commented by flazh
+10 votes
Sweet! Thank you very much!
commented by JAD716
+7 votes
Is that got solved?

Thanks.
commented by MatannardiA
+8 votes
Some routers can be configured not to respond to an ICMP Ping (ping to the WAN port). Like my Belkin Wireless router, it can be set up so it will not respond to an ICMP Ping from the outside. Simply by checking the Block ICMP Ping under Wan Pin Blocking tab. Would turn off the ping response.

or

Your antivirus firewall should be able to do it for McAfee here are the rules.

On the McAfee SecurityCenter pane, click Internet & Network, then click Configure.

On the Internet & Network Configuration pane, under Firewall protection is enabled, click Advanced.

On the Security Level pane, under Security Settings, do one of the following:

Select Allow ICMP ping requests to allow detection of your computer on the network using ping requests.

Clear Allow ICMP ping requests to prevent detection of your computer on the network using ping requests.

Click OK.

Or

Step 1
Determine if you have Service Pack 2 or greater installed. Right click on "My Computer" (located on your Desktop or in the Start Menu) and select "Properties" from the menu. Under the "System" heading, you will see information about your version of Windows. If you see a line stating "Service Pack 2" or "Service Pack 3," you can continue to Step 2. If not, either download and install the latest service pack from Microsoft's website. Or use above alternate solutions.
Step 2
Open the Start Menu and select "Control Panel" and then open "Windows Firewall." If you do not see "Windows Firewall," click on "Security Center" and then "Windows Firewall." If the firewall is turned off, select the "On" setting. You will need administrator rights on your PC to change any firewall settings.
Step 3
Once the firewall is turned on, click the "Advanced" tab in the firewall settings dialog box. Click the "Settings" button for the "ICMP" section. Uncheck the box titled "Allow incoming echo request" and click "OK". This will stop your PC from answering remote ping requests. If the box is already unchecked, you are already blocking ICMP traffic. If you have Microsoft File and Print Sharing enabled on your PC, you will be unable to uncheck this box. Continue to above alternate solutions.

Hope this has helped.
commented by ShaneMcmahon619

Please log in or register to comment on this post.