Windows 2008/R2 Server Core
Windows 2008/R2 Server Core
Server core is a an operating system which is having minimal components of a server 2008/R2 and uses less hardware requirements and less maintenance tasks.
It is mostly cmd based and there are only few options which are coming as a GUI (Ex. Time and Date).
Available server roles in Server Core
- Active Directory (AD)
- Active Directory Lightweight Directory Services (AD LDS)
- DHCP Server
- DNS Server
- File Services
- Hyper-V
- Print Services
- Streaming Media Services
- Web Server (IIS)
- Active Directory Certificate Services
Advantages of Server Core
- Minimal usage of hardware
- Less maintenance tasks
- Reduces the attack interface
- Requires less disk space(4-5 GB)
Server core initial configuration with CMD/PowerShell
Initial Configuration. To do the initial configuration (change hostname, ip address, rename network, activate) we can use cmd and PowerShell. But in Windows 2008 R2 there is a tool called sconfig.cmd which is giving easier options to the same configuration.
How to
Get the computer name type hostname name and press enter
http://darshanaj.files.wordpress.com/2011/09/1_thumb.png?w=671&h=394
Rename computer- type netdom renamecomputer WIN-1MKA1D339E9 /newname EAGLE
http://darshanaj.files.wordpress.com/2011/09/2_thumb.png?w=547&h=385
WIN-1MKA1D339E9 IS A PREVIOUS NAME AND EAGLE IS A NEW COMPUTER NAME
Press y and press enter
http://darshanaj.files.wordpress.com/2011/09/3_thumb.png?w=549&h=398
For restart the computer type shutdown –r –t 00
http://darshanaj.files.wordpress.com/2011/09/5_thumb.png?w=552&h=277
http://darshanaj.files.wordpress.com/2011/09/4_thumb.png?w=556&h=338
IP Configuration
Type netsh(Network shell) and press enter
http://darshanaj.files.wordpress.com/2011/09/1_thumb1.png?w=562&h=359
Type int ipv4 and press enter
http://darshanaj.files.wordpress.com/2011/09/2_thumb1.png?w=563&h=322
Type add address “local area connection” 192.168.1.100 255.255.255.0 (“local area connection” is a name of a local area connection. This can be find from typing ipconfig /all command)
http://darshanaj.files.wordpress.com/2011/09/3_thumb1.png?w=562&h=418
For adding gateway type add address “local area connection” gateway=192.168.1.1 gwmetric-1
http://darshanaj.files.wordpress.com/2011/09/4_thumb1.png?w=567&h=367
For adding dnsserver type add dnsserver “local area connection” 8.8.8.8(8.8.8.8 is a google dns server you can add your own server)
http://darshanaj.files.wordpress.com/2011/09/5_thumb1.png?w=576&h=385
Enable remote desktop (cscript c:\windows\system32\scregedit.wsf /ar 0)
Activate the server
Now type slmgr.vbs /ato(This will automatically activate your server for 180 days(Trial Period).Make sure that your server is connected with the internet)
SCONFIG.CMD
Using sconfig.cmd its easy to completed most of the command tasks in server core. It doesn't have GUI,but its only asking options based on the no's(EX-to get the network details we have to press 8)
http://technet.microsoft.com/en-us/library/ee441254(WS.10).aspx
Core configurator
http://coreconfig.codeplex.com/[
RSAT
](http://support.microsoft.com/kb/2494162)http://www.microsoft.com/download/en/details.aspx?id=7887[
](http://support.microsoft.com/kb/2494162)