What is offline defragmentation in AD and how do we do it?

Answer Posted / yuvaraj.sengottaiyan

offline defragment is nothing but,just take the backup of
ntds.dit and rebooot the server press f8 and go to
directory service mode login as local admin password
Note:In case if you not able to login in local admin reset
the dsrm passowrd and try again.
once u logged successfully in the local admin then go to--
>cmd-->type -->ntdsutil-->press enter
type-->file and press enter once again type --info-->press
enter

Note:(file)This will cause NTDSUTIL to switch to the File
Maintenance prompt

(info)This will cause NTDSUTIL to display information about
the size and location of the Active Directory database


Now you can view the displays current
information about the path and size of the Active Directory
database and its log files

Type compact to drive:\directory, and then press ENTER,
where drive and directory is the path to the location you
established the database,here you can specifiy any drive
location and directory

EX:Note You must specify a directory path. If the path
contains any spaces, the entire path must be surrounded by
quotation marks. For example, type:
compact to "c:\new folder" or "D:\new folder"

A new database named Ntds.dit is created in the path you
specified

If defragmentation succeeds without errors, follow the
Ntdsutil.exe on-screen instructions. Delete all the log
files in the log directory by typing the following command:
del drive :\ pathToLogFiles \*.log

Atlast you Copy the new Ntds.dit file over the old Ntds.dit
file in the current Active Directory database

Restart the computer normally.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I know what version of windows 1903 I have?

438


Is there an alternative to windows?

423


How much does it cost to buy windows 10?

450


Where do I find my windows product key?

429


Can I reinstall windows 10 for free?

450






What is regsvr32?

437


How to split a string so that can access item x?

450


Which startup programs can I disable windows 10?

440


please tell me what is graphics card ,version , type slot

1646


Explain why screensaver is required in windows?

450


Can you cancel windows update in progress?

412


What is winsxs folder?

467


How do I fix windows 10 registry file is missing or corrupt?

432


What you will do to make your os as genuine?

460


How do I run vb6 on windows 7?

442