Adding Computers to Domain

B

Bhalchandra

Hi,

Can we add computer objects to the targer OUs rather than
adding to default Computer container and then moving to OU?

Cheers..
Bhalchandra
 
A

Ace Fekay [MVP]

In
Bhalchandra said:
Hi,

Can we add computer objects to the targer OUs rather than
adding to default Computer container and then moving to OU?

Cheers..
Bhalchandra

If you use an unattended file to install a new computer, you can specify the
OU in which the computer account should be created.

In the [Identification] section, add the following:

MachineObjectOU="ou=Computer Accounts,dc=domain,dc=loc"

Replacing the ldap path with a correct value of course.

OR...

If Windows 2003:
http://www.winnetmag.com/Article/ArticleID/41227/41227.html
http://www.jsiinc.com/SUBP/tip7700/rh7702.htm
http://www.jsiinc.com/SUBP/tip7700/rh7701.htm




--
Regards,
Ace

Please direct all replies ONLY to the Microsoft public newsgroups
so all can benefit.

This posting is provided "AS-IS" with no warranties or guarantees
and confers no rights.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft Windows MVP - Windows Server - Directory Services

Security Is Like An Onion, It Has Layers
HAM AND EGGS: A day's work for a chicken;
A lifetime commitment for a pig.
 
D

Darren D

DSadd or Netdom can accomplish this aswell

Darren
"Ace Fekay [MVP]"
In
Bhalchandra said:
Hi,

Can we add computer objects to the targer OUs rather than
adding to default Computer container and then moving to OU?

Cheers..
Bhalchandra

If you use an unattended file to install a new computer, you can specify the
OU in which the computer account should be created.

In the [Identification] section, add the following:

MachineObjectOU="ou=Computer Accounts,dc=domain,dc=loc"

Replacing the ldap path with a correct value of course.

OR...

If Windows 2003:
http://www.winnetmag.com/Article/ArticleID/41227/41227.html
http://www.jsiinc.com/SUBP/tip7700/rh7702.htm
http://www.jsiinc.com/SUBP/tip7700/rh7701.htm




--
Regards,
Ace

Please direct all replies ONLY to the Microsoft public newsgroups
so all can benefit.

This posting is provided "AS-IS" with no warranties or guarantees
and confers no rights.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft Windows MVP - Windows Server - Directory Services

Security Is Like An Onion, It Has Layers
HAM AND EGGS: A day's work for a chicken;
A lifetime commitment for a pig.
 
G

Guest

Hi Ace,

Can you help me with the below?
I am trying to automate the computer account creation in one of our OU's. I
never had a problem under Windows 2000 but now under Windows XP I can't add
it to a specific OU. Is there a character length limitation in the
MachineObjectOU= line?
I cant think what esle this could be, the account creation the computer
account has the required rights to add the account.

As of yesterday I can create a computer account in a OU I created from the
ROOT, but any further OU's I create from this one the computer account is not
created.

Any ideas?


Ace Fekay said:
In
Bhalchandra said:
Hi,

Can we add computer objects to the targer OUs rather than
adding to default Computer container and then moving to OU?

Cheers..
Bhalchandra

If you use an unattended file to install a new computer, you can specify the
OU in which the computer account should be created.

In the [Identification] section, add the following:

MachineObjectOU="ou=Computer Accounts,dc=domain,dc=loc"

Replacing the ldap path with a correct value of course.

OR...

If Windows 2003:
http://www.winnetmag.com/Article/ArticleID/41227/41227.html
http://www.jsiinc.com/SUBP/tip7700/rh7702.htm
http://www.jsiinc.com/SUBP/tip7700/rh7701.htm




--
Regards,
Ace

Please direct all replies ONLY to the Microsoft public newsgroups
so all can benefit.

This posting is provided "AS-IS" with no warranties or guarantees
and confers no rights.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft Windows MVP - Windows Server - Directory Services

Security Is Like An Onion, It Has Layers
HAM AND EGGS: A day's work for a chicken;
A lifetime commitment for a pig.
 
A

Ace Fekay [MVP]

In
Waiareka said:
Hi Ace,

Can you help me with the below?
I am trying to automate the computer account creation in one of our
OU's. I never had a problem under Windows 2000 but now under Windows
XP I can't add it to a specific OU. Is there a character length
limitation in the MachineObjectOU= line?
I cant think what esle this could be, the account creation the
computer account has the required rights to add the account.

As of yesterday I can create a computer account in a OU I created
from the ROOT, but any further OU's I create from this one the
computer account is not created.

Any ideas?

I don't think there is a character limit, unless someone else can comment on
that. How long is your entry?

Keep in mind, a regular user account can add upto 20 (IIRC) machines to a
domain, as long they were pre-created by an admin. But I'm assuming you are
using an admin account to do this with or an account that has been delegated
at the parent OU (which gets inherited down) so the OU can be created as
well as the machine account.

Are you getting any AD errors (NTFRS, DNS, Netlogon, etc) in the Event
Viewer?

Ace
 
C

Cary Shultz [A.D. MVP]

Ace,

I believe that the number is actually 10. This is WIN2000. Not sure what
it might be in WIN2003 ( but I would like to think that it would be the
same - or fewer! ).

Cary


"Ace Fekay [MVP]"
 
A

Ace Fekay [MVP]

In
Cary Shultz said:
Ace,

I believe that the number is actually 10. This is WIN2000. Not sure
what it might be in WIN2003 ( but I would like to think that it would
be the same - or fewer! ).

Cary


Thanks Cary. I keep getting 20 and 10 confused with this setting. I believe
Win2k3 is the same.


Ace
 

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