Jump to content

How to set Tcp/ip settings via reg file?


Mikep7779

Recommended Posts


I wanted to say, that I don't know a way to change TCP/IP settings through registry, but out of runonceex you could call use a batch, in which you use the netsh interface ip command, which is a command to configure the network settings.

So what exactly do you want to do?

Edited by Doc Symbiosis
Link to comment
Share on other sites

The following three lines in a batch should do the job

netsh interface ip set address source=static name= "Local Area Connection" addr=192.168.1.120 mask=255.255.255.0 gateway=192.168.1.1 1
netsh interface ip set dns "Local Area Connection" static 167.206.3.208 primary
netsh interface ip set dns "Local Area Connection" static 167.206.3.207 secondary

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...