Directory Database File Management Tasks

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Task Permissions Required to Perform Task

Perform an online defragmentation of the Ntds.dit database

Add the doOnlineDefrag attribute to the rootDSE object & set its value equal to set to number in seconds the online defrag should run

Extended Right Do-Garbage-Collection on NTDS-Settings object CN=NTDS Settings, CN=<Server>, CN=<Site>,CN=Sites, CN=Configuration, DC=<forestRootDomain>

Perform an offline defragmentation of the Ntds.dit database

Full control on ntds.dit file and on the folder containing the logs (default location: systemroot\NTDS\ )

Move the Ntds.dit file to a new location

WP on HKLM/System/CCS/Services/NTDS/Parameters,

Full control on the ntds.dit file

Full control on source and target folders

Move the directory service log files to a new location

WP on HKLM/System/CCS/Services/NTDS/Parameters,

Full control on the log folders

Full control on source and target folders

Perform a soft recovery of the database

Full control on ntds.dit file and on the folder containing the logs (default location: systemroot \NTDS\ )

Specify the location of the Ntds.dit file

WP on HKLM/System/CCS/Services/NTDS/Parameters

Read Control and Modify Permissions required on .dit file

Specify the location of the log files

WP on HKLM/System/CCS/Services/NTDS/Parameters

Read Control and Modify Permissions required on the log folder

Specify the Active Directory working directory

WP on HKLM/System/CCS/Services/NTDS/Parameters

Read Control and Modify Permissions required on the working directory folder

Restore Database/Subtree of database

Full control on ntds.dit file and on the folder containing the logs (default location: systemroot\NTDS\ )

Perform semantic database analysis

Full control on ntds.dit file and on the folder containing the logs (default location: systemroot\NTDS\ )