Startup Script Help
Megadeth4168
Member Posts: 2,157
in Off-Topic
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!
Is there a way I can do this without programming it into the script somehow?
Thanks!
Comments
-
Megadeth4168 Member Posts: 2,157Not yet... That is coming soon, which I already have a script written to change everyone over to DHCP once we implement it here.
-
WanBoy67 Member Posts: 225What are you using to script?
If your using VBScript check out this page.
http://www.microsoft.com/technet/scriptcenter/topics/networking/05_atnc_dns.mspxYes we can, yes we can... -
Megadeth4168 Member Posts: 2,157Thanks 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.