Link to home
Start Free TrialLog in
Avatar of Juneaucounty
JuneaucountyFlag for United States of America

asked on

cannot browse (netbios) using hostname but i can using IP address

I have a weird situation:

I have a windows 7 computer and a windows xp computer. Both are on the network with the same scheme (same subnet mask, default gateway, dns servers). They are also both Static IP addresses.

Windows 7 box cannot browse \\computername\sharefolder on WinXP box
Windows XP box can browse to \\computername\sharefolder on the win7 box


Windows 7 box can ping hostname of WinXp
Windows XP box can ping hostname of Win7

Windows 7 can browse \\ipaddress\sharedfolder on winXP box
Windows XP can browse \\ipaddress\sharefolder on win7 box

So my question is why can i not browse \\computername\share from Windows 7 to the XP?
Im getting an error that says that i do not have permission to open this share. I checked permissions on the folder of the share and both share/NTFS permissions have EVERYONE full control

I have checked my dns server and it looks like its working. I can ping the hostname no problem. I have also tried removing computers from domain and readding them to sync with AD. Also i have no Group Policies applied to these computers.

Thanks
Avatar of piattnd
piattnd

Try some of the nbtstat commands to look at the local table for the problematic machine (perhaps it has a stale or incorrect record causing a misdirect).

http://support.microsoft.com/kb/300986

I've seen this a few times, but it was so long ago I can't recall each case and what I did to fix it.  If you find something odd in the nbtstat commands, post here and I'll help you through that.
Avatar of comfortjeanius
Check this on the Windows 7 workstation

Open the control panel  ---> Network and Sharing Center ---> Change advanced sharing settings ----> Domain

Make sure Network Discovery is turned on,  File and printer sharing, you can turn on Public folder sharing if you want, and File sharing connections choose the (recommended) option for this one.
Verify that the name is resolving to the correct IP.  For instance try, ping -a 10.10.0.10 just to see that it displays the right hostname.
Does it work from other machines?
i recently had a somewhat similar issue but i couldn't access a win 7 share from xp based pc's.  this link was the cure but i'm not sure if this applies to you or not

superuser.com/questions/47382/system-error-58-while-accessing-shares-on-windows-7-from-xp

do you get an error when you try to connect using the hostname?  you said both are on domain, are you hosting dns?  does dns resolve to correct ip? use nslookup to find out

if you can see the share using ip but not the hostname then dns is where i would start, you may want to ipconfig /flushdns, also check to see what's in your lmhost and host files
ASKER CERTIFIED SOLUTION
Avatar of Juneaucounty
Juneaucounty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hah, windows firewall doing more harm than good!  Glad you sorted it.  Good luck!
Avatar of Juneaucounty

ASKER

I tried all the suggestions but everything seemed to be working fine.... so I researched and found my windows firewall was on