|
|
NTDSUTIL is a command line utility that has an interactive hierarchy of menus. Command line utilities can easily be run in the startup Directory Service Restore mode as is required for offline defragmentation. Each menu is identified by a unique command prompt to help the user determine the current location in the hierarchy. This doesn't help much and it is easy to get lost. Each menu has a different set of commands. To determine which command are available enter '?' and an annotated list of command and submenus is presented. The quit command takes you up one level in the menu hierarchy. Complex commands can be shortened, provided
they remain unique. For example, An administrator can interactively navigate the menu hierarchy, or all of the commands can be typed on one line. For example consider the following command to list all domains on srvr.newdomain.com. ntdsutil "domain management" connections "connect to server srvr.newdomain.com quit "select operation target" "list domains" quit quit quit or shorten to ntdsutil "d m" c "co t s srvr.newdomain.com" q "s o t" "l d" q q q Typing NTDSUTIL ? will provide basic help information as shown below. Microsoft(R) Windows(TM) Directory Service Utilities Version 2.0Copyright (C) Microsoft Corporation 1991-2002. All Rights Reserved. NtdsUtil performs database maintenance of the Active Directory store, management and control of the Flexible Single Master Operations (FSMO), and cleaning up of metadata left behind by abandoned domain controllers, those which are removed from the network without being uninstalled. This is an interactive tool. Type "help" at the prompt for more information. ? - Show this help information Authoritative restore - Authoritatively restore the DIT database Configurable Settings - Manage configurable settings Domain management - Prepare for new domain creation Files - Manage NTDS database files Help - Show this help information LDAP policies - Manage LDAP protocol policies Metadata cleanup - Clean up objects of decommissioned servers Popups %s - (en/dis)able popups with "on" or "off" Quit - Quit the utility Roles - Manage NTDS role owner tokens Security account management - Manage Security Account Database - Duplicate SID Cleanup Semantic database analysis - Semantic Checker Set DSRM Password - Reset directory service restore mode administrator account password domain
management: help
Try NTDSUtil in interactive mode and try the following operations. ntdsutil "domain management" connections "connect to server srvr.newdomain.com quit "select operation target" "list domains" quit quit quit |
|
|