Re: Setting default location for computer creation in 2003AD
- From: Jerold Schulman <Jerry@xxxxxxxxxx>
- Date: Thu, 23 Mar 2006 12:41:43 -0500
See if tip 7702 » How do I alter the default container that 'net computer \\ComputerName /add' uses?
in the 'Tips & Tricks' at http://www.jsifaq.com meets your needs.
On 22 Mar 2006 16:46:24 -0800, crittend@xxxxxxxxxxxxxx wrote:
We are running a 2003 AD. we have several locations throughout the
world so we have several Ou's for each location. within these ou's we
have a container for the computers in that location.
What I would like to be able to do is produce a script that I can set
the default location for computer creation. but have this change upon
the office I am running it in.
I have found the following
http://support.microsoft.com/default.aspx?scid=kb;en-us;315273
And withing this link is a script that has a line
Const ADS_GUID_COMPUTRS_CONTAINER = "aa312825768811d1aded00c04fd8d5cd"
This is the guid for the default computer container.
How do I find the guid for different containers. If I could work out
how to find that i would be able to work the script to do as I require.
I have tried with adsi edit but not sure how to obtain this identifier.
Any help would be much appreciated.
Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
.
- References:
- Setting default location for computer creation in 2003AD
- From: crittend
- Setting default location for computer creation in 2003AD
- Prev by Date: Windows NT 4 domain to AD
- Next by Date: Re: disabled vs expired
- Previous by thread: Setting default location for computer creation in 2003AD
- Next by thread: Need advice on how to delegate server roles
- Index(es):
Relevant Pages
|