welcome: please sign in
location: Windows2008Core
Configuring an Active Directory Domain Controller on Windows Server 2008 Core

There are times where you may need a domain controller (DC) handy, whether it be for a demo or to isolate your development test environment. With the forthcoming release of Windows Server 2008 you have a new lightweight option to get a domain controller running using the Core installation. If you want to build your own DC using the Core installation of Windows Server 2008 here are the steps:

1. Install [http://technet2.microsoft.com/windowsserver2008/en/library/47a23a74-e13c-46de-8d30-ad0afb1eaffc1033.mspx?mfr=true Windows Server 2008 Core from the installation media]
2. Change your computer name to an easy-to-remember name:
    [http://technet2.microsoft.com/WindowsServer/en/Library/460e3705-9e5d-4f9b-a139-44341090cfd41033.mspx NetDom] RenameComputer %ComputerName% /NewName:DC
3. Reboot your server to allow the name change to take effect:
    [http://technet2.microsoft.com/windowsserver/en/library/68a1aa8e-9d4b-420d-9fdc-6988603c07361033.mspx Shutdown] /R /T 0
4. Determine the identifier of your network interface:
    [http://technet2.microsoft.com/WindowsServer/en/Library/61427fbd-de1f-4c8a-b613-321f7a3cca6a1033.mspx NetSh] Interface IPv4 Show Interfaces
5. Assign a static IP address to your network interface and set the DNS server to the local machine:
    [http://technet2.microsoft.com/WindowsServer/en/Library/61427fbd-de1f-4c8a-b613-321f7a3cca6a1033.mspx NetSh] Interface IPv4 Set Address Name="2" Source=Static Address= Mask= Gateway=
6. Add the Active Directory Domain Services role:
    [http://technet2.microsoft.com/windowsserver2008/en/library/bcd89659-402d-46fb-8535-8da1feb8d4111033.mspx?mfr=true DCPromo] /InstallDNS:Yes /DNSOnNetwork:No
        /NewDomain:Forest /ForestLevel:3 /ReplicaOrNewDomain:Domain
        /NewDomainDNSName:"contoso.local" /DomainNetBIOSName:"CONTOSO"
7. If you are connected to another network and want to be able to resolve external addresses configure your DNS Server's forwarders:
    [http://technet2.microsoft.com/windowsserver/en/library/5c497b2e-3387-4ecf-adf5-562045620a961033.mspx?mfr=true DNSCmd] /ResetFowarders

With your new domain controller up and running you can now have machines join the domain and manage the objects using the directory services command line tools.

Windows2008Core (last edited 2009-01-27 13:52:23 by localhost)