Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 361
  • Last Modified:

how to automatically inforce new domain machine to locate in separate OU?


Hi,

We have primary DC that located in Israel and there is a full replication between this DC to US DC (actually is the same Dc but separate machine for fast login in us)

My problem is, the computers account from IL and US located automatically in the same OU
And I need to separate for two OU for different GPO configuration.

I can do manually separate for first time, but I would like to know if there is automatically process for new domain machine that join to the domain in US.


Thanks Eli.    


0
Wanova
Asked:
Wanova
2 Solutions
 
oBdACommented:
As is very often the case with a "default" configuration, there can only be one default setting.
In other words: you can redirect where computers and users are created by default, but that will apply to all objects created in the domain if a target OU is not explicitly specified.
You'll either have to pre-create the computer object in its respective OU, or use a command line tool like netdom.exe (which lets you specify the target OU) to join the machine, instead of the GUI.
Redirecting the users and computers containers in Active Directory domains
http://support.microsoft.com/kb/324949
0
 
rorybreenCommented:
You could also write a powershell script to move a computer based on a field within the object itself.
0
 
QlemoC++ DeveloperCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Tackle projects and never again get stuck behind a technical roadblock.
Join Now