General discussion

Locked

Change DNS settings Script

By SimpleJo ·
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

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Batch file

by house In reply to Change DNS settings Scrip ...

netsh interface ip set dns /?

you can take it from here...

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

netsh interface ip set dns "Local Area Connection" static 192.168.10.10 primary

edit the ip address and primary/ secondary tag accordingly

Collapse -

by SimpleJo In reply to Batch file
Collapse -

No problem

by house In reply to

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. :)

Back to IT Employment Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums