Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

On a Windows Server DHCP service, enable conflict detection with an elevated PowerShell session:

Set-DhcpServerSetting -ConflictDetectionAttempts 1

Verify the server-wide setting:

Get-DhcpServerSetting | Select-Object ConflictDetectionAttempts

A value of 1 makes one pre-lease check for an IPv4 address. Windows Server accepts values from 0 through 5; 0 is the default and disables the feature. The setting applies to the DHCP server generally, not to an individual scope.

What DHCP conflict detection does

Before leasing an IPv4 address, Windows DHCP can test whether the candidate address appears to be in use. If the check indicates that the address responds, DHCP should avoid offering it and record an event. Microsoft documents this behavior through EVENT_SERVER_PING_FAILED (event ID 1029), which indicates that the DHCP service could not successfully ping a new IP address.

This is a preventive, pre-lease check—not continuous conflict monitoring. It does not scan every address in a scope, repair an existing duplicate, or stop a second DHCP server from issuing leases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
TP-Link AC1200 Gigabit Dual Band WiFi Router (Archer A6)
  • Dual band router upgrades to 1200 Mbps high speed internet (300mbps for 2.4GHz plus 900Mbps for 5GHz), reducing buffering and ideal for 4K stream
  • Full Gigabit Ports - Gigabit Router with 4 Gigabit LAN ports, ideal for any internet plan and allow you to directly connect your wired devices
  • Boosted Coverage - Four external antennas equipped with Beamforming technology extend and concentrate the Wi-Fi signals
  • MU-MIMO technology - (5GHz band) allows high speeds for multiple devices simultaneously
  • Access Point Mode - Supports AP Mode to transform your wired connection into wireless network, an ideal wireless router for home

Requirements and scope

  • The Windows DHCP Server role must be installed.
  • Use an elevated PowerShell session and an account permitted to administer DHCP.
  • The DhcpServer PowerShell module must be available.
  • The documented setting concerns Windows DHCP IPv4 leasing. It is not an IPv6 duplicate-address-detection control.

ConflictDetectionAttempts is a server-level parameter. Changing it affects allocations from that Windows DHCP server, including all of its scopes; it is not a normal scope option.

Enable and verify it with PowerShell

1. Inspect the current value

Get-DhcpServerSetting

Get-DhcpServerSetting |
    Select-Object ConflictDetectionAttempts
Value Meaning
0 Conflict detection disabled (the documented default)
1 One detection attempt before leasing
2–5 That many detection attempts before leasing

Microsoft documents the command and accepted range in the Set-DhcpServerSetting reference.

2. Set a starting value

Set-DhcpServerSetting -ConflictDetectionAttempts 1

One attempt is a practical starting point for most networks and matches Microsoft’s documented example. It reduces the chance of assigning an address that is visibly in use without adding several checks to every allocation.

3. Confirm the effective value

Get-DhcpServerSetting |
    Select-Object ConflictDetectionAttempts

For a remote DHCP server, specify the server explicitly in both commands:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Set-DhcpServerSetting `
  -ComputerName "dhcpserver.example.com" `
  -ConflictDetectionAttempts 1

