Solved

can't ping a pc by computer name

Posted on 2014-09-10
5
290 Views
Last Modified: 2014-09-20
had a windows 7 Machine A that can ping by IP but not by the computer name
When ping from MachineA,
C:\>ping hostname
Ping request could not find host hostname. Please check the name and try again.

C:\>ping MachineA

Pinging MachineA [::1] with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Ping statistics for ::1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

When ping MachineA from other pcs
C:\> ping MachineA
Ping request could not find host MachineA. Please check the name and try again.
0
Comment
Question by:grnow
  • 3
  • 2
5 Comments
 
LVL 21

Assisted Solution

by:RK
RK earned 100 total points
ID: 40314591
Hi,

What does the hosts file shows? c:/windows/system32/drivers/etc/hosts (open with notepad). Usually it should have 127.0.0.1       localhost. Is it appearing in it? if not, add the entry and see it works?

Also, DNS client service>>stop/ start it and check it makes any difference.
0
 
LVL 21

Assisted Solution

by:RK
RK earned 100 total points
ID: 40314601
0
 

Author Comment

by:grnow
ID: 40315208
hosts file show

#localhost name resolution is handled within DNS itself
# 127.0.0.1   localhost
#  1::1            localhost

had followed the above article method but still the same
0
 

Accepted Solution

by:
grnow earned 0 total points
ID: 40323251
ended up reformatting the pc as a last method to resolve it
0
 

Author Closing Comment

by:grnow
ID: 40334213
other suggested methods does not work for this particular scenario. reformatting is a faster way at times to cut down more time on troubleshooting.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question