Previous Section
 < Day Day Up > 
Next Section


Chapter 12: Managing Computer Accounts and Domain Controllers

The focus of this chapter is on managing domain computer accounts, which control access to the network and its resources. Like user accounts, domain computer accounts have attributes that you can manage, including names and group memberships. You can add computer accounts to any container or OU in the Active Directory directory service. However, the best containers to use are Computers, Domain Controllers, and any OUs that you’ve created. The standard Microsoft Windows tool for working with computer accounts is Active Directory Users And Computers. At the command line, you have many commands; each with a specific use. Whether you are logged on to a Windows XP Professional or Windows Server 2003 system, you can use the techniques discussed in this chapter to manage computer accounts and domain controllers.

Overview of Managing Computer Accounts from the Command Line

Two sets of command-line utilities are available for managing domain computer accounts. The first set can be used with any type of computer account, including workstations, member servers, and domain controllers. The second set of commands is used only with domain controllers and designed to help you manage their additional features and properties.

In addition to DSQUERY computer discussed in the previous chapter, the general computer account commands include

Tip 

For any of the computer and server commands, you can use input from DSQUERY to specify the object or objects you want to work with. If you want to type the distinguished names (DNs) for each object you want to work with, you can do this as well. Simply separate each DN with a space.

In addition to DSQUERY server, discussed in the previous chapter, the utilities for managing the additional features of domain controllers include

Note 

Another useful command for working with domain controllers and Active Directory is NTDSUTIL. NTDSUtil is a text-mode command interpreter that you invoke so that you can manage directory services using a separate command prompt and internal commands. You invoke the NTDSUtil interpreter by typing ntdsutil in a command window and pressing Enter.



Previous Section
 < Day Day Up > 
Next Section