Laptops on Windows Domain sometimes have problems accessing internet when off-site

5,911

Check for a GPO being applied to the client computers that is setting the DNS configuration. The settings can be found under Computer Configuration>Administrative Templates>Network>DNS Client.

Share:
5,911

Related videos on Youtube

FSUScoot
Author by

FSUScoot

Updated on September 17, 2022

Comments

  • FSUScoot
    FSUScoot over 1 year

    We've had this problem for a long time. When users travel, sometimes they can't get internet access from a wired or wireless connection. Here are a couple examples:

    1) A user goes to a hotel and tries to access the wireless in their room. They can connect to the access point. They open a web browser and they can't get re-directed to the hotel's login page. Because they can't log in, there's no internet access.

    2) A user goes to another laboratory/university and tries to access the wired network. They connect, link is fine, PC gets IP from DHCP but no internet access. There's no login page to be re-directed to. It should just "work".

    What I've found is that it's a DNS issue. Because the computer is on a Windows Domain, it seems it MUST use our DNS servers. Even if you connect to an outside network and do an ipconfig /all, it looks like everything is ok. It'll even show their DNS servers listed in the config. The computer just won't use the other network's DNS server. I found a reg key that keeps our DNS servers listed and it seems that they take priority every time:

    HKLM\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient

    All the values under that key are for our AD domain. NameServer and Searchlist never change. What I've found is if the user edits the NameServer string and puts the DNS server of the network they're on, everything works just fine. They get re-directed to the hotel's correct login page or their internet access starts working. It's only a problem if the network they're on blocks outside DNS or a hotel that uses an internal name in their front page redirection that only their DNS server knows about, i.e., not public. If the re-direct page starts with an IP, like 10.10.10.10, it'll work just fine.

    Obviously this isn't a fix for everyone. Most of my users are pretty knowledgeable so it’s easy for me to walk them through or send them a .reg file that they can edit and run.

    This problem isn't limited to Windows 7. It was like this with XP as well. It's not hardware related. The problem exists on both wired and wireless, Intel or Broadcom, laptops or desktops.

    Anyone else have this problem? Is there a GPO I can change that I missed? Got a good work-around for this?

    Thanks for any help!

  • FSUScoot
    FSUScoot over 13 years
    @Chris-Everything is set correctly, pretty much all default. In other reg keys, all the DHCP info gets set correctly, ipconfig /all shows everything corrrectly, but that one key stays the same and it seems to take priority. No proxy server set either. Recently I had a user take two laptops on vacation, a personal one and the one on the AD domain. The personal one worked just fine, the one on the AD wouldn't re-direct to the login page.
  • FSUScoot
    FSUScoot over 13 years
    Ok, so I see that there are values set in the Default Domain policy. Should I set them to Not Configured? Is this something that was set by someone (most likely me years ago) and should've been left as Not Configured?
  • FSUScoot
    FSUScoot over 13 years
    you da man. I set those values in the GPO to Not configured, did a gpupdate and now the strings are gone out of that reg key. THANK YOU! I'd upvote you if I could...
  • joeqwerty
    joeqwerty over 13 years
    @FSUScoot: Glad to help.