Prestage Ris Clients in a different AD container

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Ed Murphy (EdMurphy_at_discussions.microsoft.com)
Date: 02/23/05


Date: Wed, 23 Feb 2005 12:29:07 -0800

I would like to use the RIS script for prestaging clients in the AD,
PrestagRISClnt.txt. The problem is, that as I read it, the clients will be
created in the default computer container and I want to modify this behavior.
 I need to change the script so that I can specify which OU or container, is
to be used. Unfortunately, I don't know enough about LDAP or scripting to do
this on my own in a short period. Ideally, another column could be added to
the spread*** that is read. If that is to dificult, perhaps someone could
tell me how to modify the section

'** ///////////////////////////////////////////////////////////////////
 '** Establish a path to the container in the Active Directory where the
 '** machine account will be created. The following code automatically
 '** locates a domain controller for the domain, reads the distinguished
 '** name, and binds to the default "Computers" container:

so that I could point to another container.


Quantcast