Windows 10 PC's not renewing DHCP lease
-
So the issue is with two Windows 10 machines that are apparently not renewing their DHCP leases and are just letting them expire. They end up being completely offline when users find them the next day and the users have been rebooting them to get the network working again. Network drivers have been updated on both machines and they just reported the issue keeps happening. Both machines are connecting to the network, via the integrated switch of a Yealink t42s, not sure if this could be part of what is causing the issue but I thought it was worth mentioning. Phones are not having any issue at all and they are also set for DHCP.
This is what has been done so far:
-Power management set for max performance and machines done go to sleep.- Network drivers updated
- Chipset drivers updated
- Video drivers updated.
II will dig into the logs later today, so truly check if they are really just letting the leases expire since I originally thought it would be driver related. Any other idea what could be happening?
-
Your DHCP range isn't close to being full, is it?
-
@dafyre said in Windows 10 PC's not renewing DHCP lease:
Your DHCP range isn't close to being full, is it?
Man, I wouldn't think that would prevent a renewal.
-
Try updating the firmware on the phone as well.
But hopefully the logs will tell you something.
How long is your lease on DHCP?
-
@dafyre said in Windows 10 PC's not renewing DHCP lease:
Your DHCP range isn't close to being full, is it?
Its a remote office, with basically only 5 PC's, the phones and a couple of printers. The range has a lot of free ips still.
@Dashrender said in Windows 10 PC's not renewing DHCP lease:
Try updating the firmware on the phone as well.
But hopefully the logs will tell you something.
How long is your lease on DHCP?
Changed the lease to 24 hours, before todays morning report.
-
Have you already try running this command to reset winsock?
netsh winsock reset
-
@Dashrender said in Windows 10 PC's not renewing DHCP lease:
@dafyre said in Windows 10 PC's not renewing DHCP lease:
Your DHCP range isn't close to being full, is it?
Man, I wouldn't think that would prevent a renewal.
I wouldn't either, but I ran into that once or twice at my last job.
-
@Dashrender said in Windows 10 PC's not renewing DHCP lease:
@dafyre said in Windows 10 PC's not renewing DHCP lease:
Your DHCP range isn't close to being full, is it?
Man, I wouldn't think that would prevent a renewal.
It does. Depends on race conditions, but it definitely happens.
-
@scottalanmiller said in Windows 10 PC's not renewing DHCP lease:
@Dashrender said in Windows 10 PC's not renewing DHCP lease:
@dafyre said in Windows 10 PC's not renewing DHCP lease:
Your DHCP range isn't close to being full, is it?
Man, I wouldn't think that would prevent a renewal.
It does. Depends on race conditions, but it definitely happens.
I guess I need to re-read up on the DHCP process - I thought (at least with Windows) that the client machine did a check at the 50% timeframe and renewed then, thereby never actually reaching an expired state. But that was 20+ years ago when I read the MS docs on it... so I could have a faulty memory.
-
@Dashrender I do believe is still the same.
-
@Dashrender said in Windows 10 PC's not renewing DHCP lease:
@scottalanmiller said in Windows 10 PC's not renewing DHCP lease:
@Dashrender said in Windows 10 PC's not renewing DHCP lease:
@dafyre said in Windows 10 PC's not renewing DHCP lease:
Your DHCP range isn't close to being full, is it?
Man, I wouldn't think that would prevent a renewal.
It does. Depends on race conditions, but it definitely happens.
I guess I need to re-read up on the DHCP process - I thought (at least with Windows) that the client machine did a check at the 50% timeframe and renewed then, thereby never actually reaching an expired state. But that was 20+ years ago when I read the MS docs on it... so I could have a faulty memory.
It does, but machines powering on and off and such can disrupt that process.
-
@scottalanmiller said in Windows 10 PC's not renewing DHCP lease:
@Dashrender said in Windows 10 PC's not renewing DHCP lease:
@scottalanmiller said in Windows 10 PC's not renewing DHCP lease:
@Dashrender said in Windows 10 PC's not renewing DHCP lease:
@dafyre said in Windows 10 PC's not renewing DHCP lease:
Your DHCP range isn't close to being full, is it?
Man, I wouldn't think that would prevent a renewal.
It does. Depends on race conditions, but it definitely happens.
I guess I need to re-read up on the DHCP process - I thought (at least with Windows) that the client machine did a check at the 50% timeframe and renewed then, thereby never actually reaching an expired state. But that was 20+ years ago when I read the MS docs on it... so I could have a faulty memory.
It does, but machines powering on and off and such can disrupt that process.
uh, what? Sure, now if a machine is off, and the half way point, or the full expire time hits, sure, when the machine comes back online - it has to basically start over...
The OP says the machine is loosing it's IP what appears to be overnight. OK, so let's assume the lease expired while the computers were in powersaver mode, or simply off. I would expect them to be turned on and simply go through a DHCP request - but the OP says a reboot it required to get back on the network. so something isn't working from the client side.
So the NIC has been updated and that didn't solve it.
Any chance the switch could be the culprit? Are there updates available for the switch?