To set the IP address of your computer from the command prompt, follow below steps,
Launch
'Command prompt' as administrator and run below cmd respectively,
netsh interface ip set address name="Local Area Connection" static 192.168.1.101 255.255.255.0 192.168.1.1 1Local Area Connection is the name of the adapter you want to modify. (If has only one NIC, it is then normally named Local Area Connection)
192.168.1.101 is the IP address you want to set
255.255.255.0 is the subnet mask
192.168.1.1 is the gateway
1 is the gateway metric. You can leave this as 1 for almost all cases.
Now run
ipconfig /all (or) navigate to Local Area Connection adapter properties (IPv4) to review the new IP settings.
*