Managing Active Directory from Command Line

Friday, June 25, 2010
By Susanta K Beura
tinyJOBs

Several tools are included with Windows Server 2008 R2, that let you manage Active Directory from the command line. Here’s a look at some key tools and what they do.

Adprep Prepares a Windows forest or domain for installation of Windows domain controllers (DCs). To prepare a forest or a domain, use adprep /forestprep and adprep /domainprep, respectively. (Note that for Windows Server 2003 SP1 or later, a domain’s Group Policy isn’t automatically updated. To prepare Group Policy for the domain, you must use the command adprep /domainprep /gpprep. This modifies the access control entries (ACEs) for all Group Policy object (GPO) folders in the SYSVOL directory to grant read access to all enterprise domain controllers. This level of access is required to support RSoP for site-based policy. Because this security change causes the NT File Replication Service (NTFRS) to resend all GPOs to all domain controllers, you should use adprep /domainprep /gpprep only after careful planning.)

Dsadd Adds computers, contacts, groups, organizational units, and users to Active Directory. Type dsadd objectname /? at a command prompt to display help information about using the command, such as dsadd computer /?.

Dsget Displays properties of computers, contacts, groups, organizational units, users, sites, subnets, and servers registered in Active Directory. Type dsget objectname /? at a command prompt to display help information about using the command, such as dsget subnet /?.

Dsmod Modifies properties of computers, contacts, groups, organizational units, users, and servers that exist in Active Directory. Type dsmod objectname /? at a command prompt to display help information about using the command, such as dsmod server /?.

Dsmove Moves a single object to a new location within a single domain or renames the object without moving it. Type dsmove /? at a command prompt to display help information about using the command.

Dsquery Uses search criteria to find computers, contacts, groups, organizational units, users, sites, subnets, and servers in Active Directory. Type dsquery /? at a command prompt to display help information about using the command.

Dsrm Removes objects from Active Directory. Type dsrm /? at a command prompt to display help information about using the command.

Ntdsutil Allows the user to view site, domain, and server information; manage operations masters; and perform database maintenance of Active Directory. Type ntdsutil /? at a command prompt to display help information about using the command.



List Price: $34.99 USD
New From: $20.00 In Stock
Used from: $24.93 In Stock




List Price: $34.99 USD
New From: $10.17 In Stock
Used from: $10.16 In Stock




List Price: $34.99 USD
New From: $3.95 In Stock
Used from: $3.90 In Stock




List Price: $29.99 USD
New From: $1.94 In Stock
Used from: $3.74 In Stock

Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

Related posts:

  1. Configure Windows Server 2008 With Command Line Tools See larger image Windows Command-Line Administrator's Pocket Consultant, 2nd...
  2. Windows Firewall with Advanced Security Using Command Line Netsh advfirewall is a command-line tool for Windows Firewall with...
  3. Windows 7 Power Configurations: Manage from the Command Line See larger image Windows PowerShell Pocket Reference (Pocket Reference...
  4. Download a Set of Free Tools for Managing Hyper-V R2 Windows Server 2008 R2 Hyper-V can be managed locally or...
  5. Command-Line Switches for Disk Cleanup See larger image Windows Command-Line Administrator's Pocket Consultant, 2nd...

Related posts brought to you by Yet Another Related Posts Plugin.

Tags: , , , , , , , , , , , , , , , , , , , , , , , , ,

Leave a Reply

Please Support Us!

Site Status


226
Unique Visitors
Yesterday
Powered By Google Analytics

SEO Powered By SEOPressor