For Example i am going to give following IP to my desktop
IP = 192.168.1.10
Subnetmask = 255.255.255.0
Default Gateway = 192.168.1.1
Metric = 1
Open Command Prompt
to check existing IP address write IPCONFIG command
As you can see existing IP address is 192.168.1.9, now we can change that IP to 192.168.1.10
For change the IP you have to write below mentioned Command.
netsh interface ip set address "Local Area Connection" static ipaddr subnetmask gateway metric
netsh interface ip set address "Local Area Connection" static 192.168.1.10 255.255.255.0 192.168.1.1 1
After the run command you just need to check the IP address again with IPCONFIG command
Its done Enjoy !!!!! :)
IP = 192.168.1.10
Subnetmask = 255.255.255.0
Default Gateway = 192.168.1.1
Metric = 1
Open Command Prompt
to check existing IP address write IPCONFIG command
As you can see existing IP address is 192.168.1.9, now we can change that IP to 192.168.1.10
For change the IP you have to write below mentioned Command.
netsh interface ip set address "Local Area Connection" static ipaddr subnetmask gateway metric
netsh interface ip set address "Local Area Connection" static 192.168.1.10 255.255.255.0 192.168.1.1 1
After the run command you just need to check the IP address again with IPCONFIG command
Its done Enjoy !!!!! :)