Get-DhcpServerSetting `
  -ComputerName "dhcpserver.example.com" |
  Select-Object ConflictDetectionAttempts

The cmdlet documentation does not state that a DHCP service restart is required. Confirm the value after changing it and test a subsequent lease rather than restarting solely on the assumption that one is necessary.

Rank #2
Sale
TP-Link ER605, Wired Gigabit VPN Router
  • 【Five Gigabit Ports】1 Gigabit WAN Port plus 2 Gigabit WAN/LAN Ports plus 2 Gigabit LAN Port. Up to 3 WAN ports optimize bandwidth usage through one device.
  • 【One USB WAN Port】Mobile broadband via 4G/3G modem is supported for WAN backup by connecting to the USB port. For complete list of compatible 4G/3G modems, please visit TP-Link website.
  • 【Abundant Security Features】Advanced firewall policies, DoS defense, IP/MAC/URL filtering, speed test and more security functions protect your network and data.
  • 【Highly Secure VPN】Supports up to 20× LAN-to-LAN IPsec, 16× OpenVPN, 16× L2TP, and 16× PPTP VPN connections.
  • Security - SPI Firewall, VPN Pass through, FTP/H.323/PPTP/SIP/IPsec ALG, DoS Defence, Ping of Death and Local Management. Standards and Protocols IEEE 802.3, 802.3u, 802.3ab, IEEE 802.3x, IEEE 802.1q

Use the DHCP console (version-dependent)

On releases that expose the setting in the MMC console:

  1. Open Server Manager > Tools > DHCP.
  2. Right-click the DHCP server and select Properties.
  3. Open the Advanced tab.
  4. Find Conflict detection attempts and enter a value from 1 to 5.
  5. Select Apply or OK, then confirm the result with PowerShell.

Microsoft documents access to the DHCP console in its DHCP installation and configuration guide. The exact tab and label can vary by supported Windows Server release, so PowerShell is the more consistent method.

Choosing the number of attempts

Why start with 1

One attempt provides a basic safeguard with the least allocation delay. It is not a guarantee that every duplicate will be found.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

When 2 through 5 may be reasonable

Consider a higher value when the network has recurring duplicate addresses, undocumented static devices, or frequently reused pools, and when slower lease allocation is acceptable. Each additional attempt can increase allocation latency. Microsoft documents the allowed range but does not prescribe a universal best value.

Check the event log

Open Event Viewer > Applications and Services Logs > Microsoft > Windows > DHCP-Server. Event ID 1029 (EVENT_SERVER_PING_FAILED) relates to the DHCP service being unable to ping a new address. Microsoft’s event reference is available at DHCP Server events.

Rank #3
TP-Link AC1200 WiFi Router Dual Band Wireless Internet Router (Archer A54)
  • Dual-band Wi-Fi with 5 GHz speeds up to 867 Mbps and 2.4 GHz speeds up to 300 Mbps, delivering 1200 Mbps of total bandwidth¹. Dual-band routers do not support 6 GHz. Performance varies by conditions, distance to devices, and obstacles such as walls.
  • Covers up to 1,000 sq. ft. with four external antennas for stable wireless connections and optimal coverage.
  • Supports IGMP Proxy/Snooping, Bridge and Tag VLAN to optimize IPTV streaming
  • Access Point Mode - Supports AP Mode to transform your wired connection into wireless network, an ideal wireless router for home
  • Advanced Security with WPA3 - The latest Wi-Fi security protocol, WPA3, brings new capabilities to improve cybersecurity in personal networks

You can also query recent events, although the channel name should be confirmed on the target release:

Get-WinEvent -LogName "Microsoft-Windows-DHCP Server Events/Admin" -MaxEvents 50

Why conflicts can remain

Silent or unreachable devices

A static-IP device may be powered off, asleep, intermittently connected, protected by an ICMP-blocking firewall, or separated by routing controls when DHCP performs its check. No response does not prove that an address is unused.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Existing static addresses, reservations, and exclusions

Conflict detection acts before a new lease. Audit manually configured addresses, DHCP reservations, exclusions, and overlapping pools when a collision already exists. Enabling the setting does not reclaim a conflicted lease or change a static configuration.

Another DHCP server

A rogue or duplicate DHCP server can issue an address, gateway, or DNS configuration independently of the legitimate server’s address check. In an Active Directory environment, list authorized Windows DHCP servers with:

Get-DhcpServerInDC

That command is covered in Microsoft’s DHCP deployment guidance. Also inspect switch protections, wireless infrastructure, and network-monitoring alerts for unauthorized DHCP responses.

Rank #4
Sale
TP-Link AX1800 WiFi 6 Router (Archer AX21 V5)
  • DUAL-BAND WIFI 6 ROUTER: Wi-Fi 6(802.11ax) technology achieves faster speeds, greater capacity and reduced network congestion compared to the previous gen. All WiFi routers require a separate modem. Dual-Band WiFi routers do not support the 6 GHz band.
  • AX1800: Enjoy smoother and more stable streaming, gaming, downloading with 1.8 Gbps total bandwidth (up to 1200 Mbps on 5 GHz and up to 574 Mbps on 2.4 GHz). Performance varies by conditions, distance to devices, and obstacles such as walls.
  • CONNECT MORE DEVICES: Wi-Fi 6 technology communicates more data to more devices simultaneously using revolutionary OFDMA technology
  • EXTENSIVE COVERAGE: Achieve the strong, reliable WiFi coverage with Archer AX1800 as it focuses signal strength to your devices far away using Beamforming technology, 4 high-gain antennas and an advanced front-end module (FEM) chipset
  • OUR CYBERSECURITY COMMITMENT: TP-Link is a signatory of the U.S. Cybersecurity and Infrastructure Security Agency’s (CISA) Secure-by-Design pledge. This device is designed, built, and maintained, with advanced security as a core requirement.

Relays and routed client networks

When DHCP clients are across a router or relay, validate server bindings, relay reachability, firewall rules, and the path between the server and client subnet. Microsoft’s DHCP server troubleshooting guidance covers these checks.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

DHCP failover partners

Failover shares scope information and lease state, but ConflictDetectionAttempts is a server-level setting. Check and configure both partners individually according to your operating procedure; do not assume changing one server changes its partner. See Microsoft’s DHCP failover documentation.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting commands and recovery

The cmdlet is not recognized

Check whether the module is present:

Get-Command -Module DhcpServer

If it is missing, install the DHCP role management tools appropriate to the Windows Server version and open a new PowerShell session. The DHCP deployment documentation identifies the management cmdlets.

Access is denied

Reopen PowerShell as administrator, use an account authorized to manage DHCP, and verify remoting and firewall policy for a remote target.

The value remains 0

Confirm that you targeted the intended server and that the command completed successfully:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
TP-Link Dual-Band AX3000 Wi-Fi 6 Wireless Gigabit Internet Router for Home
  • Next-Gen Gigabit Wi-Fi 6 Speeds: 2402 Mbps on 5 GHz and 574 Mbps on 2.4 GHz bands ensure smoother streaming and faster downloads; support VPN server and VPN client¹
  • A More Responsive Experience: Enjoy smooth gaming, video streaming, and live feeds simultaneously. OFDMA makes your Wi-Fi stronger by allowing multiple clients to share one band at the same time, cutting latency and jitter.²
  • Expanded Wi-Fi Coverage: 4 high-gain external antennas and Beamforming technology combine to extend strong, reliable, Wi-Fi throughout your home.
  • Improved Battery Life: Target Wake Time helps your devices to communicate efficiently while consuming less power.
  • Improved Cooling Design: No heat ups, no throttles. A larger heat sink and redefined case design cools the WiFi 6 system and enables your network to stay at top speeds in more versatile environments.
Get-DhcpServerSetting -ComputerName "dhcpserver.example.com" |
    Format-List *

A management baseline or other configuration process may also have overwritten the value.

Clients still receive duplicate addresses

  1. Confirm the conflict is IPv4; this setting does not cover IPv6.
  2. Determine whether the conflicting device can answer the server’s probe.
  3. Audit static addresses, reservations, exclusions, and overlapping scopes.
  4. Look for an unauthorized or second DHCP server.
  5. Verify relay reachability and firewall conditions.
  6. Review DHCP events and collect simultaneous client/server traces for difficult cases, following Microsoft’s DHCP client troubleshooting guidance.

Allocation becomes too slow

Reduce repeated checks to one while investigating the underlying address-management issue:

Set-DhcpServerSetting -ConflictDetectionAttempts 1

More attempts provide more opportunities to detect a responding device, but they can delay assignment and still cannot detect silent or unreachable hosts.

What this setting does not replace

  • Accurate IP address management and documented static assignments.
  • Correct reservations, exclusions, and non-overlapping scopes.
  • Rogue-DHCP detection and switch or wireless-network controls.
  • DHCP failover, which improves service availability but is not conflict detection.
  • IPv6 duplicate-address mechanisms.

Frequently Asked Questions

Does conflict detection apply to only one DHCP scope?

No. ConflictDetectionAttempts is a server-level Windows DHCP setting, so changing it affects address allocation across that server’s scopes.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Does this setting detect IPv6 duplicates?

No. Microsoft documents this setting for IPv4 DHCP leasing. IPv6 uses different address-configuration and duplicate-address-detection mechanisms.

Will enabling it fix an existing duplicate IP address?

No. It checks candidate addresses before new leases; it does not repair static-address collisions, incorrect reservations, or leases already in conflict.

What should I do if duplicate addresses continue?

Check for silent devices, static addresses, reservation or exclusion errors, relay and firewall problems, and unauthorized DHCP servers. Review DHCP events and capture client/server traces when necessary.

Quick Recap

Bestseller No. 1
TP-Link AC1200 Gigabit Dual Band WiFi Router (Archer A6)
TP-Link AC1200 Gigabit Dual Band WiFi Router (Archer A6)
MU-MIMO technology - (5GHz band) allows high speeds for multiple devices simultaneously
$44.99
SaleBestseller No. 2
Bestseller No. 3
TP-Link AC1200 WiFi Router Dual Band Wireless Internet Router (Archer A54)
TP-Link AC1200 WiFi Router Dual Band Wireless Internet Router (Archer A54)
Supports IGMP Proxy/Snooping, Bridge and Tag VLAN to optimize IPTV streaming
$34.99
SaleBestseller No. 4
TP-Link AX1800 WiFi 6 Router (Archer AX21 V5)
TP-Link AX1800 WiFi 6 Router (Archer AX21 V5)
VPN SERVER: Archer AX21 Supports both Open VPN Server and PPTP VPN Server
$59.98

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.