we can easily assign ip address to the windows computer using netsh commands.
this is the way..
open the command line ..
we can check available commands using ? or help
now we need to go to the ipv4 interfaces and check available NICs(network card interfaces)..
we can see our network card index number is “11”.
so now we can assign ip address to that network card using this command..
Set address “NIC Index” static “IP address” “Subnet mask” “GW”
you can see video tutorial from below link..