Skip to content
TECHNOARTH IT for offices and small businesses.
Networking

Windows has detected an IP address conflict: how to fix it

Seeing the IP address conflict warning on an office PC? Here's how to find the device using the same IP, put Windows back on automatic and organize the network so the warning doesn't come back.

Windows has detected an IP address conflict: how to fix it

The warning “Windows has detected an IP address conflict” means two devices on the same network are using the same address. While that lasts, one of them is left without a connection or with an intermittent one: the computer can’t open the shared folder, the printer drops off the list or the company system cuts out in the middle of the working day.

Windows warning: Windows has detected an IP address conflict, another device is using the same IP
Two devices with the same IP (1): one of them loses the network until the conflict is fixed.

In a small office the cause is rarely a fault: it’s usually an old fixed IP on a printer or PC, or a second router handing out addresses. Below is the order that fixes it and keeps the warning from coming back.

In this article
  1. How it works (in 30 seconds)
  2. Step 1: get the computer working right now
  3. Step 2: find out which device has the same IP
  4. Step 3: switch the computer back to automatic IP
  5. Step 4: fixed IPs done right, with a reservation on the router
    1. Watch out for phones and “random MAC” addresses
  6. Step 5: only one device should hand out IPs
  7. Which fix to choose
  8. Frequently asked questions

How it works (in 30 seconds)

The office router runs a service called DHCP, which hands a free address to every device that joins the network. A conflict appears when a device doesn’t ask the router for an address (it has a fixed IP) and picked a number the router also considers free, or when two DHCP servers are handing out addresses at the same time without knowing about each other.

Before taking an address, Windows asks the network whether anyone already answers for it; if someone does, it declines the number and logs the problem (event 4199 documentation on Microsoft Learn). That helps with the investigation, as you’ll see in Step 2.

Step 1: get the computer working right now

To put the person back to work before you investigate, ask the router for a new address. Right-click the Start button, open Terminal (Admin) or a Command Prompt as administrator and run:

Command
ipconfig /release
ipconfig /renew
Command Prompt with ipconfig /release and ipconfig /renew highlighted
Release the IP (1) and request a new one from the router (2).

If the computer is set to automatic IP, it gets a different number and starts working again. If nothing changes, or you get an error when renewing, the PC probably has a fixed IP, which takes you to Step 3.

Step 2: find out which device has the same IP

Fixing only the computer that complained isn’t enough: the other device is still there and the conflict will return. There are three ways to find it:

  • Event Viewer: under Windows Logs › System, use Filter Current Log with ID 4199 (source Tcpip). The event description includes the hardware (MAC) address of the device that answered for the same IP.
  • The arp command: run arp -a in Command Prompt and look for the conflicting IP. Next to it is the Physical Address, which is the other device’s MAC.
  • The router’s admin page: the list of connected clients (the name varies by manufacturer: “DHCP clients”, “Connected devices” and so on) matches MAC, IP and sometimes the device name.

The first half of a MAC address identifies the network card’s manufacturer, which often reveals straight away whether the “intruder” is the printer, a camera or a visitor’s laptop.

Step 3: switch the computer back to automatic IP

A PC with an old fixed IP is the most common case. In Windows 11, the route described on Microsoft’s Essential network settings and tasks in Windows page is:

  1. Open Settings › Network & internet.
  2. Network cable: select Ethernet and the connected network. Wi-Fi: select Wi-Fi › Manage known networks and choose the office network.
  3. Next to IP assignment, select Edit.
Ethernet page in Windows 11 Settings with IP assignment set to Manual and the Edit button highlighted
Manual under IP assignment (1) means a fixed IP typed into the PC: click Edit to check it or switch back to automatic.
  1. In Edit IP settings, choose Automatic (DHCP) and select Save.
Windows 11 Edit IP settings window with Automatic (DHCP) selected and the Save button highlighted
Pick Automatic (DHCP) in the list (1) and click Save (2): the router then hands out the IP and DNS to the computer.

With Automatic (DHCP), the router sets the IP and the DNS server too. Before switching, write down the numbers that were in Manual mode (IP address, Subnet mask, Gateway, Preferred DNS): if some older system depends on that IP, you’ll need it to create the reservation in Step 4.

Step 4: fixed IPs done right, with a reservation on the router

Printers, NAS units, cameras and the server need an address that doesn’t change, because the computers point to it. The safe way is a DHCP reservation (some routers call it “address binding” or “static IP by MAC”):

  1. On the router’s admin page, find the DHCP section and the address reservation option.
  2. Link the device’s MAC to the IP you want and save.
  3. On the device itself (printer, camera), leave the network setting on automatic/DHCP.

That way the router never gives that number to any other equipment. If the device insists on an IP typed into it directly, use a number outside the DHCP range (for example, if the router hands out .100 to .199, use something like .20) and record it in the spreadsheet.

After changing a printer’s IP, check that the computers can still print: the printer’s port in Windows may still point to the old number. The steps are in how to set up a network printer in Windows 11.

Watch out for phones and “random MAC” addresses

For privacy, modern phones and laptops use a different MAC for each Wi-Fi network. This doesn’t cause conflicts, but it can make a MAC-based reservation useless. If one of these devices needs a reservation:

  • iPhone (iOS 18 or later): Settings › Wi-Fi, tap the More Info button next to the network, then Private Wi-Fi Address, and choose Off or Fixed, as described on Apple’s page about private Wi-Fi addresses. The Rotating option changes the address every two weeks.
  • Android 10 or later: by default the device uses a randomized MAC address, shown in the network details (under Settings › Network & internet › Internet, according to Android Help). The name and location of the option to use the device’s own MAC vary by manufacturer (Samsung, Motorola and so on).
  • Windows 11: in Wi-Fi › Manage known networks, choose the network and look for the Random hardware addresses option.

For visitors’ phones the answer is different: they shouldn’t be on the computers’ network at all. A guest Wi-Fi network isolates those devices and keeps them out of the competition for addresses with printers and PCs.

Step 5: only one device should hand out IPs

A second router set up as a repeater or access point with DHCP still on creates two address ranges on the same network. The result is occasional conflicts, dropouts and computers that “sometimes” can’t find the printer. Turn off DHCP on the secondary device; see how to set up a router as a repeater.

To confirm who gave a PC its address, run ipconfig /all and look at the DHCP Server line: if different computers show different servers, two devices are handing out IPs.

Which fix to choose

SituationWhat to do
The warning appeared once, on a PC set to automaticipconfig /release and /renew (Step 1)
The PC shows Manual under IP assignmentSwitch back to Automatic (DHCP) (Step 3)
Conflict always with the same fixed deviceReservation on the router or an IP outside the range (Step 4)
Random conflicts since another router was installedTurn off DHCP on the second device (Step 5)

Frequently asked questions

The conflict shows up every morning when the printer is switched on.

The printer has a fixed IP inside the DHCP range, and overnight the router gave that number to another device. Create a reservation for it (Step 4) or move its IP outside the range.

Can I turn off Windows’ duplicate IP detection to make the warning go away?

It’s not recommended. Microsoft documents that setting only for well-managed environments, because the conflict is still there, just without a warning, and the connection keeps failing.

Share

About the author

TECHNOARTH Editorial Team

The TECHNOARTH newsroom: technology tutorials, guides, comparisons and news produced with AI assistance and checked against manufacturers’ official sources.

Reviewed by Arth Moraes — Arth Moraes is the editorial pen name of the person responsible for TECHNOARTH, who sets the agenda, reviews and approves every tutorial before publication and is accountable for corrections.