• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 232
  • Last Modified:

Default location for newly created users and computers

As mentioned in http://support.microsoft.com/Default.aspx?id=324949, we can redirect the default location of users and computers. My question is, Can we do it based on the IP to Site assignment? We have sites defined in the AD and the relevant IP ranges are also defined. We want the new computers and users to be stored in different locations depending on the IP address of the originating host. Any clues?
0
Imran Hashim
Asked:
Imran Hashim
  • 2
  • 2
1 Solution
 
Imran HashimSr. IT Infrastructure ConsultantAuthor Commented:
And another thing to check is that if joining computer is a server, it should go to another OU.
0
 
CoccoBillCommented:
To my knowledge that's only possible with 3rd party tools or scripting. You could create a script that's used when creating user and computer accounts that place them on certain OUs based on their site/ip-address.

http://www.microsoft.com/technet/scriptcenter/scripts/ad/users/manage/usmgvb06.mspx
http://www.microsoft.com/technet/scriptcenter/scripts/ad/computer/cptrvb02.mspx
http://www.microsoft.com/technet/scriptcenter/tools/scripto2.mspx
0
 
Imran HashimSr. IT Infrastructure ConsultantAuthor Commented:
Thanks CoccoBill. But this is already known. We can even write scripts to find specific computers and move to OUs. What I am looking for is to have them there in first place.
0
 
CoccoBillCommented:
The only option I can see is changing the process of how user and computer accounts are created to use a script to place them in their correct locations, or to do it all manually. You can change the default container for created objects, but this cannot be made rule-based.

Easiest way to make sure no "rogue" accounts are created, is to remove the rights to create these objects from other people than the administrators/support personnel tasked with these duties. Delegate the "add workstations to domain" -right and the rights to create user and computer objects to only the specified users/groups and only on the desired OUs, and advice them to use scripts created for this purpose.
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

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