Network Administrator Knowledgebase

Jan 16 2008   7:56PM GMT

Server Core Roles and Features of Windows Server 2008



Posted by: Michael Khanin
Tags:
Microsoft Windows

For installing Server Roles & Features on Server Core we can use an OCSetup.exe (OptionalComponentsSetup).  To identify all installable and/or installed roles and features we are using other tool, OClist.exe. However, at times some of those roles are not available by default (such as Hyper-V, …).

The Server Core installation option is a new option that we can use (i think it’s a best option) for installing Windows Server 2008.

A Server Core installation provides a minimal environment for running specific server roles, which reduces the maintenance and management requirements and the attack.
To achieve this, the Server Core installation option installs ONLY the subset of the binary files that are required by the supported server roles.

Right now, a server running Windows Server Core 2008 supports the following 9 server roles:

  1. Active Directory Domain Services (AD DS) using dcpromo.exe
  2. Active Directory Lightweight Directory Services (AD LDS)
  3. DHCP Server
  4. DNS Server
  5. File Services
  6. Print Services
  7. Streaming Media Services
  8. Web Server (IIS)
  9. Hyper-V (Windows Server Virtualisation)

As i said, all Server Core server roles can be installed via OCsetup.exe, just with one exception of the Active Directory Domain Controller role. AD is done by using dcpromo and the Web Server which is done through the PackageManager (PkgMgr.exe).

Installing a specific server role follows the syntax below:

start /w ocsetup <serverrole-name>

  1. Active Directory Domain Services (AD DS): dcpromo /unattend:<unattendfile.xml>
  2. Active Directory Lightweight Directory Services (AD LDS): start /w ocsetup DirectoryServices-ADAM-ServerCore
  3. DHCP Server: start /w ocsetup DHCPServerCore
  4. DNS Server: start /w ocsetup DNS-Server-Core-Role
  5. File Services: installed by default
  6. Print Services: start /w ocsetup Printing-ServerCore-Role
  7. Streaming Media Server: start /w ocsetup MediaServer (After copying the appropriate Microsoft Update Standalone package (.msu files) to your Server Core installation, and running the .msu file(s)).
  8. Web Server: start /w pkgmgr /iu:IIS-WebServerRole;WAS-WindowsActivationService;WAS-ProcessModel
  9. Hyper-V

Streaming Media and Hyper-V (and may be other roles) might be missing when looking through the Optional Component list (via OClist.exe).

To add updates/roles/features to the list, use the following command:  wusa <update>.msu /quiet

A typical example is the Streaming Media Server role, which only becomes available after copying the appropriate Microsoft Update Standalone package (.msu files) to your Server Core installation and running the .msu file(s).

Installing a specific feature follows the syntax below:

start /w ocsetup <feature-name>

start /w ocsetup BitLocker
start /w ocsetup BitLocker-RemoteAdminTool
start /w ocsetup FailoverCluster-Core
start /w ocsetup WINS-SC

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: