Discussion Locked

Change DNS settings Script

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I need help with a simple log-on script that will change the Pri/Sec DNS setting in the network properties on 150+ Windows XP stations joined to a W2K3 network with AD. The users log on with basic user rights.

Thanks,

joesanch

3 replies

by house

netsh interface ip set dns /?

you can take it from here...

...ah well - here ya go....

[b]netsh interface ip set dns "Local Area Connection" static 192.168.10.10 primary[/b]

edit the ip address and primary/ secondary tag accordingly

by house

I use the "netsh" command line utility quite often. There is something technical about it that inspires me in this GUI saturated IT world. Maybe I should've been a Unix admin. :)

This discussion is closed to new replies.