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

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

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

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.
  7. Use a VPN tool with static IP address provided

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>]

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.

Use a VPN tool with static IP address provided

Using a VPN tool with static IP address can help you in this situation. There are many of them on the market, but we recommend CyberGhost VPN, a leader in this industry. This tool has over 3000 servers all around the world and encrypts your data transfer. It will also secure your Wi-Fi while being connected to the internet through it. You can get it at a discounted price from the link below.

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.


Next up

5 automated receptionist software for increased productivity

Madhuparna Sukul avatar. By: Madhuparna Sukul
Less than a 1 minute read

The reception desk is the face and voice of any organization. An automated receptionist software simplifies the entire process of visitor management. Whether it’s the customer, […]

Continue Reading

Top 4 software to recover lost email account passwords

Tashreef Shareef avatar. By: Tashreef Shareef
Less than a 1 minute read

Whether you use web-based email services or desktop email clients to manage your account, emails are used for business and personal communication by almost everyone. […]

Continue Reading

Here is what to do when Google Docs won’t print

John Waibochi avatar. By: John Waibochi
6 minute read

While Google Docs remains a super powerful real-time document authoring and collaboration software, it on occasion has issues. For instance, the complain that Google docs won’t […]

Continue Reading