Use it for systematic Windows DHCP diagnosis instead of repeatedly releasing/renewing clients or editing scopes without evidence.
DHCP Server Troubleshooting
DHCP Server troubleshooting follows a client's request: does it reach the server (directly or via a relay), is the server authorised and running, does the right scope have free addresses, and are reservations, options and failover configured correctly.
1. Client 169.254 or wrong address?
2. Server events and audit log (C:\Windows\System32\dhcp\DhcpSrvLog-*.log).
3. Relay/giaddr, scope state, exhaustion.
4. Authorisation and bindings.
5. Failover state.
client → relay → server → scope → lease
Investigate only the first failed boundary, then retest the full transaction.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show root cause until that dependency is independently verified.
Next check: Investigate only the first failing step, then retest the full transaction.
Operational reference
Fast context before you go deeper.
Get-DhcpServerv4ScopePrimary Commands
Configuration and operational commands for this Topic.
Get-DhcpServerv4ScopeVerifyRead current DHCP Server state for a bounded verification step.
Use when: Use after confirming the DHCP Server target and before changing state.
Quick note: Windows / Windows Server / PowerShell. A running Windows service or successful cmdlet does not prove effective policy, replication, authorization or remote consumer success.
Windows / Windows Server / PowerShell · mixedGet-DhcpServerv4Lease -ScopeId <scope-id>ReferenceRead-only observation for lease address, client identity, state and expiry.
Use when: Use when troubleshooting the linked operational Windows boundary.
Quick note: Command ownership closure. Output remains live/runtime evidence and is never pre-populated as captured production state.
Windows / PowerShell · data planeGet-DhcpServerv4FailoverVerifyRead-only observation for failover relationship state and partner configuration.
Use when: Use when troubleshooting the linked operational Windows boundary.
Quick note: Command ownership closure. Output remains live/runtime evidence and is never pre-populated as captured production state.
Windows / PowerShell · control planeVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
symptom → client transaction → relay/path → DHCP server state → scope/pool/policy → lease/options → client apply → dependency tests
Step 2 Known-good, broken and when it is fixed Verify boundary
Known-good means the intended scope is active with usable addresses, the server is authorized where required, failover/partner state is appropriate, and the affected client completes Discover/Offer/Request/Ack (or renewal) to receive the expected IP, mask, gateway, DNS options and lease duration. Broken evidence is request-without-offer, exhausted scope, wrong policy/relay selection or failover error. Read back the server lease and client configuration, then perform the original network/service test. A lease alone does not show DNS, routing or application reachability.
Step 3 Native failure isolation and next-check logic Narrow the fault
If a client gets no lease, capture whether Discover/Request reaches the server and whether an Offer/Ack leaves it. If no request arrives, stay on VLAN/relay/firewall path. If request arrives but no offer is generated, inspect server authorization, scope active state, free addresses, policies/reservations and event logs. If an offer exists but the client never configures it, inspect return path/client state and conflicting address detection. For failover, inspect relationship state and partner communication before manually activating ownership. Avoid deleting leases or changing scope ranges until the allocation reason is known.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- No address can mean no request path, unauthorized service, no matching active scope, exhausted pool or policy/reservation mismatch.
- A lease can be correct while options are wrong.
- Correct server lease/options can still fail at client apply or downstream DNS/gateway.
- Failover adds partner state and synchronization boundaries but does not remove relay/network dependencies.
Get-DhcpServerv4Scope— scopes and stateGet-DhcpServerv4ScopeStatistics— use per scopeGet-DhcpServerv4Lease -ScopeId <id>— leasesGet-DhcpServerInDC— authorised DHCP serversGet-WinEvent -LogName Microsoft-Windows-DHCP-Server/Operational -MaxEvents 30— server events
ReferenceHow it works1 section · depth on demand
How it works
Windows DHCP Server lease delivery spans server authorization/service state, scope activation and free address pool, exclusions/reservations/options, client broadcast/relay path, failover relationship and the lease database. A running DHCP service can still be unauthorized or have no usable addresses. Relay/IP helper changes can send requests to the wrong server/scope. Failover introduces ownership and replication state that can affect lease allocation. Record client MAC/client identifier, VLAN/subnet, relay address, server, scope and transaction phase before deleting leases or recreating scopes.
ReferenceImportant terms & boundaries3 sections · depth on demand
What the evidence shows
DHCP server reachable ≠ DHCP transaction works; DHCP ACK ≠ usable network configuration.
Preserve packet/event/lease evidence before changing scopes or forcing client renewals.
In depth
Follow DORA across client, relay and server
| Step | Message | Where it can fail |
|---|---|---|
| Discover | Client broadcast | Never leaves the VLAN without a relay (IP helper) |
| Offer | Server → client (via relay) | No free address, server not authorised, scope inactive |
| Request | Client broadcast | Another server answered first (rogue) |
| Ack / Nak | Server | Nak when the client asks for an address outside the scope (moved subnet) |
Microsoft's DHCP troubleshooting guidance covers lease availability, BAD_ADDRESS entries, excluding static addresses, relay agents (IP helpers) reachable from the server, server authorisation, and the DHCP Server audit events.
Server-side checks
PS C:\> Get-DhcpServerv4ScopeStatistics | Select ScopeId, Free, InUse, PercentageInUse, Reserved
ScopeId Free InUse PercentageInUse Reserved
------- ---- ----- --------------- --------
10.0.10.0 3 247 98.8 6
PS C:\> Get-DhcpServerv4Lease -ScopeId 10.0.10.0 | Where AddressState -like '*Declined*'
PS C:\> Get-DhcpServerInDC
PS C:\> Get-Content C:\Windows\System32\dhcp\DhcpSrvLog-Fri.log -Tail 30
| Audit log ID | Meaning |
|---|---|
| 10 / 11 | New lease / renewal |
| 13 | Address in use on the network (conflict) → BAD_ADDRESS |
| 14 | Scope exhausted |
| 15 | Lease denied |
| 31 / 32 | DNS update failed / succeeded |
Client side
ipconfig /release && ipconfig /renew
Get-WinEvent -LogName 'Microsoft-Windows-Dhcp-Client/Admin' -MaxEvents 20
An APIPA address (169.254.x.x) means no offer arrived.
Frequent causes
| Cause | Fix |
|---|---|
| Scope full | Shorter lease for guest/Wi-Fi scopes, larger scope, remove stale reservations |
Missing ip helper-address on a new VLAN | Configure relay on the gateway, pointing to both DHCP servers |
| Relay address not in a scope | Server picks scope by the relay's GIADDR — scope must match the VLAN subnet |
| Server not authorised in AD | Add-DhcpServerInDC |
| Failover partner out of sync | Get-DhcpServerv4Failover; state should be Normal |
| Rogue DHCP server | DHCP snooping on switches; capture shows a different server identifier |
*The DHCP scope utilization figures are illustrative and do not describe an observed lease pool.*
Method
DHCP server troubleshooting starts by confirming whether clients reach the server and whether the server can lease from the right scope.
1. Client: does it get an APIPA (169.254.x.x) address? ipconfig /all, renew.
2. Path: is a DHCP relay (ip helper-address) configured for the client VLAN?
3. Server: service running, authorised in AD, scope active, addresses available.
4. Logs: DHCP audit logs and event log.
Get-DhcpServerInDC
Get-DhcpServerv4Scope | Select-Object ScopeId, State, StartRange, EndRange
Get-DhcpServerv4ScopeStatistics | Select-Object ScopeId, Free, InUse, PercentageInUse
Get-DhcpServerv4Lease -ScopeId 10.20.4.0 | Where-Object HostName -like 'sw*'
Get-Content C:\Windows\System32\dhcp\DhcpSrvLog-Fri.log -Tail 30
Full scopes, unauthorised servers, wrong relay addresses and failover partner problems (Get-DhcpServerv4Failover) account for most failures.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in DHCP Server → DHCP Server Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/networking/technologies/dhcp/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
DHCP Server → DHCP Server Troubleshooting reference map
Fast lookup boundaries for DHCP Server → DHCP Server Troubleshooting.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| No DISCOVER at server | Path/relay boundary candidate | Not server scope proof |
| No OFFER | Server eligibility/scope/pool/policy candidate | Need server events/state |
| ACK | Server completed lease decision | No client apply proof |
| Correct client config | DHCP path healthy | Network dependencies still separate |