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, 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!


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.

| improve this answer | |
  • 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 Feb 15 '11 at 15:11
  • 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... – FSUScoot Feb 15 '11 at 15:19
  • @FSUScoot: Glad to help. – joeqwerty Feb 15 '11 at 15:50

How are you assigning DNS servers to the laptops? If you're using DHCP then they should automatically get the correct name server from whatever network they connect to (assuming the network uses DHCP). On the TCP/IP properties for the network adaptor, check to see if you have "Obtain DNS server addresses automatically" though it sounds like you are as it mentions it's correct in the ipconfig output.

Do you have a proxy server set for the browser? I've seen issues where people can't use public networks because the browser is trying to direct all traffic to a proxy server.

| improve this answer | |
  • @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 Feb 15 '11 at 14:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.