<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Windows Server HQ by Train Signal.com &#187; DHCP</title>
	<atom:link href="http://windowsserver.trainsignal.com/tag/dhcp/feed" rel="self" type="application/rss+xml" />
	<link>http://windowsserver.trainsignal.com</link>
	<description>We are here to help you learn Windows Server!</description>
	<lastBuildDate>Fri, 20 Aug 2010 16:23:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Lesson 4: Windows Server Core and DHCP Servers in Server 2008</title>
		<link>http://windowsserver.trainsignal.com/server-core-and-dhcp-servers-in-server-2008</link>
		<comments>http://windowsserver.trainsignal.com/server-core-and-dhcp-servers-in-server-2008#comments</comments>
		<pubDate>Sat, 14 Feb 2009 07:24:27 +0000</pubDate>
		<dc:creator>Coach Culbertson</dc:creator>
				<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[MMC]]></category>
		<category><![CDATA[Remote Server Administration Tools]]></category>
		<category><![CDATA[RSAT]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Server 2008 Training]]></category>
		<category><![CDATA[Server Core]]></category>

		<guid isPermaLink="false">http://windowsserver.trainsignal.com/?p=3820</guid>
		<description><![CDATA[Now that you know how to install Server 2008 and Active Directory and create users and groups let’s move on to Server Core and DHCP.
So what is Server Core? Well it’s basically a stripped down version of Server 2008 and there are a lot of neat things about it.
Today we’ll focus on Server Core and [...]

<h3>Related posts:<ul><li><a href='http://windowsserver.trainsignal.com/server-2008-file-and-print-servers' rel='bookmark' title='Permanent Link: Lesson 5: Windows Server 2008 File and Print Servers'>Lesson 5: Windows Server 2008 File and Print Servers</a></li>
<li><a href='http://windowsserver.trainsignal.com/server-2008-iis-7-web-servers' rel='bookmark' title='Permanent Link: Lesson 7: Server 2008 IIS 7 Web Servers'>Lesson 7: Server 2008 IIS 7 Web Servers</a></li>
<li><a href='http://windowsserver.trainsignal.com/server-2008-terminal-services' rel='bookmark' title='Permanent Link: Lesson 8: Windows Server 2008 Terminal Services'>Lesson 8: Windows Server 2008 Terminal Services</a></li>
</ul></h3>]]></description>
			<content:encoded><![CDATA[<p>Now that you know how to <a href="http://windowsserver.trainsignal.com/new-to-server-2008-no-problem-learn-how-to-install-windows-2008-server-and-active-directory">install Server 2008 and Active Directory</a> and <a href="http://windowsserver.trainsignal.com/part-2-learn-about-active-directory-users-and-groups-in-windows-server-2008">create users and groups</a> let’s move on to Server Core and DHCP.</p>
<p>So what is Server Core? Well it’s basically a stripped down version of Server 2008 and there are a lot of neat things about it.</p>
<p>Today we’ll focus on Server Core and the DHCP role and I’ll demonstrate the installation, configuration and setup steps.</p>
<p><center><script src="http://player.ooyala.com/player.js?width=480&#038;height=360&#038;embedCode=5kMW1uOsZsyt9wt-Kh2DV8jjmkHeYOzu"></script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="ooyalaPlayer_8rfch_fwl7ye54" width="480" height="360" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><param name="movie" value="http://player.ooyala.com/player.swf?embedCode=5kMW1uOsZsyt9wt-Kh2DV8jjmkHeYOzu&#038;version=2" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="flashvars" value="embedType=noscriptObjectTag&#038;embedCode=5kMW1uOsZsyt9wt-Kh2DV8jjmkHeYOzu" /><embed src="http://player.ooyala.com/player.swf?embedCode=5kMW1uOsZsyt9wt-Kh2DV8jjmkHeYOzu&#038;version=2" quality="high" bgcolor="#000000" width="480" height="360" name="ooyalaPlayer_8rfch_fwl7ye54" align="middle" play="true" loop="false" quality="high" allowscriptaccess="always" allowfullscreen="true" type="application/x-shockwave-flash" flashvars="&#038;embedCode=5kMW1uOsZsyt9wt-Kh2DV8jjmkHeYOzu" pluginspage="http://www.adobe.com/go/getflashplayer"></embed></object></noscript></center></p>
<p><span id="more-3820"></span><br />
<br />
Here’s what we cover today:</p>
<ul>
<li><strong>Server Core </strong>&#8211; we’ll talk about what Server Core is, how to best utilize it and what the pros and cons of using the core are. I’ll also go over the Server Core roles and when they come in handy.</li>
<p></p>
<li><strong>Server Core install and core commands</strong> &#8212; next we’ll look at the installation and the Core commands that you need to know for things like getting system information, renaming the machine, or joining a domain. I’ll also demonstrate how to use the command line here.</li>
<p></p>
<li><strong>DHCP Role installation</strong> &#8212; now we move on to installing the DHCP role and the critical commands that you need to know to perform the install, configuration and starting the DHCP service</li>
<p></p>
<li><strong>Setting up the Firewall</strong> &#8212; we’ll do this so that we can perform remote administration using MMC on our Server Core</li>
<p></p>
<li><strong>Installing RSAT</strong> &#8212; in setting up the Firewall, you may need to install the Remote Server Administration Tools (RSAT) to include the MMC Snap-in for a particular role, so I’ll show you how to do that</li>
<p></p>
<li><strong>Creating an MMC</strong> &#8212; since not everybody thinks the command line is cool, we’ll use the MMC to connect to our DHCP server</li>
</ul>
<h2>Free Instant Download</h2>
<p style="text-align: center;"><strong>Download this lesson in high-quality WMV video format</strong></p>
<p><strong></strong></p>
<p style="text-align: center;"><a href="http://windowsserver.trainsignal.com/videos/win2008-intro/3-windows-server-core-and-dhcp-servers.wmv"><img class="size-full wp-image-3969 aligncenter" title="Download the Full Training Video" src="http://windowsserver.trainsignal.com/wp-content/uploads/2009/02/ts-video-icon.jpg" alt="Download the Full Training Video" width="150" height="94" /></a></p>
<p style="text-align: center;"><strong>Or, download in iPod/iPhone format to watch on the go</strong></p>
<p style="text-align: center;"><a title="What is Server Core 2008?" href="http://windowsserver.trainsignal.com/videos/win2008-intro-ipod/3-windows-server-core-and-dhcp-servers.m4v" target="_blank"><img class="alignnone size-full wp-image-3971" title="Download this video in iPod/iPhone Format" src="http://windowsserver.trainsignal.com/wp-content/uploads/2009/02/ipod-icon.png" alt="Download this video in iPod/iPhone Format" width="50" height="50" /></a></p>
<div class="series_articles">
<h3 class="articles">Other Lessons in this Series</h3>
<ul class="articles">
<li><a href="http://windowsserver.trainsignal.com/new-to-server-2008-no-problem-learn-about-server-2008-for-free">Lesson 1: Welcome to Server 2008 Essentials</a></li>
<li><a href="http://windowsserver.trainsignal.com/install-server-2008-install-active-directory">Lesson 2: How to Install Server 2008 and Active Directory</a></li>
<li><a href="http://windowsserver.trainsignal.com/server-2008-active-directory-users-and-groups">Lesson 3: Active Directory Users and Groups in Server 2008</a></li>
<li><a href="http://windowsserver.trainsignal.com/server-2008-file-and-print-servers">Lesson 5: Windows Server 2008 File and Print Servers</a></li>
<li><a href="http://windowsserver.trainsignal.com/server-2008-rodc-read-only-domain-controllers">Lesson 6: Server 2008 RODC &#8211; Read Only Domain Controllers</a></li>
<li><a href="http://windowsserver.trainsignal.com/server-2008-iis-7-web-servers">Lesson 7: IIS 7 Web Servers</a></li>
<li><a href="http://windowsserver.trainsignal.com/server-2008-terminal-services">Lesson 8: Windows Server 2008 Terminal Services</a></li>
<li><a href="http://windowsserver.trainsignal.com/learn-about-windows-server-2008-deployment-services">Lesson 9: WDS &#8211; Windows Deployment Services</a></li>
<li><a href="http://windowsserver.trainsignal.com/mcitp-certifications">Lesson 10: MCITP Certifications: Exam requirements and upgrade paths</a></li>
</ul>
</div>


<h3>Related posts:<ul><li><a href='http://windowsserver.trainsignal.com/server-2008-file-and-print-servers' rel='bookmark' title='Permanent Link: Lesson 5: Windows Server 2008 File and Print Servers'>Lesson 5: Windows Server 2008 File and Print Servers</a></li>
<li><a href='http://windowsserver.trainsignal.com/server-2008-iis-7-web-servers' rel='bookmark' title='Permanent Link: Lesson 7: Server 2008 IIS 7 Web Servers'>Lesson 7: Server 2008 IIS 7 Web Servers</a></li>
<li><a href='http://windowsserver.trainsignal.com/server-2008-terminal-services' rel='bookmark' title='Permanent Link: Lesson 8: Windows Server 2008 Terminal Services'>Lesson 8: Windows Server 2008 Terminal Services</a></li>
</ul></h3>]]></content:encoded>
			<wfw:commentRss>http://windowsserver.trainsignal.com/server-core-and-dhcp-servers-in-server-2008/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Configure DHCP on Windows Server 2008</title>
		<link>http://windowsserver.trainsignal.com/configure-dhcp-on-windows-server-2008</link>
		<comments>http://windowsserver.trainsignal.com/configure-dhcp-on-windows-server-2008#comments</comments>
		<pubDate>Thu, 11 Dec 2008 14:00:13 +0000</pubDate>
		<dc:creator>Dave Lawlor</dc:creator>
				<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[IP Address]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.trainsignaltraining.com/?p=2163</guid>
		<description><![CDATA[In my last article, Installing DHCP Role, I talked about what DHCP is and how it works then walked you through installing the role on your server.
The problem of course being that since we skipped setting up scopes, the server is unable to service clients.
We are going to fix that with this article because we [...]

<h3>Related posts:<ul><li><a href='http://windowsserver.trainsignal.com/install-dhcp-role-on-windows-server-2008' rel='bookmark' title='Permanent Link: Install DHCP Role on Windows Server 2008'>Install DHCP Role on Windows Server 2008</a></li>
<li><a href='http://windowsserver.trainsignal.com/configure-bind-dns-on-windows-web-server-2008' rel='bookmark' title='Permanent Link: Configure BIND DNS on Windows Web Server 2008 &#8211; Part 2'>Configure BIND DNS on Windows Web Server 2008 &#8211; Part 2</a></li>
<li><a href='http://windowsserver.trainsignal.com/how-to-install-configure-use-snmp-on-sever-2008' rel='bookmark' title='Permanent Link: How To Install, Configure &amp; Use SNMP on Sever 2008'>How To Install, Configure &amp; Use SNMP on Sever 2008</a></li>
</ul></h3>]]></description>
			<content:encoded><![CDATA[<p>In my last article, <a href="http://windowsserver.trainsignal.com/install-dhcp-role-on-windows-server-2008">Installing DHCP Role</a>, I talked about what DHCP is and how it works then walked you through installing the role on your server.</p>
<p>The problem of course being that since we skipped setting up scopes, the server is unable to service clients.</p>
<p>We are going to fix that with this article because we are going to go through and do some configuration on that DHCP server &#8212; by setting up a scope and some common client options that go with it.</p>
<h3>DHCP Scopes</h3>
<p>The first thing we are going to configure on the server is a scope. You might be wondering what a scope is, so let’s start with that.</p>
<p>A scope is a range of addresses that are allowed to be handed out by the DHCP server. Generally speaking there is only one scope per subnet, but there are exceptions to that called Super Scopes, but that is beyond the <em>scope</em> (no pun intended) of this article.</p>
<p><span id="more-2163"></span></p>
<p>Within the scope, you can also have Reservations and Exclusions which will do the following:</p>
<ul>
<li><strong>Reservations</strong> &#8212; You can setup certain IPs to be handed out for certain MAC addresses (a MAC address is the unique number for a network adapter). This is generally used for clients or devices that must always have the same IP but you still want to manage through DHCP Server for other options (DNS or Gateway for example)</li>
<p></p>
<li><strong>Exclusions</strong> &#8212; An exclusion is either a single IP or range that you do not want managed by the DHCP server. You would do this for the IPs that you would assign statically to devices like Servers that should always have the same IP.</li>
</ul>
<p>Hopefully before you even installed the DHCP server you have your network diagrammed out and should have to just plug-in the values that you have planned.</p>
<h3>Configure a DHCP IPv4 Scope</h3>
<p>I am going to walk you through configuring an IPv4 scope for the following IP range and settings:</p>
<blockquote><p>
<strong>192.168.10.2 – 192.168.10.230<br />
Subnet Mask: 255.255.255.0<br />
Exclusions: 192.168.10.200 – 192.168.10.230<br />
Reservation: 1 client computer at 192.168.10.190<br />
DNS: 192.168.10.200<br />
Gateway: 192.168.10.1<br />
Least Duration: 20 Days</strong>
</p></blockquote>
<p>Some of these are standard fare and others will be done under options. Let’s go ahead and start.</p>
<p><strong>1.</strong>	Go to <strong>Start, Administrative Tools</strong>, and click on <strong>DHCP</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-001.png" alt="Configure DHCP on Windows Server 2008 - 1" title="Configure DHCP on Windows Server 2008 - 1" align="middle" width="597" height="260" border="0" /></p>
<p><strong>2.</strong>	Expand out the server and right click on <strong>IPv4</strong>, then left click on <strong>New Scope</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-002.png" alt="Configure DHCP on Windows Server 2008 - 2" title="Configure DHCP on Windows Server 2008 - 2" align="middle" width="308" height="306" border="0" /></p>
<p><strong>3.</strong>	The New Scope Wizard starts up, go ahead and click <strong>Next</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-003.png" alt="Configure DHCP on Windows Server 2008 - 3" title="Configure DHCP on Windows Server 2008 - 3" align="middle" width="501" height="379" border="0" /></p>
<p><strong>4.</strong>	Go ahead and name your scope.  For this demo I am going to call it <strong>DHCPdemo</strong> and leave the  Description blank.  Fill in your name for the scope and click on <strong>Next</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-004.png" alt="Configure DHCP on Windows Server 2008 - 4" title="Configure DHCP on Windows Server 2008 - 4" align="middle" width="499" height="382" border="0" /></p>
<p><strong>5.</strong>	Now we are going to enter the IP range we are assigning to the scope.</p>
<p>In the <strong>Start IP address:</strong> I am going to place <strong>192.168.10.2</strong> and in the <strong>End IP address</strong>: I will place <strong>192.168.10.230</strong>.</p>
<p>For the subnet mask we are going to use <strong>255.255.255.0</strong>, and we can enter this either by using the length <strong>24</strong> or placing the <strong>255.255.255.0</strong> in the fields.</p>
<p>Once you fill in your information click <strong>Next</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-005.png" alt="Configure DHCP on Windows Server 2008 - 5" title="Configure DHCP on Windows Server 2008 - 5" align="middle" width="499" height="379" border="0" /></p>
<p><strong>6.</strong>	Now we are going to setup an exclusion range by entering the <strong>Start IP address:</strong> as <strong>192.168.10.200</strong> and then in the <strong>End IP address:</strong> place <strong>192.168.10.230</strong>.</p>
<p>After that click <strong>Add</strong> to place your exclusion range in place.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-006.png" alt="Configure DHCP on Windows Server 2008 - 6" title="Configure DHCP on Windows Server 2008 - 6" align="middle" width="496" height="383" border="0" /></p>
<p><strong>7.</strong>	Once the exclude range is in place then click <strong>Next</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-007.png" alt="Configure DHCP on Windows Server 2008 - 7" title="Configure DHCP on Windows Server 2008 - 7" align="middle" width="500" height="380" border="0" /></p>
<p><strong>8.</strong>	The Lease Duration window is now up and we are going to change this to <strong>20</strong> days.</p>
<p>You of course should change this to suit your environment, if you have a lot of mobile users you will want to do shorter lease duration, as you will want IPs to free up quicker as the users come and go.  After you set your lease time click <strong>Next</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-008.png" alt="Configure DHCP on Windows Server 2008 - 8" title="Configure DHCP on Windows Server 2008 - 8" align="middle" width="501" height="382" border="0" /></p>
<p><strong>9.</strong>	The wizard will now ask if you want to configure DHCP options.  There are quite a few options you can send to the DHCP clients, but there are a couple of major ones that make life simple, so select <strong>Yes, I want to configure these options now</strong> and then click <strong>Next</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-009.png" alt="Configure DHCP on Windows Server 2008 - 9" title="Configure DHCP on Windows Server 2008 - 9" align="middle" width="500" height="383" border="0" /></p>
<p><strong>10.</strong>	The first option to configure is <strong>Router (Default Gateway)</strong>, and we will put in the Router gateway for this subnet <strong>192.168.10.1</strong>, click <strong>Add</strong> and then click <strong>Next</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-010.png" alt="Configure DHCP on Windows Server 2008 - 10" title="Configure DHCP on Windows Server 2008 - 10" align="middle" width="504" height="385" border="0" /></p>
<p><strong>11.</strong>	Now we will setup the DNS Server; you can leave the <strong>Parent Domain</strong> blank and then fill in the DNS IP address of <strong>192.168.10.200</strong> and then click <strong>Add</strong>, then click <strong>Next</strong></p>
<p><strong>NOTE: If you followed the Install DHCP Role article there will already be a DNS server in place.  I have removed that so I can demonstrate adding it here.  </strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-011.png" alt="Configure DHCP on Windows Server 2008 - 11" title="Configure DHCP on Windows Server 2008 - 11" align="middle" width="499" height="381" border="0" /></p>
<p><strong>12.</strong>	If you need WINS Servers then place the information on this next screen and click on <strong>Next</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-012.png" alt="Configure DHCP on Windows Server 2008 - 12" title="Configure DHCP on Windows Server 2008 - 12" align="middle" width="499" height="381" border="0" /></p>
<p><strong>13.</strong>	The next screen asks you if you want to activate the scope.  I am going to go ahead and select <strong>Yes</strong>, but choose what works for you and click then on <strong>Next</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-013.png" alt="Configure DHCP on Windows Server 2008 - 13" title="Configure DHCP on Windows Server 2008 - 13" align="middle" width="499" height="380" border="0" /></p>
<p><strong>14.</strong>	You have successfully completed the New Scope wizard!  Click <strong>Finish</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-014.png" alt="Configure DHCP on Windows Server 2008 - 14" title="Configure DHCP on Windows Server 2008 - 14" align="middle" width="501" height="383" border="0" /></p>
<p>That’s it, now that you have configured the DHCP scope you should see it in the DHCP Manager:</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-015.png" alt="Configure DHCP on Windows Server 2008 - 15" title="Configure DHCP on Windows Server 2008 - 15" align="middle" width="426" height="302" border="0" /></p>
<h3>Setup DHCP Reservation</h3>
<p>The one thing we did not do in the wizard is setup our DHCP reservation. As I mentioned above, a reservation guarantees the same IP address to a client using their MAC address as the identifier.</p>
<p>I setup an XP client and used the <strong>IPconfig /all</strong> cmd to find its MAC address of <strong>00-03-FF-2F-95-0C</strong>.  You can also see from the screen shot that the XP machine was serviced by our DHCP server and received the very first address of <strong>192.168.10.2</strong>, we are going to change this with a reservation to receive <strong>192.168.10.1</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-016.png" alt="Configure DHCP on Windows Server 2008 - 16" title="Configure DHCP on Windows Server 2008 - 16" align="middle" width="597" height="310" border="0" /></p>
<p>Now let’s setup the DHCP reservation.</p>
<p><strong>1.</strong>	Go into DHCP Manager and expand the scope out, then right click on <strong>Reservations</strong> and left click on <strong>New Reservations…</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-017.png" alt="Configure DHCP on Windows Server 2008 - 17" title="Configure DHCP on Windows Server 2008 - 17" align="middle" width="597" height="396" border="0" /></p>
<p><strong>2.</strong>	In the <strong>New Reservation</strong> window input the following information then click <strong>Add:</strong></p>
<blockquote><p>
Name: <strong>Dave’s Test Client</strong><br />
IP Address: <strong>192.168.10.190</strong><br />
MAC Address: <strong>00-03-FF-2F-95-0C</strong><br />
Description: <strong>This Space Blank or whatever you want</strong>
</p></blockquote>
<p><strong>Note: please use your own data, don’t use the above MAC and expect this to work.</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-018.png" alt="Configure DHCP on Windows Server 2008 - 18" title="Configure DHCP on Windows Server 2008 - 18" align="middle" width="345" height="326" border="0" /></p>
<p><strong>3.</strong>	In DHCP Manager you now see your reservation under <strong>Reservations</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-019.png" alt="Configure DHCP on Windows Server 2008 - 19" title="Configure DHCP on Windows Server 2008 - 19" align="middle" width="589" height="269" border="0" /></p>
<p><strong>4.</strong>	Now let&#8217;s test this on the client by typing <strong>Ipconfig /release</strong>, then <strong>Ipconfig/renew</strong> and you will now see that the client received the reserved IP of <strong>192.168.10.190</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp2/configure-dhcp-020.png" alt="Configure DHCP on Windows Server 2008 - 20" title="Configure DHCP on Windows Server 2008 - 20" align="middle" width="596" height="353" border="0" /></p>
<p>Again you would use this for clients or devices that you always wanted to hand out the same IP to, but still mange through DHCP.</p>
<p>I hope this gave you a good overview of the basics for configuring a DHCP server. There are quite a few options you can configure through DCHP, but outside of these basic ones they are very environment specific and you could go your whole career without needing them.</p>


<h3>Related posts:<ul><li><a href='http://windowsserver.trainsignal.com/install-dhcp-role-on-windows-server-2008' rel='bookmark' title='Permanent Link: Install DHCP Role on Windows Server 2008'>Install DHCP Role on Windows Server 2008</a></li>
<li><a href='http://windowsserver.trainsignal.com/configure-bind-dns-on-windows-web-server-2008' rel='bookmark' title='Permanent Link: Configure BIND DNS on Windows Web Server 2008 &#8211; Part 2'>Configure BIND DNS on Windows Web Server 2008 &#8211; Part 2</a></li>
<li><a href='http://windowsserver.trainsignal.com/how-to-install-configure-use-snmp-on-sever-2008' rel='bookmark' title='Permanent Link: How To Install, Configure &amp; Use SNMP on Sever 2008'>How To Install, Configure &amp; Use SNMP on Sever 2008</a></li>
</ul></h3>]]></content:encoded>
			<wfw:commentRss>http://windowsserver.trainsignal.com/configure-dhcp-on-windows-server-2008/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install DHCP Role on Windows Server 2008</title>
		<link>http://windowsserver.trainsignal.com/install-dhcp-role-on-windows-server-2008</link>
		<comments>http://windowsserver.trainsignal.com/install-dhcp-role-on-windows-server-2008#comments</comments>
		<pubDate>Wed, 10 Dec 2008 14:00:20 +0000</pubDate>
		<dc:creator>Dave Lawlor</dc:creator>
				<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[IP Address]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.trainsignaltraining.com/?p=2126</guid>
		<description><![CDATA[Chances are that if you have used a computer on a network you have used DHCP technology.
DHCP stands for Dynamic Host Configuration Protocol, and its main purpose in life is to give your computer an IP address so it can send and receive data on the network.
In the old days of computing your computers would [...]

<h3>Related posts:<ul><li><a href='http://windowsserver.trainsignal.com/configure-dhcp-on-windows-server-2008' rel='bookmark' title='Permanent Link: Configure DHCP on Windows Server 2008'>Configure DHCP on Windows Server 2008</a></li>
<li><a href='http://windowsserver.trainsignal.com/10-steps-to-installing-the-web-server-role-in-windows-server-2008' rel='bookmark' title='Permanent Link: 10 Steps to Installing the Web Server Role in Windows Server 2008'>10 Steps to Installing the Web Server Role in Windows Server 2008</a></li>
<li><a href='http://windowsserver.trainsignal.com/windows-server-2008-server-core-roles' rel='bookmark' title='Permanent Link: Role Playing with Windows 2008 Server Core'>Role Playing with Windows 2008 Server Core</a></li>
</ul></h3>]]></description>
			<content:encoded><![CDATA[<p>Chances are that if you have used a computer on a network you have used DHCP technology.</p>
<p><strong>DHCP</strong> stands for <strong>Dynamic Host Configuration Protocol</strong>, and its main purpose in life is to give your computer an IP address so it can send and receive data on the network.</p>
<p>In the old days of computing your computers would have to be assigned IP addresses when they were setup, and the job of keeping all these IP addresses in order usually fell to a network administrator.</p>
<p>I can vividly remember starting a new position at a large company and having the outgoing administrator show me the spreadsheets that had all the IP addresses for the plant, along with a notepad with changes that had not been input yet.  I tell you that I implemented DHCP within 2 months, because there was no way I was dealing with that headache.</p>
<p>This of course was back in the days of NT 4.0, but surprisingly DHCP hasn’t changed that much since back then. If you have installed DHCP before on a Windows platform, you won’t see too much of a difference on Server 2008, with the exception of adding support for IPv6.</p>
<p><span id="more-2126"></span></p>
<h3>How DHCP Works</h3>
<p>Let’s talk a minute about the basic workings of how DHCP works. The DHCP server sits and waits for a client computer to turn on and need an IP. It does this through a very basic 4 step process which I will explain below.</p>
<blockquote><p>
<strong>1. Discovery</strong> &#8212; When a computer is setup to use DHCP and is attached to the network it sends out a broadcast called DHCPDISCOVER looking for a DHCP server.  Alternatively, it will request the last IP used by its DHCP client.<br />
<br />
<strong>2.	Offer</strong> &#8212; The DHCP server will respond with a lease offer that is called DHCPOFFER and includes the lease duration, IP address, subnet mask, clients MAC address, and IP address of the DHCP server.<br />
<br />
<strong>3.	Request</strong> &#8212; Once the client computer receives the offer and accepts it, it then sends out a broadcast called DHCPRequest that contains the IP address of the DHCP server that issued the accepted client IP. This tells other DHCP servers that their offer if any was refused, and keeps the IPs free for others.<br />
<br />
<strong>4.	Acknowledgement</strong> &#8212; The DHCP server then sends out a DHCPACK packet to the client that includes lease duration and any other configuration information needed by the client.  At this point the IP configuration process is done and the client configures its network interface.
</p></blockquote>
<p>It is important to note that the majority of these messages are broadcasts which means that your routers must be configured to pass these on if the DHCP server is not on the same subnet as the client.</p>
<p>There are other options to get around this limitation, but really, if your router is that old, you are better off upgrading anyway.</p>
<h3>Windows Server 2008 DHCP Install Environment</h3>
<p>For this demo I am going to assume we have the following already setup:</p>
<ul>
<li><strong>Windows Server 2008 Installed</li>
<li>Active Directory Domain Services Installed</li>
<li>DNS Server Installed</li>
<li>Static IP on DHCP Server</strong></li>
</ul>
<p>The domain for this demo is named <strong>tstdemo.com</strong> and the server we are installing DHCP on is a domain controller.  I normally wouldn’t recommend this, but since I am using a Virtual PC to show this demo, I am going to only have one server to use.</p>
<h3>Install DHCP Role on Server 2008</h3>
<p>Ok, now that we have discussed what DHCP is and how it does its magic, let’s go ahead and install the DHCP role.</p>
<p><strong>1.</strong>	Open <strong>Server Manager</strong></p>
<p><strong>2.</strong>	In the left pane click on <strong>Roles</strong> and in the center pane click on <strong>Add Roles</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp/dhcpinstall01.png" alt="Install DHCP Role on Windows Server 2008 - 1" title="Install DHCP Role on Windows Server 2008 - 1" align="middle" width="597" height="453" border="0" /></p>
<p><strong>3.</strong>	You might get a <strong>Before You Begin</strong> page next if it hasn’t been disabled before this.  It just generally warns you that if you are going to install a role on this server to make sure that it has a strong password, has the latest updates loaded, and has a static IP.</p>
<p>You can place a check mark next to <strong>Skip this page by default</strong>, if you don’t want to see this warning again or leave it blank and click <strong>Next</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp/dhcpinstall02.png" alt="Install DHCP Role on Windows Server 2008 - 2" title="Install DHCP Role on Windows Server 2008 - 2" align="middle" width="597" height="454" border="0" /></p>
<p><strong>4.</strong>	On the <strong>Select Server Roles</strong> page go ahead and place a check next to <strong>DHCP Server</strong> in the list, then you can click <strong>Next</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp/dhcpinstall03.png" alt="Install DHCP Role on Windows Server 2008 - 3" title="Install DHCP Role on Windows Server 2008 - 3" align="middle" width="597" height="451" border="0" /></p>
<p><strong>5.</strong>	The next screen discusses what a <strong>DHCP Server</strong> does, which we already covered but feel free to read through it again.  Once you are done go ahead and click on <strong>Next</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp/dhcpinstall04.png" alt="Install DHCP Role on Windows Server 2008 - 4" title="Install DHCP Role on Windows Server 2008 - 4" align="middle" width="597" height="453" border="0" /></p>
<p><strong>6.</strong>	For the <strong>Select Network Connection Bindings</strong> page, the wizard will list out the network adapters you have available to bind the server to for servicing clients.</p>
<p>In our case we only have one adapter so it is an easy choice.  Select the adapters you are working with and click <strong>Next</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp/dhcpinstall05.png" alt="Install DHCP Role on Windows Server 2008 - 5" title="Install DHCP Role on Windows Server 2008 - 5" align="middle" width="597" height="453" border="0" /></p>
<p><strong>7.</strong>	On the <strong>Specify IPv4 DNS Server Settings</strong> screen you will fill in the name of the parent domain, and at least one preferred DNS server.</p>
<p>Please note that the DNS server is a Mandatory fill to continue.  If you have this information setup on the server already, it will use what you have in the network and Active Directory Domain Services information to pre-fill the fields.</p>
<p>Either confirm or input your own information and click <strong>Next</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp/dhcpinstall06.png" alt="Install DHCP Role on Windows Server 2008 - 6" title="Install DHCP Role on Windows Server 2008 - 6" align="middle" width="597" height="451" border="0" /></p>
<p><strong>8.</strong>	The next screen asks you to specify your WINS server.  If you don’t know what WINS is and your network doesn’t need it, consider yourself lucky!</p>
<p>Some legacy applications still need it though, and while I won’t get into an explanation of what it does, you should find out if you are using it before proceeding.</p>
<p>Either select  <strong>WINS is not required for applications on this network</strong>, if you’re not using it, or input the <strong>WINS Server IPs</strong> if you are.  Either way click on <strong>Next</strong> when you are finished.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp/dhcpinstall07.png" alt="Install DHCP Role on Windows Server 2008 - 7" title="Install DHCP Role on Windows Server 2008 - 7" align="middle" width="597" height="453" border="0" /></p>
<p><strong>9.</strong>	The next window will allow you to add scopes to your DHCP server.  Scopes are the range of IP’s that are handed out to the client computers.</p>
<p>I am going to choose NOT to add a scope at this time, because I will go in-depth on that subject in my next article.  At this time just click on <strong>Next</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp/dhcpinstall08.png" alt="Install DHCP Role on Windows Server 2008 - 8" title="Install DHCP Role on Windows Server 2008 - 8" align="middle" width="597" height="451" border="0" /></p>
<p><strong>10.</strong>	Now we come to a new screen for Windows DHCP servers and it asks about configuring <strong>IPv6 Stateless Mode</strong>.</p>
<p>I will go into this subject at a later time, so for this install I am going to leave <strong>Enable DHCPv6 stateless mode for this server</strong> selected and click on <strong>Next</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp/dhcpinstall09.png" alt="Install DHCP Role on Windows Server 2008 - 9" title="Install DHCP Role on Windows Server 2008 - 9" align="middle" width="597" height="452" border="0" /></p>
<p><strong>11.</strong>	The next screen will ask for the <strong>IPv6 DNS Server Settings</strong>, much like the IPv4 screen I am going to use the default for <strong>Parent Domain</strong> and then type <strong>::1</strong> for the DNS IPv6 address which is the equivalent of localhost.  Click <strong>Next</strong> when done.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp/dhcpinstall10.png" alt="Install DHCP Role on Windows Server 2008 - 10" title="Install DHCP Role on Windows Server 2008 - 10" align="middle" width="597" height="450" border="0" /></p>
<p><strong>12.</strong>	The next step is to authorize the DHCP server in Active Directory.  This is done to keep rogue DHCP servers from being put on the network to service clients.</p>
<p>In this window you will either choose to use the currently logged in users credentials or you can use alternate ones.  You can also skip this step and authorize later.</p>
<p>I am going to go ahead and authorize the server, since I didn’t give it any scopes I am not worried about it handing out IPs before I am ready.  Make your choice and click <strong>Next</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp/dhcpinstall11.png" alt="Install DHCP Role on Windows Server 2008 - 11" title="Install DHCP Role on Windows Server 2008 - 11" align="middle" width="597" height="453" border="0" /></p>
<p><strong>13.</strong>	The last screen provides a summary of all your selections.  Review your choices and then click <strong>Install</strong> to start.  Please note the information message that a server reboot might be needed.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp/dhcpinstall12.png" alt="Install DHCP Role on Windows Server 2008 - 12" title="Install DHCP Role on Windows Server 2008 - 12" align="middle" width="597" height="453" border="0" /></p>
<p><strong>14.</strong>	The installation results screen will show the status of the install, if everything went well you should see <strong>Installation Succeeded</strong>.  Click on <strong>Close</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/12/dave_dhcp/dhcpinstall13.png" alt="Install DHCP Role on Windows Server 2008 - 13" title="Install DHCP Role on Windows Server 2008 - 13" align="middle" width="597" height="450" border="0" /></p>
<p>There you have it, you have now installed the DHCP role on a Windows Server 2008 machine.</p>
<p>In my next article we will go in depth on configuring a scope and other options for the client on the DHCP server.</p>


<h3>Related posts:<ul><li><a href='http://windowsserver.trainsignal.com/configure-dhcp-on-windows-server-2008' rel='bookmark' title='Permanent Link: Configure DHCP on Windows Server 2008'>Configure DHCP on Windows Server 2008</a></li>
<li><a href='http://windowsserver.trainsignal.com/10-steps-to-installing-the-web-server-role-in-windows-server-2008' rel='bookmark' title='Permanent Link: 10 Steps to Installing the Web Server Role in Windows Server 2008'>10 Steps to Installing the Web Server Role in Windows Server 2008</a></li>
<li><a href='http://windowsserver.trainsignal.com/windows-server-2008-server-core-roles' rel='bookmark' title='Permanent Link: Role Playing with Windows 2008 Server Core'>Role Playing with Windows 2008 Server Core</a></li>
</ul></h3>]]></content:encoded>
			<wfw:commentRss>http://windowsserver.trainsignal.com/install-dhcp-role-on-windows-server-2008/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Role Playing with Windows 2008 Server Core</title>
		<link>http://windowsserver.trainsignal.com/windows-server-2008-server-core-roles</link>
		<comments>http://windowsserver.trainsignal.com/windows-server-2008-server-core-roles#comments</comments>
		<pubDate>Wed, 09 Apr 2008 15:00:16 +0000</pubDate>
		<dc:creator>Brian Nelson</dc:creator>
				<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Print Services]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Server Core Roles]]></category>
		<category><![CDATA[Server Manager]]></category>
		<category><![CDATA[Streaming Media Services]]></category>

		<guid isPermaLink="false">http://www.trainsignaltraining.com/windows-server-2008-server-core-roles/2008-04-09/</guid>
		<description><![CDATA[Ok, you&#8217;ve installed Windows Server 2008 Core, and it is pretty awesome.
Those lower-level administrators that run to Ted whenever things get tough have stood before the daunting black command-line box and trembled in fear at the blinking white cursor. You sneered as you waited to see if they would break down and cry at the [...]

<h3>Related posts:<ul><li><a href='http://windowsserver.trainsignal.com/windows-server-2008-server-core' rel='bookmark' title='Permanent Link: Less is More &#8212; Windows 2008 Server Core'>Less is More &#8212; Windows 2008 Server Core</a></li>
<li><a href='http://windowsserver.trainsignal.com/10-steps-to-installing-the-web-server-role-in-windows-server-2008' rel='bookmark' title='Permanent Link: 10 Steps to Installing the Web Server Role in Windows Server 2008'>10 Steps to Installing the Web Server Role in Windows Server 2008</a></li>
<li><a href='http://windowsserver.trainsignal.com/install-dhcp-role-on-windows-server-2008' rel='bookmark' title='Permanent Link: Install DHCP Role on Windows Server 2008'>Install DHCP Role on Windows Server 2008</a></li>
</ul></h3>]]></description>
			<content:encoded><![CDATA[<p>Ok, you&#8217;ve <a href="http://windowsserver.trainsignal.com/windows-server-2008-server-core-install">installed Windows Server 2008 Core</a>, and it is pretty awesome.</p>
<p>Those lower-level administrators that run to Ted whenever things get tough have stood before the daunting black command-line box and trembled in fear at the blinking white cursor. You sneered as you waited to see if they would break down and cry at the prospect of being without their precious mouse.</p>
<p>But, you&#8217;re getting tired of just showing off your GUI-less install.  It&#8217;s time to take this server out for a spin and see what it can do.</p>
<p>If you aren&#8217;t sure what role you want to assign yet, you can just play around with it, &quot;role playing,&quot; if you will.  Hah!  Ok, it isn&#8217;t that funny, but a no-GUI sever isn&#8217;t that great until it can do something either.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/04/Brian_Roles/2.jpg" alt="Role Playing with Windows 2008 Server Core" title="Role Playing with Windows 2008 Server Core" align="right" width="350" height="175" border="0" />It needs to have a role installed.</p>
<p>Installing a role in a Server 2008 full install is so easy a 1st Level Magic-User Dwarf could do it (more role playing, heh).</p>
<p>Just open up Server Manager and a few clicks later you&#8217;ve got a role installed or uninstalled.</p>
<p>Obviously, on a server without a GUI, Server Manager is out &#8230; or is it?</p>
<p><span id="more-458"></span></p>
<h3>Available Roles</h3>
<p>On a Windows Server 2008 Core install, just eight roles are available. All other roles take too many dependent processes or are too complicated themselves to reside on a core install. The available roles are:</p>
<ul>
<li>Active Directory</li>
<li>Active Directory LDS</li>
<li>DHCP Server</li>
<li>DNS Server</li>
<li>File Services</li>
<li>Print Services</li>
<li>Streaming Media Services</li>
<li>Windows Server Virtualization</li>
</ul>
<h3>Server Manager Command-Line Style</h3>
<p>The beta testing phase for Server 2008 was much longer than usual. As a result, the engineers at Microsoft got some extra time to code in features. One of those features was a command line interface for Server Manager.</p>
<p>That command is <strong>servermanagercmd.exe</strong> and it is great for scripting all sorts of commands and even for installing and removing roles.</p>
<p>Since you are a hard-core administrator, you already know all about <strong>servermanagercmd</strong> and you don&#8217;t need no stinkin’ GUI.  So, you start typing …</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/04/Brian_Roles/image1.jpg" alt="Role Playing with Windows 2008 Server Core - 1" title="Role Playing with Windows 2008 Server Core - 1" align="middle" width="594" height="290" border="0" /></p>
<p>&quot;What the&#8211;?&quot;  Although servermanagercmd is a command-line utility, it is still part of the very extensive Server Manager program. Unfortunately, Server Manager has too many dependencies on APIs and processes that are not installed on Server Core, so servermanagercmd is out.</p>
<p>Instead, Microsoft has supplied another lower-level command that does not have the dependencies of Server Manger. The command, <strong>ocsetup.exe</strong>, and its partner in crime, <strong>oclist.exe</strong> provide the functionality to install server roles.</p>
<p>Neither of these commands exists on a full install of Windows Server 2008, so you&#8217;ll have to stick with servermanagercmd for command-line execution on a full install.</p>
<h3>Oclist.exe and Ocsetup.exe</h3>
<p>Grab your trusty TechNet CD and punch in your query.  Installing a role on a Server Core install takes a command called ocsetup.exe.  Check out the syntax:</p>
<p><strong>c:\Windows\System32\>start /w ocsetup DNS-Server-Core-Role</strong></p>
<p>The <strong>/w</strong> switch makes sure that control doesn&#8217;t come back to the command prompt until ocsetup has finished executing. This is a good thing because it can take a few minutes to complete installing the role and this way things won&#8217;t get messed up by moving on to the next step before the install is complete.</p>
<p>I know what you are thinking, &quot;Yea, though I walk through the Valley of the Shadow of No-GUI, I shall fear no administration task, for I am the meanest administrator in the Valley.&quot; You figure you&#8217;ll memorize &quot;DNS-Server-Core-Role&quot; so that you never again need to go back into your TechNet to install a role. Ted would want it that way.</p>
<p>Think again, Super-Admin.  For some inexplicable reason the ocsetup command is CaSe SensaTive!  Not only that, but there is no logic to the naming of the roles.  You&#8217;re thinking that if DNS Server is DNS-Server-Core-Role then DHCP Server must be DHCP-Server-Core-Role, right?  Bzzzz!  Wrongo!  Hey, where did Ted get that buzzer from anyway?</p>
<p>Installing the DHCP Server role actually takes the parameter <strong>DHCPServerCore</strong> &#8211; no hyphens, no &quot;Role.&quot;  With eight different roles available on Server Core, you could memorize them all, but then again, there is <em>Super-Admin</em> and then there is <em>Computer Nerd With No Life</em>.  You don&#8217;t want to go there.</p>
<p>Instead, we turn to the oclist.exe command.  Oclist covers much of the role played by servermanagercmd -query over in the full installation world. Type oclist.exe and after a brief delay all the roles and features available are listed along with whether or not they are installed. The way they are displayed, is the way they have to be typed in. No need to memorize.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/04/Brian_Roles/image2.jpg" alt="Role Playing with Windows 2008 Server Core - 2" title="Role Playing with Windows 2008 Server Core - 2" align="middle" width="594" height="480" border="0" /></p>
<h3>The Active Directory Role</h3>
<p>With ocsetup and oclist you can install all of the roles available on Server Core except for the Active Directory role.  The Active Directory role requires more than just copying new files and starting a service.  The server must also be promoted.</p>
<p>So, the command necessary for installing the Active Directory role is <strong>dcpromo.exe</strong>.  But, there is a catch (of course there is).  Typing dcpromo launches the GUI for promoting and demoting servers.  This is Server Core, so there is no GUI.</p>
<p>The trick is to run dcpromo in unattended mode.  That way it doesn&#8217;t bother trying to launch the GUI.  The unattended mode is triggered by the <strong>/unattend</strong> switch and takes an input parameter of a text file.  That text file must contain the input normally provided by clicking around the GUI.  So, assuming our input text file is named <strong>inputfile.txt</strong> then the syntax is:</p>
<p><strong>dcpromo /unattend:inputfile.txt</strong></p>
<p>The format of the text file is fairly simple.  It starts with &quot;[DCInstall]&quot; and then each parameter with an equals sign, followed by the value you with to set.  So, something like this:</p>
<blockquote><p>
[DCInstall]<br />
UserName=Ted<br />
Password=*<br />
SiteName=TheSite<br />
NewDomain=DomainName<br />
NewDomainDNSName=ourcompany.com
</p></blockquote>
<p>&#8230; and so on.  Depending on the structure of your enterprise, your inputfile.txt file can be very long (or very short).</p>
<p>Microsoft provides a full list of parameters, their function, and use with the &quot;Appendix of Unattended Installation Parameters&quot; under &quot;Windows Server 2008 Technical Library > Active Directory Domain Services > Getting Started: AD DS > Step-by-Step Guide for Windows Server 2008 Active Directory Domain Services Installation and Removal&quot; either online or on TechNet.  (You may have to use the Table of Contents Panel to navigate there online.)</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/04/Brian_Roles/image3.jpg" alt="Role Playing with Windows 2008 Server Core - 3" title="Role Playing with Windows 2008 Server Core - 3" align="middle" width="594" height="325" border="0" /></p>
<p>With a server role installed, your Windows Server Core install is ready for the big-time, just like your 11th Level Paladin.  Now if we can just find out where Ted keeps that buzzer&#8230;</p>


<h3>Related posts:<ul><li><a href='http://windowsserver.trainsignal.com/windows-server-2008-server-core' rel='bookmark' title='Permanent Link: Less is More &#8212; Windows 2008 Server Core'>Less is More &#8212; Windows 2008 Server Core</a></li>
<li><a href='http://windowsserver.trainsignal.com/10-steps-to-installing-the-web-server-role-in-windows-server-2008' rel='bookmark' title='Permanent Link: 10 Steps to Installing the Web Server Role in Windows Server 2008'>10 Steps to Installing the Web Server Role in Windows Server 2008</a></li>
<li><a href='http://windowsserver.trainsignal.com/install-dhcp-role-on-windows-server-2008' rel='bookmark' title='Permanent Link: Install DHCP Role on Windows Server 2008'>Install DHCP Role on Windows Server 2008</a></li>
</ul></h3>]]></content:encoded>
			<wfw:commentRss>http://windowsserver.trainsignal.com/windows-server-2008-server-core-roles/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
