Script for a company migrating 2 domains into 1

NOT ALL THE CODE MAY BE IN THIS POST…PLEASE FOLLOW THE LINK TO THE ORIGINAL THREAD

I’ve created following script for a company migrating 2 domains into 1.
It’s a simple script, but it’s so nice to use (since I created it myself ) I thought I’d post it in here. Besides it might be usefull for me again some day.

The vbscript will automatically migrate computers from one domain to another with 1 reboot. This means, take em off the one domain, move them on the other.

When run, the script will give you a pop-up box where you’ll need to fill in the name of a txt file wherein you have a list of computer names (1 computer/line). The script will then loop through the list, ping every computer to see if it’s online, if it’s online it will then do it’s thing. If the pc is not online, it will place the name of the pc into a logfile mentioning it wasn’t online.

The script uses NETDOM to switch the pc to the new domain. (NETDOM can be found in the support tools of XP for example).

The NETDOM lines in the script were truncated by the inputbox of this site, remember to put them on 1 line or use the (_) underscores to shorten text.

The script might not work if you just copy it and try to run it, you’ll need to adjust above mentioned lines. Also, if you have a problem with this script, ask for help in the answer thread, so this thread stays clean.

About admin
Former Freehand Freelance Graphic Illustrator...
been online since 2004 ( late starter ), blogging since 2005, presently writing a suspense-thriller e-book that began as a screenplay.
View all posts by admin →

There are 960 Games on the 10 Game
Blogs. All AD-Free Game play. Laid-out in easy to find categories with
no more than 5 games per category. All hand-picked games to offer you
the Best the Internet has to offer.No need to flip through page after
page to find something worth playing, no distracting ADs getting in the
way of game play, and no sifting through endless crap and junk to find
something worth while.Other sites may have more games...but
when you have the best you don't need more games.