Do not use on any
shared computer
August 29, 2008 10:11pm pdt
 
[x]
Attachment Details

Need Registry Script to change DNS Server Preferred & Alternate IPs

Tags: DNS, Networking
I have an application that only runs when I remove static DNS Server IPs from the Local Area Connection Properties. The app actually launches, but after entering login info, it returns a connection error. Only after changing the DNS to automatic will it work properly. (If I then immediately set DNS back to static, the app works normally if I exit the program and launch it again.)

I'd like to crete a registry script that would set DNS to automatic, then reset it to specific primary and secord IPs. But most importantly, the script should allow for the "Apply" or "OK" function, so that the settings are refreshed at the completion of the script.

Anyone with any ideas as to why this problem may be occurring, or would anyone care to share a script that would accomplish the above? Thanks.
Start your free trial to view this solution
Question Stats
Zone: Networking
Question Asked By: PMORRIS
Question Asked On: 05.22.2008
Participating Experts: 4
Points: 500
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by Jaymz_R
Expert Comment by Jaymz_R:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by debuggerau
Expert Comment by debuggerau:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by smithdw1
Expert Comment by smithdw1:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by DCenaculo
Expert Comment by DCenaculo:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628