I am working on a script which will remove a computer from an NT 4.0 domain
and add it to a new W2k3 Active Directory domain. Microsoft has a sample
script
(http://www.microsoft.com/technet/community/scriptcenter/compmgmt/scrcm31.ms
px) which shows how to join the workstation to a domain, but I believe I
have to remove the account from the old domain before adding to the new.

The return code I get after running this script above (of course changing
the necessary variables) is 2691. And the result is the computer is still
in the old NT 4.0 domain and no account added to the new AD.

Any help would be appreciated...

Chris

Re: Domain Migration (NT4 to W2k3) by Mikey

Mikey
Wed Apr 28 21:27:16 CDT 2004



For someone that does network administration and lots of VBScripting,
this is really hard to admit, but this might be one place where
scripting may not be the best solution.

I know it would be nice to script the migration process, but honestly,
the Windows 2003 Active Directory Migration Tool (ADMT) will perform
that process for you.

If you really want to script the process, you might want to look at
using the (ResKit/Support Tools) netdom utility. With netdom, you can
remove servers from an old domain, and join them to a new domain.

No need to reinvent the wheel, unless you really really want too.

Mikey

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Re: Domain Migration (NT4 to W2k3) by Chris

Chris
Thu Apr 29 09:37:12 CDT 2004

I have about 1500 Windows XP machines that will need to be removed from the
old NT4 domain and put into the new AD domain. I am going to use ADMT to
migrate user accounts/SIDs but I don't see how that tool will help me move
those computer accounts? These workstations are spread around the country
so it will be difficult to visit each and every one.

I'll take a look at "netdom" as I've seen it mentioned several times. But
honestly if I can do it via script I'd rather travel down that road.

Thanks for the reply-

Chris


"Mikey" <Mikey2OZ@hotmail.com> wrote in message
news:etPJ%23FZLEHA.3300@TK2MSFTNGP10.phx.gbl...
>
>
> For someone that does network administration and lots of VBScripting,
> this is really hard to admit, but this might be one place where
> scripting may not be the best solution.
>
> I know it would be nice to script the migration process, but honestly,
> the Windows 2003 Active Directory Migration Tool (ADMT) will perform
> that process for you.
>
> If you really want to script the process, you might want to look at
> using the (ResKit/Support Tools) netdom utility. With netdom, you can
> remove servers from an old domain, and join them to a new domain.
>
> No need to reinvent the wheel, unless you really really want too.
>
> Mikey
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!