Installing Server Roles and Optional Features on Server Core

Filed Under (Server Core, Windows Server 2008) by on 04-04-2007

After the initial install of Server Core the “Wow” factor ends fairly soon. The main reason for this is because the server is really not doing much. Like any server if you want to start using a feature of it you have to install it…Server Core is no different. At the present time (it may change in the future) Server Core can be configured to support the following server roles:

  • DHCP
  • File Server
  • DNS
  • Active Directory

Server Core uses the Windows Optional Component Setup (OCSETUP) to install server roles and optional features. This blog is only intended to show you how to install the service NOT to configure it.
Installing Server Roles:
Installing the DHCP server role:
Type the following from the command prompt:
start /w ocsetup DHCPServerCore
Installing the File Server role:
Type the following from the command prompt:
For File Replication service, type:
start /w ocsetup FRS-Infrastructure
For Distributed File System service, type:
start /w ocsetup DFSN-Server
For Distributed File System Replication, type:
start /w ocsetup DFSR-Infrastructure-ServerEdition
For Network File System, type:
start /w ocsetup ServerForNFS-Base
Then type:
start /w ocsetup ClientForNFS-Base
For Single Instance Store, type:
start /w ocsetup SIS
Installing the DNS server role:
Type the following from the command prompt:
start /w ocsetup DNS-Server-Core-Role
Installing the Active Directory server role:
Active Directory has to be installed by using an Unattended Answer file. This is because it requires certain settings to be set up during the install.
Type the following from the command prompt:
Dcpromo /unattend:Unattendfile
Installing Optional Features:
Server Core also supports optional features that are not considered roles. Some of these roles require special hardware such as the Clustering optional feature. It will be interesting to see how many optional features finds their way into Server Core.
Server Core supports the following optional features:

  • Microsoft Failover Cluster
  • Network Load Balancing
  • Subsystem for UNIX-based applications
  • Backup
  • Multipath IO
  • Removable Storage Management
  • Bitlocker Drive Encryption
  • Simple Network Management Protocol (SNMP)
  • WINS

To install an optional feature


Type the following from the command prompt:

  • start /w ocsetup featurename
  • Where featurename is the name of a feature from the following list:
    • Failover Cluster: FailoverCluster-Core
    • Network Load Balancing: NetworkLoadBalancingHeadlessServer
    • Subsystem for UNIX-bases applications: SUA
    • Multipath IO: Microsoft-Windows-MultipathIO
    • Removable Storage Management: Microsoft-Windows-RemovableStorageManagementCore
    • Bitlocker Drive Encryption: BitLocker
    • Backup: WindowsServerBackup
    • Simple Network Management Protocol (SNMP): SNMP-SC

Leave a Reply