Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Computers OU 1

Status
Not open for further replies.
Feb 1, 2005
144
US
Hi has anyone ever change the default container for computers? By default all computers added to the domain go into the computers OU. Is there anyway to change this. Lets says to the PC_2005 OU or something like that. Do I have to change a schema?
Thanks
 
Just make a new OU and create each computer in there. You can script it with vbscript. If you prefer to add stuff to the domain on the fly via System properties, computername, then Network ID, that is where you are going wrong. Just create the name first, then when you add it that way, it will pick the account up and it will be in the right place.
 
In your build .ini file (unnattend.txt), simply add the line:

[networking]
JoinDomain = "domain name"
MachineObjectOU = "OU = myou,OU = myparentou,DC = mydom,DC = mycompany,DC = com"

Hope that helps!
 
Thanks monsterjta. That will work. But we also join some machines to a new domain manually because sometime the ad migration tool does not work on some machines. But the unattend.txt will work, I just never thought of it. Thanks man.
 
When you initialize your unnattend script, first do a dos edit of the unnattend file so that you may edit the OU or Domain you are join. Commenting out lines works well for this, so you can turn things on and off at pre-unnattend.

Also, you can accommodate for different types of hardward within the [oemsetup]. Just add a all types of hardware you use at your organization and comment all lines out. When you kick it off and DOS Edit the unnattend, you may uncomment the hardware platform of your choice.

Hope that helps!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top