Professional Documents
Culture Documents
Setup A Domain Controller With Windows 2012 Server Core
Setup A Domain Controller With Windows 2012 Server Core
Email
Subscribe
Server Core, introduced with Windows Server 2008, is a lean and mean
installation option for Windows Server 2012. It is a GUI-free, or
“headless,” operating system. Eliminating the GUI on the server o ers
many advantages; in fact, Microsoft believes in Server Core so strongly
that it is the default installation option in Windows Server 2012.
https://www.petri.com/setup-domain-controller-windows-2012-server-core 1/12
11/5/2019 Setup a Domain Controller with Windows 2012 Server Core
One of the best uses for Server Core in Windows Server 2012 is as an
Active Directory Domain Controller. Why? For starters, Server Core
minimizes the Windows components installed. Fewer components
mean fewer security patches and Windows updates. It also means a
lower attack surface making the server easier to protect from malware.
Less running processes and services reduce the opportunity for system
crashes and hangs.
https://www.petri.com/setup-domain-controller-windows-2012-server-core 2/12
11/5/2019 Setup a Domain Controller with Windows 2012 Server Core
SECTIONS
Type 8 and press Enter to select Network Settings from the menu.
Type the Index# for the network adapter to change from the
displayed list.
Type 1 and press Enter to select the menu option to Set Network
Adapter Address.
Type S and press Enter to select the option for a Static IP.
TypeTOthe
WE USE COOKIES subnetYOUR
IMPROVE mask for the network
BROWSING and then press Enter.
EXPERIENCE.
The settings will be applied and the Network Settings menu will be
redisplayed.
Down the road, this server will query the existing domain controllers in
the domain. It’s essential this works without any hiccups so set a DNS
Server address while still in the Network Settings menu.
Click OK when prompted that the Primary DNS Server has been set.
https://www.petri.com/setup-domain-controller-windows-2012-server-core 4/12
11/5/2019 Setup a Domain Controller with Windows 2012 Server Core
If a secondary DNS server exists for the domain, enter its IP address
when prompted for an alternate DNS server. If no secondary DNS
server exists, leave blank. Press Enter.
Click OK when prompted that the Alternate DNS Server has been
set. The Network Settings menu will be redisplayed.
Type 15 and press Enter to exit the Server Con guration Tool.
I bet a number of you are anticipating my usual “Do this in one step
with PowerShell” approach. Well, I have no intention of disappointing
anyone, so here we go!
Pay attention to the name displayed for the adapter you intend to
modify. Petri insider’s tip: In a fresh Server Core installation with
one network adapter installed, the name will be Ethernet by default.
Type the
WE USE COOKIES TOfollowing
IMPROVE cmdlet, and replace
YOUR BROWSING the IPAddress parameter with
EXPERIENCE.
the static
Find out more IP to
about our assign
cookie thishere.
policy server. The InterfaceAlias parameter is the
https://www.petri.com/setup-domain-controller-windows-2012-server-core 5/12
11/5/2019 Setup a Domain Controller with Windows 2012 Server Core
PowerShell
1 New-NetIPAddress -IPAddress 10.0.10.142 -InterfaceAlias "Ethernet" -Def
Armed with the interface name retrieved earlier using the Get-
NetAdapter cmdlet, it’s time to set the DNS servers using the Set-
DNSClientServerAddress cmdlet. The IPs entered for the
ServerAddresses parameter are the primary and secondary DNS
servers.
PowerShell
1 Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses
Okay, technically that’s two cmdlets, but come on – it’s still way faster
than the non-PowerShell way!
PowerShell
1 Install-WindowsFeature AD-Domain-Services –IncludeManagementTools
First, don’t worry – this has zero impact on the installation of the AD
Services Role. If this is the only error you see, rest assured everything
installed just ne.
https://www.petri.com/setup-domain-controller-windows-2012-server-core 6/12
11/5/2019 Setup a Domain Controller with Windows 2012 Server Core
Third, if you absolutely will not sleep well knowing that Windows
Update is turned o even for a moment, don’t break out in a sweat just
yet: It can be enabled manually. Since I prefer that all IT admins be calm
and well rested as they read my Petri articles, here’s the process.
Type scon g.cmd and press Enter to start the Server Con guration
Tool.
Type 15 and press Enter to exit the Server Con guration Tool and
return to the PowerShell prompt.
Almost done! It’s now time to move forward with promoting the server
to function as a domain controller. In this scenario, the domain tree
where this DC will live is called awssol.com. Keep in mind that we’re
adding this DC to an existing domain and con guring this server as an
additional DNS server for the domain.
The system will prompt you to con rm that the server will be
con TO
WE USE COOKIES gured as a DC
IMPROVE and
YOUR rebooted.EXPERIENCE.
BROWSING Type A and press Enter to
con rm everything and get this train rolling.
Find out more about our cookie policy here.
https://www.petri.com/setup-domain-controller-windows-2012-server-core 7/12
11/5/2019 Setup a Domain Controller with Windows 2012 Server Core
The rst warning lets you know that Windows Server 2012 has defaults
for certain security settings that can a ect very old OSes on the
network such as Windows NT 4.0. The second warns that a DNS Server
delegation can’t be created. Since we’re installing DNS on this server as
part of the DC promotion process, both of these errors are safe to
ignore. Unless of course you are still running Windows NT 4.0 systems
on the network (in which case, what are you thinking? Get those servers
upgraded!)
I’m a big fan of Windows Server 2012 Server Core Active Directory
Domain Controllers and of Server Core in general, and I’ll have more
Server Core related articles here on Petri in the future. In the
meantime, why not turn all your AD DCs into Server Core machines?
MEMBER LOGIN:
Username/Email
Password
Keep me signed in
Forgot password?
Sign In
WE USE COOKIES TO IMPROVE YOUR BROWSING EXPERIENCE.
https://www.petri.com/setup-domain-controller-windows-2012-server-core 8/12
11/5/2019 Setup a Domain Controller with Windows 2012 Server Core
Don't have a login but want to join the conversation? Sign up for a Petri Account
Register
https://www.petri.com/setup-domain-controller-windows-2012-server-core 9/12
11/5/2019 Setup a Domain Controller with Windows 2012 Server Core
During his 20+ years in the IT industry, John has enjoyed the opportunity to work as a
consultant, architect, executive, speaker, and author. He’s been involved in multi-national
networking, messaging, and communications projects as well as nding solutions for small
mom and pop shops allowing them to use technology to increase business opportunity and
decrease operational complexity.
John has authored material for both Thomson-Reuters’ Aspatore Books and Exec Blueprints
publications. He regularly contributes technology articles to the Petri.co.il online community in
addition to developing exciting training courses for the best IT training company in the world,
TrainSignal.
John often speaks at IT events around the nation. Recently he has been a featured presenter on
innovative technology solutions for the enterprise at conferences such as TechMentor,
Live!360, the NEOSA CIO Summit, and the Northeast Ohio Technology Summit. When he’s not
presenting at a conference, John can often be found leading informative webinars.
John is proud to be the North East Ohio Software Association’s CIO of the Year Award recipient
in 2012.
https://www.petri.com/setup-domain-controller-windows-2012-server-core 10/12
11/5/2019 Setup a Domain Controller with Windows 2012 Server Core
Sponsors
Email
Subscribe
https://www.petri.com/setup-domain-controller-windows-2012-server-core 11/12
11/5/2019 Setup a Domain Controller with Windows 2012 Server Core
https://www.petri.com/setup-domain-controller-windows-2012-server-core 12/12