Fix: Unable to Change Static IP Address and DNS Server in Windows 10

By: Ivan Jenic
3 minute read
FIX: Unable to change static IP address and DNS server

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).


Table of Contents

  1. IP address reported issues
  2. How to Configure Your IP Adress
  3. How to set a static IP address
  4. How to reset IP address windows 10 from cmd
  5. How to Change DNS Server
  6. Additional solutions.

change IP address from Powershell

IP address reported issues

You probably know already what is IP address and how vital it is to get one for your PC. Also, you might be aware that Windows 10 could sometimes be very bug-prone. Many users have reported issues regarding IP address as the following:

  • unable to set static IP in windows 10
  • windows 10 static IP not working
  • windows 10 not keeping static IP address

This time, one user complained that an unexpected error occurs when he wants to open Network Connection properties on an Ethernet or WLAN network in order to change a static IP address or change DNS Server.

One of Microsoft Support Engineers said that Microsoft is aware of that problem, but the specific solution still isn’t available in yet. Microsoft will try to fix this in future builds, but in the meantime, you could try some alternative methods for fixing this issue.

How to Configure Your IP Adress

  1. Go to Search and type cmd
  2. Open an Elevated (Administrative) Command Prompt
  3. Enter the following line and press Enter: Ipconfig

How to set a static IP address

You can manually change your IP Address with New-NetIPAddress cmdlet in PowerShell. In order to change your static IP adreess, open PowerShell and apply the following command:

New-NetIPAddress [-IPAddress] <String> -InterfaceAlias <String> [-AddressFamily <AddressFamily> ] [-AsJob] [-CimSession <CimSession[]> ] [-DefaultGateway <String> ] [-PolicyStore <String> ] [-PreferredLifetime <TimeSpan> ] [-PrefixLength <Byte> ] [-SkipAsSource <Boolean> ] [-ThrottleLimit <Int32> ] [-Type <Type> ] [-ValidLifetime <TimeSpan> ] [-Confirm] [-WhatIf] [ <CommonParameters>]


For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

As you can see New-NetIPAddress has a lot of parameters, and here’s an explanation for some of them:

  • AdressFamily – Specifies an IP Adress family, acceptable values for this string are: —IPv4 and — IPv6
  • CimSession – Runs the cmdlet on the remote computer
  • DefaultGateway – Specifies the Default Gateway of IPv4 or IPv6 address

If you don’t understand something, or you want to check the meaning of other parameters, here’s a complete documentation of New-NetIPAddress cmdlet.

How to reset IP address windows 10 from cmd

  1. Press the Windows key and type cmd
  2. Select Command Prompt and enter “ipconfig/release”
  3. Press [Enter] to release your computer’s current IP Address.
    Ethernet adapter section will now be void of numerical values.
  4. Enter “ipconfig/renew” then press [Enter]
    This will reset your computer’s IP Address and request a new IP Address from a DHCP server such as a router.

How to Change DNS Server

To change your DNS Server information, enter the following command in Powershell:

Set-DnsClientServerAddress [-InterfaceAlias] <String[]> [-AsJob] [-CimSession <CimSession[]> ] [-PassThru] [-ResetServerAddresses] [-ServerAddresses <String[]> ] [-ThrottleLimit <Int32> ] [-Validate] [-Confirm] [-WhatIf] [ <CommonParameters>]

Here’s a complete documentation of Set-DnsClientServerAddress.

Additional solutions

Check out these full dedicated guides with solutions for changing IP address and DNS server issues:

If you’re still having issues on your PC or you simply want to avoid them for the future, we strongly recommend you to download this tool (100% safe and tested by us) to fix various PC problems, such as file loss, malware, and hardware failure.

That would be all, we hope that Microsoft will fix the issue with Network connection properties in the future until then these workarounds should work fine.

Editor’s Note: This post was originally published in April 2015 and has been since revamped and updated for freshness, accuracy, and comprehensiveness.

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Next up

Best Windows 10 antivirus software to use in 2018

By: Radu Tyrsina
7 minute read

Update – 2018 will soon come to an end and we already have a guide on what is the best antivirus you should get in […]

Continue Reading

These features are out for good with Windows 10 version 1809

iamsovy@gmail.com' By: Sovan Mandal
2 minute read

Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]

Continue Reading

Windows 10 18H2 builds no longer receive new features

By: Matthew Adams
3 minute read

The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]

Continue Reading

Discussions