Solved

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

Posted on 2010-11-27
10
778 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 3

Author Comment

by:deer22
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Article by: IanTh
Hi Guys After a whole weekend getting wake on lan over the internet working, I thought I would share the experience. Your firewall has to have a port forward for port 9 udp to your local broadcast x.x.x.255 but if that doesnt work, do it to a …
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

743 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

17 Experts available now in Live!

Get 1:1 Help Now