---
# source: blog-content: posts/en/how-to-fix-fix-static-windows-network-settings-reset-after-reboot.md
# route:  /en/insights/how-to-fix-fix-static-windows-network-settings-reset-after-reboot/
title: Fix Static Windows Network Settings Reset After Reboot
date: 2026-06-01
author: valentina-cicmak
locale: en
summary: If you ended up on this blog, you are probably dealing with the issue that your network settings keep getting lost after a reboot.
capabilities: [network]
series: how-to
hero: /blog-assets/how-to-fix-fix-static-windows-network-settings-reset-after-reboot/hero.webp
legacySlug: how-to-fix-fix-static-windows-network-settings-reset-after-reboot
migrated: 2026-08-24
draft: false
---

If you ended up on this blog, you are probably dealing with the issue that your network settings keep getting lost after a reboot. This is especially annoying when the IP address, gateway, or DNS server should actually be configured statically, but are missing or overwritten again after restarting.

You can work around this issue by setting the network configuration directly via CMD using netsh. This stores the values directly for the network interface and helps keep them in place even after a reboot.

![](/blog-assets/how-to-fix-fix-static-windows-network-settings-reset-after-reboot/01.webp)

### Solution

If network settings in Windows keep getting reset after a reboot, the IP address, gateway, or DNS server can be set manually via Command Prompt.

To do this, open CMD as administrator and configure the network settings using netsh.

![](/blog-assets/how-to-fix-fix-static-windows-network-settings-reset-after-reboot/02.webp)

A static IPv4 address including subnet mask, gateway and DNS can be set like this:

```powershell
netsh interface ipv4 set address name="INTERFACE_NAME" static IP_ADDRESS SUBNET_MASK GATEWAY

netsh interface ipv4 set dnsservers name="INTERFACE_NAME" static DNS_SERVER primary

netsh interface ipv4 add dnsservers name="INTERFACE_NAME" address=SECONDARY_DNS_SERVER index=2
```

INTERFACE\_NAME, IP\_ADDRESS, SUBNET\_MASK, GATEWAY, and DNS\_SERVER must be replaced with the correct values for your Windows environment. After that, the network settings should remain in place even after a reboot. Below you can find an example configuration.

```powershell
netsh interface ipv4 set address name="Ethernet0" static 192.168.1.50 255.255.255.0 192.168.1.1

netsh interface ipv4 set dnsservers name="Ethernet0" static 192.168.1.10 primary

netsh interface ipv4 add dnsservers name="Ethernet0" address=192.168.1.11 index=2
```

## Next Steps

If you've read this far then chances are you are still having issues. [Feel free to reach out to us](https://soultec.ch/contact-us/). We're happy to help out!
