Categories
Welcome Center
Education & Development
Discussions
Certification Preparation
Recent Posts
Groups
Free Resources
Ebooks
Free Workshops
Trending Certifications Infographic
Infosec Training
IT & Security Training
Live Boot Camps
Security Awareness Training
About Infosec Institute
Home
Discussions
Off Topic
Startup Script Help
Megadeth4168
Using Windows 2000 AD GPO... I created a startup script that will delete our old DNS server IP address and then add the new one to all our clients. The only things is that I want the script to run only once on each computer in the Network.
Is there a way I can do this without programming it into the script somehow?
Thanks!
Find more posts tagged with
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
Comments
WanBoy67
You don't use DHCP I gather?
Megadeth4168
Not yet... That is coming soon, which I already have a script written to change everyone over to DHCP once we implement it here.
WanBoy67
What are you using to script?
If your using VBScript check out this page.
http://www.microsoft.com/technet/scriptcenter/topics/networking/05_atnc_dns.mspx
Megadeth4168
Thanks for the article!
I actually decided to write in an If function that wrote out a text log file the first time the script is run... If the file exist, then the script will run but just skip to the end.....
I guess I could also set up a Runonce setting in the registry from what I've been reading as well.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS