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.

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
- How it works (in 30 seconds)
- Step 1: get the computer working right now
- Step 2: find out which device has the same IP
- Step 3: switch the computer back to automatic IP
- Step 4: fixed IPs done right, with a reservation on the router
- Step 5: only one device should hand out IPs
- Which fix to choose
- 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:
ipconfig /release
ipconfig /renew

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 -ain 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:
- Open Settings › Network & internet.
- Network cable: select Ethernet and the connected network. Wi-Fi: select Wi-Fi › Manage known networks and choose the office network.
- Next to IP assignment, select Edit.

- In Edit IP settings, choose Automatic (DHCP) and select Save.

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”):
- On the router’s admin page, find the DHCP section and the address reservation option.
- Link the device’s MAC to the IP you want and save.
- 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
| Situation | What to do |
|---|---|
| The warning appeared once, on a PC set to automatic | ipconfig /release and /renew (Step 1) |
| The PC shows Manual under IP assignment | Switch back to Automatic (DHCP) (Step 3) |
| Conflict always with the same fixed device | Reservation on the router or an IP outside the range (Step 4) |
| Random conflicts since another router was installed | Turn 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.