This post will show you how to use command line to rename your domain controller to alternate name. Note that alternate name must be available for DC we want to operate against. Lets say you have domain controller named “TestDC1″ with alternate name “TestDC2″ assigned to it. If you want to make “TestDC2″ primary name for your domain controller open command line on your Windows server 2003 and type:
netdom TestDC1 dc /makeprimary:TestDC2.testdomain.com
Note that netdom is part of Windows server 2003 support tools. They can be found on your OS CD (Support\Tools directory) .
This post will show you how to use command line tool netdom and add alternate name to your domain controller running on Windows server 2003. Lets say we have domain controller named “TestDC1.testdomain.com” and we want to add alternate name “TestDC2″. To do it open command line and type:
netdom TestDC1 dc /add:TestDC2.testdomain.com
Note that netdom is part of Windows server 2003 support tools. They can be found on your OS CD (Support\Tools directory) .
This post will show you how to check if your domain controller is healthy and is functioning in right way. Lets say we want to run check against server named “TestDC”. For this we will use domain admin account “testadmin” with password “Pa$$w0rd”. To start check open command line on your Windows server 2003 and type:
dcdiag /s:TestDC /u:testdomain.com\testadmin /p:*
After you will hit Enter password prompt will appear.
Note that dcdiag is part of Windows server 2003 support tools. They can be found on your OS CD (Support\Tools) .
If you want to list all domain controllers for your domain using command line this how to is for you. To list all DC for domain testdomain.com open command line in your Windows server 2008 and type:
nltest /dclist:testdomain.com
This command will also show you which server holds PDC role.
This post will show you how to install domain controller role on your Windows server 2008 using answer file. Lets say you have answer file “NewDCInstall” which is readied for domain services install. Open command line and type:
dcpromo /answer:NewDCInstall