Need to change PC's to new Domain

B

Ben

I am installing a new WIN2K server, creating New Active
Directory Domain; I am migrating users from two other AD
Domains (going to abandon these in future) into new AD
Domain. I need to change the client PC (mix of 2000 and
XP) Domain settings in Network Identification to reflect
new domain. Is there a way to automate this process
(through login script, netdom, etc); I know ADMT will
migrate users and Computers but have not seen anything to
address PC setting. The final plan is to have all users
and PC's under one domain.

Thanks for the help,
Ben
 
C

Chriss3

You can do this with a Script.

as an example:

Const JOIN_DOMAIN = 1
Const ACCT_CREATE = 2
Const ACCT_DELETE = 4
Const WIN9X_UPGRADE = 16
Const DOMAIN_JOIN_IF_JOINED = 32
Const JOIN_UNSECURE = 64
Const MACHINE_PASSWORD_PASSED = 128
Const DEFERRED_SPN_SET = 256
Const INSTALL_INVOCATION = 262144

strDomain = "FABRIKAM"
strPassword = "ls4k5ywA"
strUser = "shenalan"

Set objNetwork = CreateObject("WScript.Network")
strComputer = objNetwork.ComputerName

Set objComputer = GetObject("winmgmts:{impersonationLevel=Impersonate}!\\" &
_
strComputer & "\root\cimv2:Win32_ComputerSystem.Name='" & _
strComputer & "'")

ReturnValue = objComputer.JoinDomainOrWorkGroup(strDomain, _
strPassword, _
strDomain & "\" & strUser, _
NULL, _
JOIN_DOMAIN + ACCT_CREATE)

if you works with script i will recommend Microsoft TechNet Script Center.
http://www.microsoft.com/technet/scriptcenter


--
Regards,

Christoffer Andersson
No email replies please - reply in the newsgroup

http://www.itsystem.se/employers.asp?ID=1
 
U

Ulf B. Simon-Weidner

I am installing a new WIN2K server, creating New Active
Directory Domain; I am migrating users from two other AD
Domains (going to abandon these in future) into new AD
Domain. I need to change the client PC (mix of 2000 and
XP) Domain settings in Network Identification to reflect
new domain. Is there a way to automate this process
(through login script, netdom, etc); I know ADMT will
migrate users and Computers but have not seen anything to
address PC setting. The final plan is to have all users
and PC's under one domain.

Thanks for the help,
Ben
Hi Ben,

ADMT will be able to help you here too - or you are able to use netdom
/joindomain if you prefer something via a cmdline / batch.

If you want to use ADMT you'll have to look that you are using ADMTv2 since
it's been really improved:
http://www.microsoft.com/downloads/details.aspx?FamilyID=788975b1-5849-4707-
9817-8c9773c25c6c&DisplayLang=en
or http://tinyurl.com/e6gu

Gruesse - Sincerely,

Ulf B. Simon-Weidner
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top