Pcornel
Windows · DHCP Server

Exclusions

Cheat sheet · https://pcornel.dk/topic.php?topic=3304

Back to the Topic

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 state
  • Get-DhcpServerv4ScopeStatistics — use per scope
  • Get-DhcpServerv4Lease -ScopeId <id> — leases
  • Get-DhcpServerInDC — authorised DHCP servers
  • Get-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

BoundaryMeaningEvidence limit
ExcludedServer will not dynamically allocate addressNo ownership protection
Static useAddress may be configured manuallyDHCP does not validate it
Pool impactReduces dynamic capacityCan 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

Confirmation

Confirm action

Continue?