Problem connecting to network drive by server name, but by IP address works

Discussion in 'Windows 7 Networking' started by Greg 108T, Jun 9, 2011.

  1. Greg 108T

    Greg 108T New Member

    Joined:
    Jun 9, 2011
    Messages:
    4
    Likes Received:
    0
    We recently migrated our users from one domain to another. After the migration, 2 users are having problems connecting to their home directories on the network. They get an access denied error message if they try to connect using \\servername\sharename but it works fine if they connect using \\ipaddress\sharename. Both of these users are running Windows 7 and both of them had their home directories synchronized locally so they could work offline. It does not sound like a permissions issue since they can connect using IP address. It is not a DNS issue since they can both connect to other mapped drives that are on the same server as their home directories. I think it has something to do with syncronizing locally, but I'm not sure. Any ideas?
     
  2. Trouble

    Trouble Noob Whisperer

    Joined:
    Nov 30, 2009
    Messages:
    13,845
    Likes Received:
    833
    Greg 108T:
    Hello and welcome to the forum.
    If the IP address works fine but the netbios name fails, then it is almost certainly name resolution. Make sure that the problem machines are pointing at the Domain DNS server as their preferred DNS server, or if you are using a WINS server of course you would want to point them to that as well. But mostly in AD Domains the Domain DNS server is king and clients have to have that configured properly either from and through a properly configured DHCP server, or by manually assigning static values.
    Thanks for joining our community
    Regards
    Randy
     
  3. Greg 108T

    Greg 108T New Member

    Joined:
    Jun 9, 2011
    Messages:
    4
    Likes Received:
    0
    Hi Randy,

    I tried putting a host file entry in these 2 computer and that didn't work either. Also, these 2 computer can connect to other shares on that same server by server name...it is only their home directories that cannot connect by server name.
     
  4. Urhixidur

    Urhixidur Well-Known Member

    Joined:
    May 9, 2012
    Messages:
    2
    Likes Received:
    0
    This is similar to a problem I've run into myself, where targets could be pinged either way (by name or IP) but could be connected to only through their IPs (e.g. \\123.456.789.123 instead of \\servername), all this happening only from a Windows 7 machine. The targets could also be reached using "net use \\servername\resource", oddly. The error was something like "unknown user". Turns out stale credentials was being used from the Windows 7 machine. Have your users go to Control Panel: User Accounts: Manage My Account: Manage My Credentials. Most likely there will be saved credentials entries for the targets they're having trouble with. Have them delete the saved credentials entries and then try reconnecting normally.
     
  5. Carlos Patino

    Joined:
    Nov 8, 2013
    Messages:
    1
    Likes Received:
    0
    Thank you Urhixidur. That fix my issue.
     

Share This Page

Loading...