Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

February 12, 2009 12:00 AM

Q: How can I change the default Active Directory (AD) location that’s used when no explicit location is specified for new user and computer accounts?

Windows IT Pro
InstantDoc ID #101228
Rating: (3)

A: By default, new user and computer accounts are put in the predefined AD Users and Computers containers. Microsoft created these containers for interoperability with Windows NT 4.0 domains. When you upgrade a Windows domain from NT 4.0 to Windows 2000, Dcpromo puts all existing user accounts in the Users AD container and all existing computer accounts in the Computers AD container.

The Users and Computers containers aren't AD organizational units (OUs), so you can't link OU-level Group Policy Objects (GPOs) to them. You can, however, subject objects in the Users and Computers containers to domain-level and site-level GPOs. If you want to use OU-level GPOs for your user and computer objects, you must create proper AD OUs. If you do so, it's a good practice to change the default location for new user and computer objects. Changing the default location can be handy when, for example, you script the creation of AD accounts and you don't explicitly provide an AD location. To change the default location, use the Redirusr and Redircmp command-line utilities.

To change the default location of new user accounts to an OU named usersou in the contoso.com domain, use following command.

redirusr ou=usersou,dc=contoso,dc=com

Before you run Redirusr or Redircmp you should make sure that the new default containers actually exist in AD. Also, to use Redirusr and Redircmp your domains must be at the Windows Server 2003 functional level—they can contain only Windows 2003 Domain Controllers (DCs), not Win2K or NT 4.0 DCs. When you change the default location, the DC with the PDC emulator Flexible Single-Master Operation role should be online. The default location changes are written to the wellKnownObjects attribute of the AD domain object on the PDC emulator.

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.