Windows Server 2008 Core: Add a domain controller to a Windows Server 2003 forest
Today I installed my first Windows Server 2008 Core server. Windows Server 2008 introduces the Server Core installation option, and I wanted to learn more about it. I planned to use this server as an additional Active Directory domain controller.
Before promoting the new Core server in my Windows Server 2003 test domain, I had to run adprep.exe to prepare the schema for the new server release.
Prepare Windows Server 2003 Active Directory
- Copy the \Sources\adrep folder from the Windows Server 2008 DVD and sign in to the AD schema domain controller.
- Open a CMD.exe prompt.
- Go to the directory and run adprep.exe /forestprep.
- After forest preparation finishes, run adprep.exe /domainprep /gpprep. Make sure the domain functional level is Windows 2003 native mode.
Promote Server Core to a domain controller
Create a text file named ntds_dcpromo_newdc.txt and paste in the following example. Change the domain to match your environment.
| |
- Install DNS Server by running ocsetup DNS-Server-Core-Role.
- Run dcpromo /unattend:ntds_dcpromo_newdc.txt.
The installation ran smoothly, and the new server worked as planned.