Solved

Vista and XP cannot access each other (ping ip works; ping name not working)

Posted on 2010-11-27
10
789 Views
Last Modified: 2012-05-10
I have three computers. A vista desktop, vista laptop, and an xp desktop.  The vistas both have home premium and the xp is home edition.  I have a netgear router.  Internet is working fine with all of them.  The vista laptop and the xp can share files with each other and ping using the ip and computer names, but the desktop and xp machines cannot.  I can ping back and forth between the two using the ip address, but I can't ping using the names on either the vista desktop or xp.  When I try to map a network drive on any of the computers, I can see all 3 of them. However, I can't access the xp computer with the vista desktop and I can't access the vista desktop on the xp.  I've been comparing the two vistas, but can't find anything different in the network settings.  I've installed all the windows updates and ran malwarebytes, spybot, and microsoft security essentials to get rid of any viruses and such.  They are all on the same workgroup.

Any ideas what's going on here?  

I included a screen shot of the error I get when I try to map a network drive to the xp from the vista desktop.

Thanks

 vista to xp error
0
Comment
Question by:deer22
  • 6
  • 3
10 Comments
 
LVL 9

Expert Comment

by:ken2421
ID: 34223665
In order to access files on the vista machine you will have to create an account to login with. Create a user on each machine and log onto it from the other machine with that account. Save the credentials.

You do no have to have logins at the PC but you must have user accounts. Once you create the Account you can have the PC log into it's main account automatically. Click start, run, and then type < control userpasswords2 >. Highlight the main account and uncheck the box. In this way you can have multiple user accounts but auto login to the main one. The other accounts are only there so that they can authenticate remote shares and whatever.

HTH,
Ken
0
 
LVL 3

Author Comment

by:deer22
ID: 34223695
If that's so, then why does the laptop connect without user accounts?  The xp can share files with the vista laptop.  The vista laptop and vista desktop are both setup the same from what I can tell.  
0
 
LVL 3

Author Comment

by:deer22
ID: 34223701
It's seems like there's something wrong with the host name recognition on the vista desktop keeping it from allowing it and the xp from accessing each other...?
0
 
LVL 3

Author Comment

by:deer22
ID: 34223882
I figured out that I can share files if I map the drives using the ip address on both the vista desktop and xp.

I guess this works, but I would still like to know why they're not mapping using the computer names?

Anyone know what the problem would be?
0
 
LVL 17

Accepted Solution

by:
Nik earned 500 total points
ID: 34228259
Strange issue, but you can fix it this way.

Navigate to:
C:\Windows\System32\drivers\etc

Edit the hosts file and type the names and IP addresses of the PC's that are not resolvable by name:

example

192.168.1.50      DADS

Save the file and try to ping the other PC by name. If it still isn't working, restart your computer.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 3

Author Comment

by:deer22
ID: 34236179
I'm thinking i got a virus keeping it from using host names.  Your solution might work if I could change the file, but vista won't let me for one and even if it did work the ip addresses could change like they did on me today.  Can i make them static?  I've gotten around vista not letting you save files in system32 before but it's been awhile since i've done that...i'd have to figure it out again......?
0
 
LVL 17

Expert Comment

by:Nik
ID: 34236609
Right click on the hosts file and click Security tab.
Add the Users group Modify permission on the file.
Reopen the file and edit it as mentioned above.

I can't remember, but on Windows Vista, you might need to take ownership of the hosts file before you will be able to change permissions.

Security tab | Advanced | Edit | Change owner then hit apply!
0
 
LVL 3

Author Comment

by:deer22
ID: 34239394
OK, I'll try it when I get home tonight.  Also, is there a way to make the ip address static?  I tried to do it in the general tab of the TCP/IPv4 properties by changing the ip, subnet, and gateway to what was there when I ran ipconfig.  After I did then I couldn't get connected to the internet.  Do I need to put in the DNS server address too?  Not sure where I get that at if so?
0
 
LVL 17

Assisted Solution

by:Nik
Nik earned 500 total points
ID: 34240408
You should be able to use the static IP address.
Have you entered the gateway address (IP address of your router)?
You can also enter DNS address (IP address of your router).
0
 
LVL 3

Author Closing Comment

by:deer22
ID: 34244626
Worked great once I took control of the hosts file.  This link shows you how: http://www.tech-recipes.com/rx/2204/vista_how_to_take_ownership_system_file/

I made the ip addresses static also following your instructions.

Thanks a million!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
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…

867 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

16 Experts available now in Live!

Get 1:1 Help Now