Re: Change IP related values due to WAN design change

Tech-Archive recommends: Fix windows errors by optimizing your registry



Now is the time to move all machines to DHCP. Use infinite leases for the
permanent addresses. Next time you only have to change DHCP settings.



--
Jim Vierra
http://msdn.microsoft.com/theshow/Episode048/default.asp
"*** Wade" <justice@xxxxxxxxxxxxxxxx> wrote in message
news:eNl9YIUNFHA.508@xxxxxxxxxxxxxxxxxxxxxxx
> Hi all,
>
> I am a solo IT person for 108 users on a Windows 2000 Server/Windows 2000
> Professional. Our county changed it's network design which requires that
> I make quite a few IP address/subnet changes on all of our devices. The
> county IP staff just informed me of this change yesterday and it will be
> switched over at 5:00pm CDT today.
>
> I need help with a vbs script that will touch all client machines and
> network printers on my network (which will be on but not logged into
> Windows 2000 Professional) to do the following:
>
> 1. Make modifications to a configuration file (completed)
>
> 2. On failure of the modification
>
> a. Log host name and "failed cfg modification."
>
> b. Send e-mail to myself
>
> 3. On success log host name and "cfg modification complete."
>
> 4. Change DNS Server address
>
> 5. Change Default Gateway address
>
> 6. Change IP address on static addresses keeping value the last octet to
> the right but changing the first three to the new subnet address (subnet
> mask remains the same on all).
>
> 7. Log success with machine name and "TCP/IP changes complete."
>
> 8. Do a lease refresh for all leased IP addresses.
>
> 9. Report completion of script and open log file in Notepad for viewing
> and printing.
>
> James
>
>


.


Quantcast