Install and configure Window Server 2008 R2 Core

Posted On 2012-02-16 by dwirch
Tags: Windows Commandline Tutorial Windows Server 2008 Windows
Views: 2199

When you are installing Windows Server 2008 (or R2), besides the licensed version options you have the option of install full or core. How many of you use core? Why would you use core? Server core is just that. Windows without the interface. All you get is a command window and a few applets. What is this madness, and why would you inflict this on yourself? Read on. The core mode of Windows Server 2008 (and R2) does not include the standard Explorer interface. All configuration and administration is done through a command prompt, or via remote management tools such as those for HyperV, DNS, ADUC, and other tools. There is more than one reason to run in core:

  1. Reduced Maintenance Core servers are generally uesd for a specific application or purpose. The only things that are installed are bits required to run that service.
  2. Reduced Attack Surface Fewer running apps = fewer points of entry.
  3. Lower Resource Utilization No overhead from extraneous or un-needed services or GUI interfaces

Now you might have tried installing core in the past, and been pretty much turned off by the lack of interface. Where is Explorer? Where is Control Panel? How the heck do I set an IP address or the computer name? Well, you're in luck. Configuring this mode isn't as hard as you might think. And I'm going to walk you through it, right now.

  1. On the "Install Windows" screen, select "Windows Server 2008 RS Standard (Server Core Installation)", and click Next.
  2. Place a check mark in the "I Accept the license terms" checkbox, and click Next.
  3. On the "Which type of installation do you want?" screen, click "Custom (advanced)".
  4. On the disk selection screen, select the target disk that Windows will be installed on, then click Next.
  5. Files will begin copying, and the computer may restart several times.
  6. After file copying is complete, you will prompted that the password must be set or changed. Click Ok.
  7. Set a strong password for the local administrator account.
  8. Click Ok on the password change confirmation screen. At this point, you'll be presented with a command prompt. This is the interface to Windows Server 2008 Core.
  9. Now, you'll have to rename the computer to the desired name. In order to do this, you must first determine the current name of the computer, as assigned by setup. To determine the current name, at the command prompt, type: Echo %computername% To change the name of the computer, type: NETDOM RenameComputer /NewName For example of the old name is "WIN-A234590D", and you want to call the server "MyServer55", the correct command would be:
    NETDOM RenameComputer WIN-A234590D /NewName MyServer55
  10. In the interest of future ease administration, it is convenient to rename the network interface from the default. To rename the interface, type the following: Netsh int set interface name = “Local Area Connection” newname = “LAN”
  11. In order to provide access for remote administration, there are three steps to perform:
    1. Disable the Windows Firewall: NETSH Firewall Set OpMode Disable
    2. Enable remote administration: NETSH Firewall Set Service RemoteAdmin Enable
    3. Setup the Windows registry for remote administration: Cscript C:\Windows\System32\Scregedit.wsf /ar 0
  12. Now, we can set the IP address of the network interface:
    Netsh int ipv4 set address "LAN" static
    Netsh int ipv4 set dnsserver "LAN" static primary
    Netsh int ipv4 set dnsserver "LAN" static secondary
  13. If this server will be participating in a domain, you can now add the machine to the domain:
    netdom join /domain: /userd: /passwordd:*
    If you are participating in a workgroup rather than a domain, you may need to add the primary dns suffix for the machine, as well as any suffix search order domains, so the machine can find other servers that it may need to talks to. The following command (and resulting output) will set the DNS suffix by updating the NV Domain value, which is found in the
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters subkey (watch out for line wrap):
    reg add HKLM\System\CurrentControlSet\services\tcpip\parameters /v "NV Domain" /d "" /f
    If you don't want to change the default DNS suffix, but instead modify only the DNS search list, you can change the SearchList value, which is found at the same registry-subkey location. The value can contain multiple entries separated by commas, such as," First, let's view the current value using the following command (with the resulting output):
    reg query hklm\system\currentcontrolset\services\tcpip\parameters /v "SearchList" HKEY_LOCAL_MACHINE\system\currentcontrolset\services\tcpip\parameters SearchList REG_SZ
    Next, use the following command (with the resulting output) to update the SearchList value:
    reg add hklm\system\currentcontrolset\services\tcpip\parameters /v "SearchList" /d ",," /f

    Your server is now built, and ready for roles! Click here to learn how.

About the Author

dwirch has posted a total of 174 articles.

You can find more information from dwirch by visiting

Comments On This Post

No comments on this post yet!

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Recent Forum Posts

New security implemented
dwirch posted on July 23, 2017 at about 6:58 in Site News

Fold Code Manager into main KB?
VB6Boy posted on July 22, 2017 at about 14:42 in Site News

Fold Code Manager into main KB?
dwirch posted on July 22, 2017 at about 14:41 in Site News

Fold Code Manager into main KB?
dwirch posted on July 21, 2017 at about 22:46 in Site News

Fold Code Manager into main KB?
dwirch posted on July 20, 2017 at about 7:55 in Site News

Job Spammer: Sam Mallon
dwirch posted on July 18, 2017 at about 18:36 in Spammers