Configure Windows 2008 / 2008 R2 core

Why should I run server core?

It is a minimal Windows Installation that can run specific server roles. This reduces the attack surface on the server. Windows 2008 and 2008 R2 core consumes less memory and CPU than a “regular” Windows 2008 installation does. And yes you can install antivirus software and other programs as long as you can install them silent.

How do I configure the server?

In 2008 R2 you can use the command sconfig to do basic configuration. This is the easiest way to configure the server.

 

In the 2008 version of server core you need to configure the server using script or third party software.
I like Core Configuration Console (CCC) that can be downloaded from http://www.nullsession.com/downloads
If you don’t want to use CCC you have some commands below to configure your server.

Configure Static IP address:

The following command configures the interface named Local Area Connection with the static IP address 192.168.0.19, the subnet mask of 255.255.255.0, and a default gateway of 192.168.0.1:

“Local Area Connection” is the name of the network connection that you want to configure.
To find the name of your connection you can use ipconfig.

netsh interface ipv4 set address name=”Local Area Connection” static 192.168.0.19 255.255.255.0 192.168.0.1

netsh interface ipv4 add dnsserver name=”Local Area Connection” address=192.168.0.11

netsh interface ipv4 add dnsserver name=”Local Area Connection” address=192.168.0.19 index=2

Disable Firewall:

netsh advfirewall set AllProfiles state off

Rename Server:
To find the current name of your server type hostname.

netdom renamecomputer server_name /newname:dc02

Restart Server:

shutdown /r /t 0

Join domain:

netdom join /d:compit.local dc02 /ud:compit\administrator /pd:password

Now when you have configured your server it’s time to start adding roles that you want on your server.

 

 

 

 

This entry was posted in Core, Windows Server and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *