Computer >> Computer tutorials >  >> Troubleshooting >> Windows Errors

How to Change IP address in Windows 10

How to Change IP address in Windows 10

How to Change IP address in Windows 10: IP address is the unique numerical label each device possesses on any particular computer network. This address is used to send and receive messages between the devices on a network.

The dynamic IP address is provided by the DHCP server (your router). A device’s dynamic IP address changes every time it connects to the network. The static IP address, on the other hand, is provided by your ISP and remains the same until it manually changes by the ISP or the administrator. Having dynamic IP addresses reduces the risk of being hacked than having static IP addresses.

How to Change IP address in Windows 10

On a local network, you might want to have resource sharing or port forwarding. Now, both of these require a static IP address to work. However, the IP address assigned by your router is dynamic in nature and will change every time you restart the device. In such a situation, you will need to manually configure a static IP address for your devices. There are many ways to do it. Let’s check them out.

How to Change IP address in Windows 10

Make sure to create a restore point just in case something goes wrong.

Method 1: USE CONTROL PANEL TO CHANGE IP ADDRESS

1.Use the search field beside the windows icon on the taskbar and search for the control panel.

How to Change IP address in Windows 10

2.Open control panel.

3.Click on ‘Network and Internet’ and then on ‘Network and sharing center’.

How to Change IP address in Windows 10

4.Click on ‘Change adapter settings’ on the left side of the window.

How to Change IP address in Windows 10

5.Network connection windows will open.

How to Change IP address in Windows 10

6.Right-click on the relevant network adapter and click on properties.

How to Change IP address in Windows 10

7.In the networking tab, select ‘Internet Protocol Version 4 (TCP/IPv4)’.

8.Click on Properties.

How to Change IP address in Windows 10

9.In the IPv4 Properties window, select the ‘Use the following IP address’ radio button.

How to Change IP address in Windows 10

10.Enter the IP address you want to use.

11.Enter the subnet mask. For a local network that you use at your home, subnet mask would be 255.255.255.0.

12.In the Default gateway, enter your router’s IP address.

13.In the Preferred DNS server, enter the IP address of the server which provides DNS resolutions. It is usually your router’s IP address.

How to Change IP address in Windows 10

14.You can also add an alternate DNS server to connect to in case your device can’t reach the preferred DNS server.

15.Click on OK to apply your settings.

16.Close the window.

17.Try navigating a website to see if it works.

This how you can easily Change IP Address in Windows 10, but if this method doesn’t work for you then make sure to try the next one.

Method 2: USE COMMAND PROMPT TO CHANGE IP ADDRESS

1.Press Windows Key + X then select Command Prompt(Admin).

How to Change IP address in Windows 10

2.To see your current configurations, type ipconfig /all and hit Enter.

How to Change IP address in Windows 10

3.You will be able to see the details of your network adapter configurations.

How to Change IP address in Windows 10

4.Now, type:

netsh interface ip set address name=”yourNetworkAdapter” static 10.20.30.40 255.255.255.0 2.4.6.8

Note: These three addresses being your device’s static IP address you want to assign, subnet mask, and default getaway address, respectively.

How to Change IP address in Windows 10

5.Press enter and this will assign a static IP address to your device.

6.To set your DNS server address type the following command and hit Enter:

netsh interface ip set dns name=”yourNetworkAdapter” static 10.20.30.1

Note: The last address being that of your DNS server.

How to Change IP address in Windows 10

7.To add an alternate DNS address, type

netsh interface ip add dns name=”alternateServer” 8.8.8.8 index=2

Note: This address will be the alternate DNS server address.

How to Change IP address in Windows 10

8.Try navigating a website to see if it works.

Method 3: USE POWERSHELL TO CHANGE IP ADDRESS

1.Press Windows Key + S to bring up the Search then type PowerShell.

2.Right-click on Windows PowerShell shortcut and select ‘Run as administrator’.

How to Change IP address in Windows 10

3.To see your current IP configurations, type Get-NetIPConfiguration and hit Enter.

How to Change IP address in Windows 10

4.Note down the following details:

InterfaceIndex
IPv4Address
IPv4DefaultGateway
DNSServer

5.To set a static IP address, run the command:

New-NetIPAddress -InterfaceIndex 13 -IPAddress 10.20.30.40 –PrefixLength 24 -DefaultGateway 2.4.6.8

Note: Here, replace InterfaceIndex number and DefaultGateway with the those you noted down in previous steps and IPAddress with the one you want to assign. For subnet mask 255.255.255.0, PrefixLength is 24, you can replace it if you require to with correct bit number for subnet mask.

6.To set DNS server address, run the command:

Set-DnsClientServerAddress -InterfaceIndex 3 -ServerAddresses 10.11.12.13

Or, if you want to add another alternate DNS address then use the command:

Set-DnsClientServerAddress -InterfaceIndex 3 –ServerAddresses 10.11.12.13, 8.8.8.8

Note: Use the relevant InterfaceIndex and DNS server addresses.

7.This how you can easily Change IP Address in Windows 10, but if this method doesn’t work for you then make sure to try the next one.

Method 4: CHANGE IP ADDRESS IN WINDOWS 10 SETTINGS

Note: This method works only for wireless adapters.

1.Press Windows Key + I to open Settings then click on ‘Network & Internet’.

How to Change IP address in Windows 10

2.Click on Wi-Fi from the left pane and select your required connection.

How to Change IP address in Windows 10

3.Scroll down and click on Edit button under IP settings.

How to Change IP address in Windows 10

4.Select ‘Manual’ from the drop-down menu and toggle on the IPv4 switch.

How to Change IP address in Windows 10

5.Set IP address, Subnet prefix length (24 for subnet mask 255.255.255.0), Gateway, Preferred DNS, Alternate DNS and click on Save button.

Using these methods, you can easily set a static IP address for your computer.

Recommended:

  • How to Setup Gmail in Windows 10
  • Add a Printer in Windows 10 [GUIDE]
  • Microsoft Word has Stopped Working [SOLVED]
  • How to Disable Google Chrome PDF Viewer

I hope the above steps were able to help you Change IP address in Windows 10 but if you still have any questions regarding this guide then feel free to ask them in the comment’s section.