On 1/10/06, Kamlesh Parmar [EMAIL PROTECTED] wrote:
If you know the admin password of all new computers, you can use netdom.exe
to join machine
remotely, and at the same time put it in exact ou where you want to put it.
NETDOM JOIN comp1 /DOMAIN:WINDOM /UO:LocalAdmin /PO:LocalAdminPassword
Caesar III i.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danny
Sent: Tuesday, January 10, 2006 7:55 AM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] Automagically move AD computers into new/appropriate OU
On 1/10/06, Kamlesh Parmar [EMAIL
DSMOVE combined with DSQUERY (Win2003)
C:\For /F delims=* %i in ('dsquery * ou=MyOU,DC=LissWare,dc=Net
-filter ((objectClass=computer)(name=J*))') do
dsmove -newparent ou=MyComputers,dc=LissWare,dc=net %i
/Alain
-Original Message-
From: [EMAIL PROTECTED]
Take a look at the command line tool redircmp.
Requires w2k3 forest func level.
neil
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Danny
Sent: 09 January 2006 15:09
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] Automagically move AD computers
NETDOM ADD (adding computer accounts) or NETDOM JOIN (joining computers
to domain) with the /OU option
And if you have only ONE target OU you could redirect to it.
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/D
epKit/1919bb9f-adc9-4b7b-82f0-9bcaead3b81e.mspx
Jorge
This is all fantastic information; especially since there are
different ways of getting the same end result. Thanks, everyone!
One more related question, if you have a dozen new PC's, what options
are available for joining/adding computers to the domain -- besides
logging into the PC and