Help set DNS to obtain DNS server automatically in vbscript

I made a mistake and set the DNS server address in vbscript how do I change it back for the DNS to obtain an address automatically...Thanks
tupac1979Asked:
Who is Participating?
 
and235100Commented:
Go to Start, Control Panel, Network Connections

D-click your default network connection, Properties, d-click TCP/IP Protocol, select "Obtain DNS server address automatically"

0
 
and235100Commented:
If that option is greyed out - click the Advanced button - click on the DNS tab - and see if an address in the box rings any bells...
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
tupac1979Author Commented:
I apologize I mean in vbscript not manually. I am sorry. Thanks
0
 
and235100Commented:
(Take out the #20010)

0
 
and235100Commented:
Great - glad I could find some useful code for you to use.

Thank you.
0
All Courses

From novice to tech pro — start learning today.