Setting default location for computer creation in 2003AD
- From: crittend@xxxxxxxxxxxxxx
- Date: 22 Mar 2006 16:46:24 -0800
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.
.
- Follow-Ups:
- Re: Setting default location for computer creation in 2003AD
- From: Jerold Schulman
- Re: Setting default location for computer creation in 2003AD
- Prev by Date: Re: group membership assigned through group policy?
- Next by Date: Re: DC not servicing logon requests
- Previous by thread: Re: Changing to "Native" Mode
- Next by thread: Re: Setting default location for computer creation in 2003AD
- Index(es):
Relevant Pages
|