Set static IP on windows 10 using command line


For windows 10

Set static ip command
netsh interface ip set address "Ethernet" static 192.168.1.15 255.255.255.0 192.168.1.1


Set DHCP mode
netsh interface ip set address "Ethernet" source=dhcp


Require administrator to run this command. !!

Comments