[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1552
  • Last Modified:

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
0
tupac1979
Asked:
tupac1979
  • 5
1 Solution
 
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
 
tupac1979Author Commented:
I apologize I mean in vbscript not manually. I am sorry. Thanks
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
and235100Commented:
(Take out the #20010)

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

Thank you.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now