Windows 11 I want to run Netsh to change ip adresses with .bat files. I am using Win 11. It works on my Win 10 pro pc but I can not get it to work on win 11. Ple

  • Thread starter Thread starter Laurie Peyper
  • Start date Start date
L

Laurie Peyper

This is the content of the .Bat file i want to runnetsh interface ipv4 set address name="Local Area Connection" source=static ^ address=172.17.130.178 mask=255.255.255.0 gate=172.17.130.1 netsh interface ip set dnsservers "Local Area Connection" static 172.17.1.6 validate=no netsh interface ipv4 add dnsserver "Local Area Connection" address=172.17.1.10 index=2 validate=no

Continue reading...
 
Back
Top