Skip to content
PCFixWorkbench

Network · Windows 11

Fix a PC that will not keep a static IP address (it resets to automatic)

Written December 1, 2026

Your printer, server, or remote connection needs this PC on the same address every day, but it keeps switching back to automatic. Set the static address on the right adapter, remove what is resetting it, and consider letting the router hold the address instead.

What you need

Read the problem before you touch it

  1. A reset has a cause — it is rarely random. A static setting usually disappears after something rewrote the adapter: a Windows Update or driver update, a network reset, or third-party VPN or security software applying its own profile. If it vanished right after one of those, redoing the setting once may be all it takes.
  2. Check which adapter you actually use. Wi-Fi and Ethernet hold separate IP settings. Setting a static address on Ethernet while the PC connects over Wi-Fi looks exactly like a reset: the connection you use still shows automatic, because it was never changed. Confirm which adapter shows as connected before editing anything.
  3. Recognize a 169.254 address. An address starting with 169.254 came from neither your router nor your static setting. It is a self-assigned fallback Windows uses when it cannot obtain an address normally — a sign the setting failed or clashed, not a working address other devices can reach. Microsoft's general troubleshooting is at Fix Wi-Fi connection issues in Windows, for cases where the PC will not connect at all.
  4. Consider a conflict. If another device already holds your chosen address, Windows can detect the clash and fall back to automatic rather than fight over it. A reset on every restart, with no update or new software in between, points this way — the fix is a different, genuinely free address.

The simple fixes, in order

  1. Note the working details first. Open Settings > Network & internet, open the adapter you actually connect with — Wi-Fi or Ethernet — and write down the address, subnet mask, gateway, and DNS it is using automatically. A static setup copies three of them exactly and changes only the address.
  2. Set the static address in Settings. On that same adapter page, find IP assignment and choose Edit. Switch to Manual, turn on IPv4, and enter your chosen address, the subnet mask and gateway you wrote down, and the same DNS servers — the gateway address itself works as the first DNS entry on most home networks. Choose Save. The connection reconnects on the new address.
  3. Verify it, then restart and verify again. Confirm the adapter page shows your address with IP assignment still on Manual, and open a couple of websites. Then restart the PC and check the same page. If the address survived, the setting is sound and any future reset will come from an outside event. If it is already back to automatic, work through the snags below before setting it a third time.
  4. Prefer a router reservation if it keeps resetting. A DHCP reservation tells the router to always give this PC the same address while the PC stays on automatic. The fixed address is the same, but the setting lives on the router, where Windows updates, driver changes, and network resets cannot touch it — often the better arrangement. Sign in to the router, find its DHCP or LAN settings, reserve an address for this PC's adapter, and set the PC back to automatic so the two methods do not compete.

The advanced route

  1. Remove VPN and security software from the picture, temporarily. VPN clients and some security suites manage adapters directly and can restore their own profile — automatic addressing included — at every sign-in. Disconnect or uninstall the software, set your static address, and restart. If it now holds, reinstall the software and check it for a network profile option; if the resets return with it, the router reservation sidesteps the fight entirely.
  2. Reinstall the network adapter driver. A damaged driver can fail to save adapter settings. Open Device Manager, expand Network adapters, right-click your adapter, and choose Uninstall device. Restart and Windows reinstalls the driver fresh; then set the static address again. Microsoft covers driver work in Update drivers through Device Manager in Windows. Download the driver from the PC maker first if this machine is your only way online.
  3. Redo the setup once after a network reset. A network reset reinstalls all adapters and returns their settings to defaults by design — a static address set before it is supposed to be gone. If the reset was recent, set the address once more and restart. If it holds, nothing is broken; the reset was the whole story.

End state

When it goes wrong

Related fixes

Sources