New
#1
Ping Response From Windows 7
Hi Everybody
My wired home network has4 PC's - one running Windows 7 Professional 64 bit and the other running Windows XP SP 3 32 bit O/S.
When I use the Ping command on any of the PC's running XP, the response is in the form as below from a PC which is offline :-
Pinging 192.168.X.XXX with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.X.XXX:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
The response is in the form as below from a PC which is online :-
Pinging 192.168.X.XXX with 32 bytes of data:
Reply from 192.168.X.XXX: bytes=32 time<1ms TTL=128
Reply from 192.168.X.XXX: bytes=32 time<1ms TTL=128
Reply from 192.168.X.XXX: bytes=32 time<1ms TTL=128
Reply from 192.168.X.XXX: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.X.XXX:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Please take note of the % loss - 0% and 100% in cases on online and offline computers.
However, when I execute the Ping command from my PC running Windows 7, the response takes the following form :-
For a onine PC :-
Pinging 192.168.X.XXX with 32 bytes of data:
Reply from 192.168.X.XXX: bytes=32 time<1ms TTL=128
Reply from 192.168.X.XXX: bytes=32 time<1ms TTL=128
Reply from 192.168.X.XXX: bytes=32 time<1ms TTL=128
Reply from 192.168.X.XXX: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.X.XXX:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
For a offine PC :-
Pinging 192.168.X.XXX with 32 bytes of data:
Reply from 192.168.Y.YYY: Destination host unreachable.
Reply from 192.168.Y.YYY: Destination host unreachable.
Reply from 192.168.Y.YYY: Destination host unreachable.
Reply from 192.168.Y.YYY: Destination host unreachable.
Ping statistics for 192.168.X.XXX:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Again, please take note of the % loss - 0% and 0% in both cases that is for both the online and offline computers. Also, note that the response is from the computer that the Ping command is executed from - in this case the one with Y.YYY. The Pinged computed is X.XXX.
Is it possible that I can get the Ping command response from this computer running Windows 7 as 100% (Loss) for an offline computer as I get in the case of Ping command response executed from a computer running Windows XP?
PS. If this helps, I am using this loss % as a feed to determine whether or not to run a batch file. I need to make sure that the PC's are offline before the batch file is run! This whole test is done using a dos batch file!
An early response shall be highly valued. Thanks in advance.
Best regards
Deepak