In Windows Server 2008, Server Core installation does not include the traditional full graphical user interface (GUI). A Server Core installation provides a minimal environment for running specific server roles, which reduces the maintenance and management requirements and the attack surface for those server roles. A server running a Server Core installation supports the following server roles:

  • Active Directory Domain Services (AD DS)
  • Active Directory Lightweight Directory Services (AD LDS)
  • DHCP Server
  • DNS Server
  • File Services
  • Print Services
  • Streaming Media Services
  • Internet Information Services (IIS)
  • Windows Virtualization (Hyper-V)

Although Server Core is a lot smaller in size than a regular full-GUI Windows Server 2008 installation, the Server Core blog has recently written about an interesting way to further reduce this footprint by removing the server roles and optional features that you do not require from the disk. By doing so, you can free up more space. It is estimated that you will be able to free up as much as 200 MB of disk space if you remove all un-needed roles and features. This procedure could be used to prevent an administrator from adding a role or feature to a server that is supposed to perform a fixed function.

Warning: Removing a role or feature from the hard disk is irreversible. Once a role or feature is removed, the only option is to reinstall; there is no way to bring it back.

An even greater warning: Be very careful to comment out any line that has a role you’re currently running! If you run this script on a Windows Server 2008 machine that already has that specifc role installed, this will remove it completely and render the machine useless...

To remove roles or features from a Server Core installation please follow these steps:

The end is on :