The active directory databasemust be stopped in order to defragment the database or clean up its metadata how can you stop active directory database without booting into domain services recovery mode by RUNNING THE NET STOP NTDS COMMAND.
Step-by-step explanation:
- Windows NT Directory Services, or NTDS, is the directory services used by Microsoft Windows NT to locate, manage, and organize network resources.
- At the command, type net stop ntds and press Enter. When prompted to stop additional services, press Y to confirm. This stops AD and related services.
- An offline defragmentation compacts the file, and you can compact the file only when AD is not running. You can stop the service with the net stop ntds command. It's not necessary to reboot into Directory Services Restore Mode.