Solved

can't ping a pc by computer name

Posted on 2014-09-10
5
285 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 20

Assisted Solution

by:Radhakrishnan Rajayyan
Radhakrishnan Rajayyan 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 20

Assisted Solution

by:Radhakrishnan Rajayyan
Radhakrishnan Rajayyan 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now