Ntdsutil (2024)

Table of Contents
In this article Syntax Commands

Applies To: Windows Server 2003, Windows Server 2008, Windows Server 2003 R2, Windows Server 2008 R2, Windows Server 2012, Windows Server 2003 with SP1, Windows 8

Ntdsutil.exe is a command-line tool that provides management facilities for Active Directory Domain Services (ADDS) and Active Directory Lightweight Directory Services (ADLDS). You can use the ntdsutil commands to perform database maintenance of ADDS, manage and control single master operations, and remove metadata left behind by domain controllers that were removed from the network without being properly uninstalled. This tool is intended for use by experienced administrators.

Ntdsutil.exe is built into Windows Server2008 and Windows Server2008R2. It is available if you have the ADDS or the ADLDS server role installed. It is also available if you install the ActiveDirectory Domain Services Tools that are part of the Remote Server Administration Tools (RSAT). For more information, see How to Administer Microsoft Windows Client and Server Computers Locally and Remotely (https://go.microsoft.com/fwlink/?LinkID=177813).

To use Ntdsutil.exe, you must run the ntdsutil command from an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator.

If you have the ADLDS server role installed but not the ADDS server role, you can use the dsdbutil.exe and dsmgmt.exe command-line tools to perform the same tasks that you can perform with ntdsutil.exe. For more information about the dsdbutil command, see Dsdbutil. For more information about the dsmgmt command, see Dsmgmt.

For most of the Ntdsutil commands, you only need to type the first few characters of the command name instead than the entire command. For example, you can type either of the following commands to activate an instance for ADDS:

activate instance ntdsac i ntds

The short form for each command is listed in the following table.

Syntax

Ntdsutil [activate instance %s | authoritative restore | change service account %s1 %s2 | configurable settings | DS behavior | files | group membership evaluation | Help | ifm | ldap policies | ldap port %d | list instance | local roles | metadata cleanup | partition management | popups on | popups off | quit | roles | security account management | semantic database analysis | set DSRM password | snapshot | SSL port %d]

Commands

Command

Description

Activate instance %s

short form: ac i %s

Sets NTDS or a specific ADLDS instance as the active instance.

authoritative restore

Short form: au r

Authoritatively restores the Active Directory database or ADLDS instance.

Change service account %s1 %s2

Changes the ADLDS service account to user name %s1 and password %s2. Use "NULL" for a blank password. Use * to prompt the user to enter a password.

configurable settings

Short form: co s

Manages configurable settings.

DS behavior

Short form: ds b

Views and modifies ADDS or ADLDS behavior.

files

Short form: f

Manages ADDS or ADLDS database files.

group membership evaluation

Short form: g m e

Evaluates security IDs (SIDs) in the token for a given user or group.

Help

Shows this help information.

ifm

Short form: i

Creates installation media for writable (full) and read-only domain controllers (RODCs) and instances of ADLDS.

LDAP policies

Manages Lightweight Directory Access Protocol (LDAP) protocol policies.

Ldap port %d

Configures an LDAP port for an ADLDS instance.

List instances

Short form: li i

Lists all ADLDS instances that are installed on a computer.

local roles

Short form: lo r

Manages local administrative roles on an RODC.

metadata cleanup

Short form: m c

Cleans up objects of decommissioned servers.

partition management

Short form: pa m

Manages directory partitions.

Popups off

Short form: po off

Disables popups.

Popups on

Short form: po on

Enables popups.

Quit

Short form: q

Quits the command.

roles

Short form: r

Transfers and seizes operations master roles.

security account management

Short form: sec a m

Manages SIDs.

semantic database analysis

Short form: sem d a

Verifies integrity of ADDS or ADLDS database files with respect to Active Directory semantics.

set DSRM password

Short form: set d p

Resets the Directory Services Restore Mode (DSRM) administrator password.

snapshot

Short form: sn

Manages snapshots of the volumes that contain the Active Directory database and log files.

SSL port %d

Configures a Secure Sockets Layer (SSL) port for an AD LDS instance.

Ntdsutil (2024)
Top Articles
How to End a Personal Statement: Strong Tips And Examples
Professional CV Profile Summary (25+ Examples)
Foxy Roxxie Coomer
Duralast Gold Cv Axle
Truist Bank Near Here
Practical Magic 123Movies
Kobold Beast Tribe Guide and Rewards
Crossed Eyes (Strabismus): Symptoms, Causes, and Diagnosis
Bjork & Zhulkie Funeral Home Obituaries
Los Angeles Craigs List
Tracking Your Shipments with Maher Terminal
Shreveport Active 911
Kris Carolla Obituary
2016 Ford Fusion Belt Diagram
Gon Deer Forum
Bitlife Tyrone's
Overton Funeral Home Waterloo Iowa
Driving Directions To Bed Bath & Beyond
Clear Fork Progress Book
라이키 유출
Tygodnik Polityka - Polityka.pl
A Biomass Pyramid Of An Ecosystem Is Shown.Tertiary ConsumersSecondary ConsumersPrimary ConsumersProducersWhich
Georgia Cash 3 Midday-Lottery Results & Winning Numbers
Cpt 90677 Reimbursem*nt 2023
Craigslist Ludington Michigan
Pixel Combat Unblocked
Tottenham Blog Aggregator
Pfcu Chestnut Street
Metro By T Mobile Sign In
Graphic Look Inside Jeffrey Dresser
2016 Honda Accord Belt Diagram
Does Iherb Accept Ebt
Synchrony Manage Account
Myql Loan Login
Mcgiftcardmall.con
2008 DODGE RAM diesel for sale - Gladstone, OR - craigslist
Paperless Employee/Kiewit Pay Statements
Anhedönia Last Name Origin
Amc.santa Anita
Strange World Showtimes Near Century Stadium 25 And Xd
Port Huron Newspaper
Tacos Diego Hugoton Ks
Phmc.myloancare.com
Dying Light Mother's Day Roof
Das schönste Comeback des Jahres: Warum die Vengaboys nie wieder gehen dürfen
Mlb Hitting Streak Record Holder Crossword Clue
Random Warzone 2 Loadout Generator
Quest Diagnostics Mt Morris Appointment
Julies Freebies Instant Win
Fallout 76 Fox Locations
Goosetown Communications Guilford Ct
Latest Posts
Article information

Author: Sen. Emmett Berge

Last Updated:

Views: 6064

Rating: 5 / 5 (80 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Sen. Emmett Berge

Birthday: 1993-06-17

Address: 787 Elvis Divide, Port Brice, OH 24507-6802

Phone: +9779049645255

Job: Senior Healthcare Specialist

Hobby: Cycling, Model building, Kitesurfing, Origami, Lapidary, Dance, Basketball

Introduction: My name is Sen. Emmett Berge, I am a funny, vast, charming, courageous, enthusiastic, jolly, famous person who loves writing and wants to share my knowledge and understanding with you.