In general, computers and other devices connect to internet using Dynamic or changing IP Address. If required, you can Set or Assign a Static IP Address to your Windows 10 computer.
Set Static IP Address in Windows 10
As mentioned above, IP Address of computers, Phones and other devices that connect to internet is assigned automatically by the DHCP Server (Modem/Router).
By default, IP Address of devices connected to the internet changes, whenever the DHCP lease expires and it can also change when the Modem/Router is restarted.
While most users do not find the need to change this setup, setting a Static IP Address in Windows 10 may be required in certain cases.
For example, services like File Sharing and Port Forwarding will stop working on Windows 10 computer, as soon as its IP Address changes.
You can prevent this by assigning a Static IP Address to your computer using steps as provided below.
Step#1 – Find DHCP Server Address
The first step is to note down the DHCP Server Address (Router IP Address) and also the Subnet Mask Address. These will be required, when you assign Static IP Address to your computer in the next step.
1. Type Command Prompt in Windows search bar > right-click on Command Prompt and select Run as Admin.
2. In Command Prompt window, type ipconfig/all and press the Enter key.
3. Once the command is executed, scroll down the list of entries to “WiFi” or “Ethernet” section as required and note down Subnet Mask Address and the DHCP Server Address (Router IP Address).
4. Close Command Prompt window.
Step#2 – Set Static IP Address
After noting down Subnet Mask and DHCP Server Address, follow the steps below to Set Static IP Address on your computer.
1. Go to Settings > click on Network & Internet.
2. On the next screen, select your Network type (WiFi or Ethernet) in the left-pane. In the right-pane, scroll down and click on Change adapter options link under “Related Settings”.
3. On the next screen, right-click on your active Network (WiFi or Ethernet) and click on Properties.
4. On the properties screen, select Internet Protocol Version 4 (TCP/IPv4) and click on Properties.
5. On IPv4 properties screen, select Use the following IP Address option > Enter Default Gateway (DHCP Server Address), Subnet Mask Address, Static in IP Address and click on OK.
As you can see in above image, the first 3 number sets (192.175.0 in this case) in IP Address Field need to be the same as the Default Gateway Address and you can only change the last number set with any number from 1 to 255.