2

Background

I have a domain-joined Windows 10 Pro machine that has been working fine on an internal Windows Server 2012 R2 domain (for this question, let's call it MYDOMAIN.COM) for years without any problems. The Windows server handles both domain tasks (Active Directory) and DHCP.

Both the computer and the server and the network have received no major changes - hardware, software, or configuration - in years as well, other than the always plausibly-culpable automatic Windows updates.

Problem

Recently it simply stopped registering correctly with the internal network and domain.

It does not receive a DHCP assignment from the server.

It does not recognize the network as MYDOMAIN.COM.

Diagnostics

  1. All other computers (dozens) have no problems on the same physical network.
  2. Have switched network cables and run long network cables directly to the server room to bypass any intermediate physical issues: same problem.
  3. Have switched NICs: same problem.
  4. Have installed a WiFi card and tried to connect to the network via WiFi: same problem.
  5. Have tried changing the switch port and changing the switch entirely: same problem.
  6. If I connect the computer directly to the modem: it works (and identifies the network as "Network").
  7. If I connect the computer to my phone using USB (Remote NDIS based Internet Sharing): it works, but strangely it recognizes the connection as MYDOMAIN.COM (even though it is not, so why is it misidentifying this network that has a completely different subnet?)
  8. If I switch out computers and try to connect a different computer using the same cable, network ports, and switch ports: it works.
  9. If I manually configure the NIC using a static IP/gateway/DNS server: it works.

Conclusion

Based on all the tests I've done so far, it seems something is wrong with the computer itself at the software or configuration level, and not my network, and for some reason it just doesn't want to register with DHCP. It won't even register when using a different cable, a different NIC, or even a wireless NIC.

I have no idea what I should try next to troubleshoot this issue. Can someone give me some pointers?

Update

I have new symptoms.

The problem is "spreading".

Recently, a crazy lightning storm that came through a modem knocked out several pieces of equipment (it actually knocked out a bunch of equipment around town, according to my contacts). It seems the strike propagated through the modem, out its ethernet ports, and then knocked out several network devices. It took out an ethernet port on my gateway, completely killed a VoIP box, went back out through that box's ethernet, knocked out several switches, and from there also damaged some of the ethernet ports on my workstations, as well as some printers.

Now, I shouldn't get too off track with the storm, because it doesn't have anything to do with the problem that this question is about, which predates the storm, but the necessary repairs did reveal new symptoms.

After replacing all the damaged switches, I had everything mostly back up and running. But the workstations with new network cards are not getting DHCP from the Windows Server.

On one computer, I am able to do a unique test, because the onboard NIC is still partially working but is unstable (because of the lightning strike). It gets DHCP but then loses the connection for a bit and then reconnects. I installed a new NIC and the connection is rock solid (I tested this by connecting it directly to the modem: see point 6. above), but when connected to the internal network, I get no DHCP from the server as in the original symptoms described above.

So, the computer gets DHCP when using the original (now damaged and flaky) NIC, but not when using the new NIC.

Is there something with Windows Server that would make it refuse to hand out an IP if it doesn't like the NIC for some reason?

4
  • Beautifully written question. +1 .. I don't have the answer without doing my own hacking on the machine but I almost guarantee that something in your registry broke and not hardware (as you probably already assume). Do you get DHCP assignment when booting a LinuxLive thinger or Windows PE? Commented Apr 28, 2023 at 17:21
  • I have not yet tried booting from a Live USB. I'm betting it will get a DHCP assignment. Any idea where in the registry I should look?
    – Daniel
    Commented Apr 28, 2023 at 17:37
  • No clue.. but a repair install might very well fix the problem and cost you nothing. That is the first thing I myself would try. Commented Apr 28, 2023 at 17:39
  • I never got around to a repair install and I just left the computer working with a static IP assignment temporarily. But in the meantime, two other computers have the same problem (see my most recent update to the original question for more info). The fact that more than one computer is now presenting with the same symptoms makes me think that a repair won't really address the issue. Multiple computers exhibiting the same symptom point more towards a centralized problem - I assume with the DHCP server.
    – Daniel
    Commented Jun 2, 2023 at 17:12

1 Answer 1

0

Long story short:

The Windows Server DHCP Server was misbehaving. Specifically, DHCP failover was not working correctly and this was causing issues. Though I'm not sure why some computers continued to get DHCP and others did not, I do know that fixing the failover configuration fixed the problem across the board.

Long story long:

My DHCP server was configured for failover (two Windows Server 2012 R2 instances participating) for years and has been showing an orange arrow since its initial configuration.

As my latest lightning storm update caused me to zero in on the DHCP server as the issue, I took new note of this orange arrow which I had ignored for a long time. When googling, I found this old post of mine from the TechNet forums where I was unclear as to whether the orange arrow was an error indication or simply a status indication:

https://social.technet.microsoft.com/Forums/Lync/en-US/498958dc-aad6-40fb-b61a-7f7636b34e61/list-of-windows-server-2012-dhcp-icons?forum=winserver8gen

Since my DHCP server has been working without problems for years, I never had reason to investigate more and settle this issue.

Now that DHCP was causing problems, I decided to simply remove the failover configuration (for now), and the arrow changed to green. In so doing, all of my DHCP problems also disappeared.

This also fixed other problems which I had posted about previously, but had not yet connected to this issue, namely:

Windows 7 VM in Windows 10 Pro Hyper-V: after years, network no longer works

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .