I just use a batch file as part of the build process that places the
machine in the appropriate OU. Watch for wrappage - the line that
begins with netdom continues until the passwordd parameter:
----------Begin cmd file-----------
@ECHO OFF
cls
GOTO :EnterID
:EnterID
SET /P wkst=Name of Workstation to be added:
set /p name=Your Domain ID:
netdom join %wkst% /domain:mycompany
/ou:ou=workstations,ou=computers,ou=USOffice,dc=mycompany,dc=com
/ud:%name% /passwordd:*
set /p name=Your Domain ID:
net use \\dc1\ipc$ /u:%name%
net localgroup administrators mycompany\it /add
shutdown -r -t 01
----------End cmd file---------
On 5/2/08, Sherry Abercrombie <[EMAIL PROTECTED]> wrote:
> Is there a way to change the default OU that new computers are automatically
> added to when joined to an active directory domain?
>
> We are looking to add a group policy that basically locks down a computer as
> soon as it's added to the domain, and then move the computer to an OU that
> has the policy that it should receive based on who/what/where. You cannot
> add a group policy to the default Computers OU. So far Googlefu hasn't
> yielded anything.
>
> TIA,
>
> --
> Sherry Abercrombie
>
> "Any sufficiently advanced technology is indistinguishable from magic."
> Arthur C. Clarke ~ NEW: CounterSpy Enterprise: Centralized Antispyware - #1
> in eWEEK Test! ~
~ ~
>
~ NEW: CounterSpy Enterprise: Centralized Antispyware - #1 in eWEEK Test! ~
~ <http://www.sunbelt-software.com/product.cfm?id=400> ~