Useful AD Commands

Just some useful commands in the Active Directory that I can never seem to remember:

Setting up the time service on your root PDC Emulator:

w32tm /config /manualpeerlist:0.134.1.152 /syncfromflags:MANUAL
w32tm /config /update

Check FSMO Roles:

netdom query fsmo

To ‘dcdiag’ ALL domain controllers in the Enterprise, use this:

dcdiag /e

Comments are closed.