Solved

Help set DNS to obtain DNS server automatically in vbscript

Posted on 2007-04-06
6
1,470 Views
Last Modified: 2008-01-09
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
Comment
Question by:tupac1979
  • 5
6 Comments
 
LVL 32

Expert Comment

by:and235100
ID: 18866180
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
 
LVL 32

Expert Comment

by:and235100
ID: 18866187
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
 

Author Comment

by:tupac1979
ID: 18866234
I apologize I mean in vbscript not manually. I am sorry. Thanks
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 32

Accepted Solution

by:
and235100 earned 500 total points
ID: 18866270
0
 
LVL 32

Expert Comment

by:and235100
ID: 18866284
(Take out the #20010)

0
 
LVL 32

Expert Comment

by:and235100
ID: 18869036
Great - glad I could find some useful code for you to use.

Thank you.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now