Jump to content

Recommended Posts

Posted

Have set up a new virtual network based on server 2008 R2 in vmware

 

Have migrated user accounts and all is working well

 

Have set up trust between old and new domains

 

We are now ready to remove the fully serviced packed XP client machines from the old domain and then rejoin them to the new.

 

In the past I have just moved them off old domain into workgroup and then from workgroup into new domain

 

This time we have over 300 machines

 

Is there any easier way?

 

We really want to decomission the old domain when the new one is up and running

 

Thanks in advance

Posted (edited)

Can be done using Netdom and a text file containing the computer names (one on each line) I have a working script somewhere and will try and dig it out. Was something like this below.

 

for /f "eol=; tokens=1,2*" %%i in (comperts.txt) do NETDOM MOVE /DOMAIN:TargertDomain %%i /Ud:domain\user /Pd: /Uo:%%i\Administrator /Po:
pause

 

The computer name is stored in the variable %%i from the text file.

 

NETDOM Command Switches

/domain
Identifies the target domain.

/OU:ou_path
Specifies the target OU.

/Ud:User
Indicates the user account used to make the connection with the target domain.

Pd:{Password|*}
Enters the password for the user account used to connect to the destination domain; if you use *, NETDOM prompts for the password.

/Uo:User
Identifies the user account used to make the connection to the source domain.

/Po:{Password|*}
Enters the password for the user account used to connect to the original domain; if you use *, NETDOM prompts for the password.

/Reboot:[time_in_seconds]
Specifies that the computer being moved should shut down and reboot automatically in the given number of seconds after the move operation

Edited by djm968

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...