Windows · DHCP Server
Exclusions
Cheat sheet · https://pcornel.dk/topic.php?topic=3304
Answer
DHCP exclusions mark addresses inside a scope range that the Windows DHCP server must not dynamically lease.
Remember
- Exclusion ≠ reservation.
- Excluded address is withheld from dynamic allocation; Windows DHCP does not thereby configure or validate the device using it.
- An exclusion does not prevent another device from manually using the address.
- Overlapping/wrong exclusions can create artificial scope exhaustion.
First checks
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
Verify in this order
exclusion removes addresses from the pool
Where it usually breaks
First mismatch in host/interface identity → local config/routing/name state → Windows service/provider → firewall/security/session → remote service → application-visible exchange; preserve identity/native error/pre-state before mutation.
DHCP Server → Exclusions reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Excluded | Server will not dynamically allocate address | No ownership protection |
| Static use | Address may be configured manually | DHCP does not validate it |
| Pool impact | Reduces dynamic capacity | Can cause depletion if mis-sized |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3304