programming4us
programming4us
DESKTOP

Windows Server 2008 : Adding Roles to Server Core - Using ocsetup to Add Roles to Windows Server 2008 (part 1)

12/22/2013 1:32:58 AM

1. Understanding the Supported Roles

Server Core has a limited number of services that it can support. Because of this, it has a limited number of roles that you can add. The following table shows the supported roles in Windows Server 2008 and Windows Server 2008 R2.

Note

Some adventurous administrators have configured Server Core installations to support more roles than the ones listed; however, these installations are not fully tested by Microsoft and are not supported.


RoleServer 2008Server 2008 R2
Active Directory Doman Services (AD DS)XX
Active Directory Lightweight Directory Services (AD LDS)XX
Active Directory Certificate Services (AD CS) X
DHCP ServerXX
DNS ServerXX
File ServicesXX (including File Server Resource Manager)
Print ServicesX 
Print and Document Services X
Web Server (IIS)XX (including a subset of ASP.NET)
Streaming Media ServicesXX
Hyper-VXX

The following table shows some differences in features that are available in Windows Server 2008 and Windows Server 2008 R2. Most of the changes show additional features supported in the R2 version. The only feature no longer available in Windows Server 2008 R2 is the Removable Storage feature.

FeatureServer 2008Server 2008 R2
.NET Framework X
PowerShell X
ASP.NET in Web Server role X
File Server Resource Manager component of File Services X
Print and Document Services X
Removable Storage featureX 

2. Using ocsetup to Add Roles to Windows Server 2008

On a regular installation of Windows Server 2008, you use the Server Manager to install additional roles; however, the Server Manager is not available in Server Core. Instead, use ocsetup to add additional roles. The basic syntax is

start [/w] ocsetup role-name

Tip

The role-name must be entered using the exact case. This is one of the few times when upper- and lowercase matters with the command prompt. Figure 1 shows the error message you see if the case is not entered exactly.

Figure 1. ocsetup error when incorrect case used


Tip

The /w switch prevents the command prompt from returning until the installation of the role completes. This is useful to provide feedback indicating that the role was successfully installed when the command prompt returns.


Some roles require additional steps to configure. The following sections show how to add and configure various roles.

Note

The following section shows the basics to add roles with ocsetup. For a full listing of command options you can use with the ocsetup command, check out this TechNet page: http://technet.microsoft.com/library/dd799247.aspx.

Other  
  •  Windows Server 2008 : Configuring Server Core for Remote Administration - Enabling Access with Remote Microsoft Management Consoles
  •  Windows Server 2008 : Configuring Server Core for Remote Administration - Using the Server Core Registry Editor
  •  Managing Windows Server 2012 (part 13) - Using Remote Desktop - Supporting Remote Desktop Connection clients
  •  Managing Windows Server 2012 (part 12) - Using Remote Desktop - Remote Desktop essentials, Configuring Remote Desktop
  •  Managing Windows Server 2012 (part 11) - Optimizing toolbars
  •  Managing Windows Server 2012 (part 10) - Customizing the desktop and the taskbar - Using Auto Hide and locking, Controlling programs in the notification area
  •  Managing Windows Server 2012 (part 9) - Customizing the desktop and the taskbar - Configuring desktop items, Configuring the taskbar
  •  Managing Windows Server 2012 (part 8) - Using the System console
  •  Managing Windows Server 2012 (part 7) - Using Control Panel
  •  Managing Windows Server 2012 (part 6) - Working with Computer Management
  •  
    video
     
    Video tutorials
    - How To Install Windows 8

    - How To Install Windows Server 2012

    - How To Install Windows Server 2012 On VirtualBox

    - How To Disable Windows 8 Metro UI

    - How To Install Windows Store Apps From Windows 8 Classic Desktop

    - How To Disable Windows Update in Windows 8

    - How To Disable Windows 8 Metro UI

    - How To Add Widgets To Windows 8 Lock Screen

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010
    programming4us programming4us
    programming4us
     
     
    programming4us