Re: adding new computer to OU

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hi Oz,

That command does indeed add a computer ACCOUNT to the OU. However, the OP wants to (IMO) join a computer to the AD (how I read it).

If you want to directly join a computer to the AD into the correct OU use the NETDOM command
If you want to create a computer account in AD first then use the DSADD computer and then join the computer either using NETDOM or the GUI

--

Cheers,
(HOPEFULLY THIS INFORMATION HELPS YOU!)

# Jorge de Almeida Pinto # MVP Windows Server - Directory Services

BLOG (WEB-BASED)--> http://blogs.dirteam.com/blogs/jorge/default.aspx
BLOG (RSS-FEEDS)--> http://blogs.dirteam.com/blogs/jorge/rss.aspx
------------------------------------------------------------------------------------------
* How to ask a question --> http://support.microsoft.com/?id=555375
------------------------------------------------------------------------------------------
* This posting is provided "AS IS" with no warranties and confers no rights!
* Always test before implementing!
------------------------------------------------------------------------------------------
#################################################
#################################################
------------------------------------------------------------------------------------------
"oz.ozugurlu" <ozozugurlu@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:39989729-5CEE-4F0A-BE70-D106A46F2476@xxxxxxxxxxxxxxxx
you can also use Dsadd commnad to create a user account and place the user
into desired OU
dsadd user "cn=guyt, ou=guyds, dc=cp, dc=com"

http://www.computerperformance.co.uk/Logon/DSadd_add_user.htm

oz



--
Oz Ozugurlu
Systems Engineer
MCSE 2003| M+| S+
MCDST | Security+|Project+

oz@xxxxxxxxxx
http://smtp25.blogspot.com (Blog)


"Jorge de Almeida Pinto [MVP - DS]" wrote:

by default to the Computers Container

to directly target your OU use NETDOM

NETDOM JOIN %COMPUTERNAME% /DOMAIN:<DOMAIN>\<DC> /OU:<distinguished name of
your OU> /USERD:<DOMAIN>\<USER> /PASSWORDD:<PASSWORD>

REMARK: I specify %COMPUTERNAME% instead of the computername because this
command needs to be executed locally on the client/server that needs to be
joined to a domain

--

Cheers,
(HOPEFULLY THIS INFORMATION HELPS YOU!)

# Jorge de Almeida Pinto # MVP Windows Server - Directory Services

BLOG (WEB-BASED)--> http://blogs.dirteam.com/blogs/jorge/default.aspx
BLOG (RSS-FEEDS)--> http://blogs.dirteam.com/blogs/jorge/rss.aspx
------------------------------------------------------------------------------------------
* How to ask a question --> http://support.microsoft.com/?id=555375
------------------------------------------------------------------------------------------
* This posting is provided "AS IS" with no warranties and confers no rights!
* Always test before implementing!
------------------------------------------------------------------------------------------
#################################################
#################################################
------------------------------------------------------------------------------------------
"tin" <mastertin@xxxxxxxxxxxxxxxx> wrote in message
news:uj991uNvHHA.4916@xxxxxxxxxxxxxxxxxxxxxxx
> Hello, I'm an OU administrator in AD. When adding a new computer to AD,
> does it adds the new computer to the default OU which is Computer or to > my
> OU?
>
> Thanks,
> TC
>



.



Relevant Pages

  • Re: Rename DC
    ... do it step by step and look at the attributes on the computer account of the DC how they change. ... # Jorge de Almeida Pinto # MVP Windows Server - Directory Services ... BLOG --> http://blogs.dirteam.com/blogs/jorge/default.aspx ... mean the the NETDOM utility allows the recently renamed DC to be located by ...
    (microsoft.public.windows.server.active_directory)
  • Re: Tools for detecting inactive computer account
    ... # Jorge de Almeida Pinto # MVP Windows Server - Directory Services ... BLOG --> http://blogs.dirteam.com/blogs/jorge/default.aspx ... There are quite some number of computer account that is no longer ...
    (microsoft.public.windows.server.active_directory)
  • Re: Time descrepency between domain controller and member server
    ... MVP - Directory Services ... This posting is provided "AS IS" with no warranties, and confers no rights. ... Type the following command and then press ENTER: ... properly syncing time with the DC according to the System log. ...
    (microsoft.public.windows.server.active_directory)
  • Re: LDIFDE Error when trying to change passwords.
    ... "Joe Kaplan" wrote: ... The -h adds the encryption. ... Co-author of "The .NET Developer's Guide to Directory Services ... command or the bind command as I am not sure how to use them. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Moving DCs From Default OU ?
    ... # Jorge de Almeida Pinto # MVP Windows Server - Directory Services ... BLOG --> http://blogs.dirteam.com/blogs/jorge/default.aspx ... although I don't have permissions I can change them back so I ...
    (microsoft.public.windows.server.active_directory)