According to my knowledge from Windows 7 to Window 10, the process is same but the option of assigning static IP Address is located in different places. So, i will point windows 10 as the per requirement of the question:
Open Control Panel
Click on Network and Internet
Click on Network and Sharing Center
On the left pane, click the Change adapter settings
Right-click the network adapter
and select Properties
Select the Internet Protocol Version 4 (TCP/IPv4)
Click the Properties
Select the Use the following IP address
Set the IP address (e.g., 10.1.2.220
), you choose whatever you want but it should be proper IP Address.
Set the Subnet mask
. Usually, on a home network, the subnet mask is 255.255.255.0
Set the Default gateway
. This address is typically your router’s IP address (e.g., 10.1.2.1
Under the “Use the following DNS server addresses set Preferred DNS server
” section, which is usually your router’s IP address, or IP address of the server providing DNS resolutions (e.g., 10.1.2.1)
Enter set the Alternative DNS
server, which your computer will use if it can’t reach the preferred server. This step is optional.
Click the OK
Click the Close
button again to close the network adapter properties.
Once you done try opening your browser and search something and check whether it works or not. Sometimes it is necessary to disconnect from current WiFi and connect again. I hope it will help.