netsh interface ip show config
netsh interface ip set address "Local Area Connection" dhcp
interface ip set address name="Local Area Connection" static 192.168.10.42 255.255.255.0 192.168.1.1
Poner un DNS fijo
interface ip set dns "Local Area Connection" static 1.1.1.1
reg update HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\NameServer="1.1.1.1 1.0.0.1" \\<machine name>
netsh interface ip set dns "Local Area Connection" dhcp
Abrimos una consola cmd y ejecutamos
netsh interface ipv4 delete winsserver "Conexión de área local" all
netsh winhttp reset proxy
netsh winhttp import proxy source =ie