Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

Install Windows Server 2008 R2 Roles (part 2) - Install Roles on a Windows Server 2008 R2 Server Core Installation

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
6/12/2011 11:39:07 AM

2. Install Roles on a Windows Server 2008 R2 Server Core Installation

Server Core, like in Windows Server 2008, is a very streamlined version of Windows Server. Server Core has limited functionality and runs a subset of the roles provided by Windows Server 2008 R2. It provides a nice addition to your network without the overhead of a traditional server. This will lower the overall maintenance and security risks for the server. During your installation and planning process, you may determine Server Core servers will be part of your installation. Server Core servers can become an integral part of your environment and provide services similarly to full server installations. For the most part, when you install a role on a Server Core install, the role will function the same as if it was on the full server. Since Server Core does not have a GUI or Server Manager, you need to perform the installation with the command prompt.

2.1. Install Active Directory on Windows Server 2008 R2 on Server Core

Installing Active Directory on a Server Core installation can be done either by hand or with an answer file. Either command will start by running DCPromo on the Server Core. If you choose to run the command by hand, you will need to enter all the parameters by hand as part of the dcpromo command. This method can be tricky, and you should consider using an answer file. Creating an answer file is fairly straightforward; all you need to do is create a .txt file with the parameters already entered in the file. To create an answer file, create a new text document and put [DCINSTALL] at the top of the file. Following that, you just need to configure the parameters for the domain join. Table 2 describes the parameters.

Table 2. Domain Controller Parameters
ParameterDescription and Values
UserNameUsername with domain administrative credentials.
UserDomainDomain of the user.
PasswordPassword for the user.
ReplicaDomainDNSNameFQDN of the domain to join or create.
Replica or NewDomainReplica for additional domain controller.~LBNewDomain for a new domain.
DatabasePathLocation of the ntds.dit file; this is a local folder with "" if no value is set. dcrpomo defaults to %systemroot%\ntds.
LogPathLocation of the log files; this is a local folder with "" if no value is set. dcrpomo defaults to %systemroot%\ntds.
SYSVOLPathLocation of the SYSVOL tree; this is a local folder with "" if no value is set. dcrpomo defaults to %systemroot%\SYSVOL.
InstallDNSDetermines whether to install DNS on the domain controller; takes a yes or no value.
ConfirmGCDetermines whether the domain controller will be a global catalog server; takes a yes or no value.
SafeModeAdminPasswordPassword for account for Directory Services Restore Mode; make sure the password meets the password requirements for your domain.
RebootOnCompletionDetermines whether the server reboots and if you are prompted; takes Yes, No, or NoAndNoPromptEither.
ApplicationPartitionsToReplicateSpecify if you want application partitions to replicate.

Sample Answer File

The answer file shown here would join Server Core to the w2k8r2.com domain using the administrator account ID with the password of P@ssw0rd. Additionally, this server would not have DNS installed or become a global catalog server, with a recovery password of P@ssw0rd. All the databases would be installed in the default directories, and the server would automatically reboot at the end of the installation.

[DCINSTALL]
UserName=administrator
UserDomain=w2k8r2
Password=P@ssw0rd
ReplicaDomainDNSName=w2k8r2.com
ReplicaOrNewDomain=Replica
InstallDNS=no
ConfirmGC=no
SafeModeAdminPassword=P@ssw0rd
RebootOnCompletion=Yes


After you create the answer file, you need to drop it on the Server Core and run the dcpromo command with the unattend switch and a path to the answer file. After you run the installation, the passwords will be removed from the answer file. For example, the following command would install the domain controller with the answer file named dcunattend.txt from the root of the C drive:

DCPROMO.exe /unattend:c:\ dcunattend.txt

During the install, you may see a screen similar to Figure 13.

Figure 13. Running dcpromo on Core Server

2.2. Install Other Roles and Features on Windows Server 2008 R2 Server Core

Installing Active Directory is a unique role installation for Windows Server 2008 R2 Server Core. If you want to install other roles or features on Server Core, you will run the dism command. This is the Deployment Image Servicing and Management tool, which is new to Windows Server 2008 R2. dism will allow you to add and remove roles and features to and from your Server Core installation. Like installing features through Server Manager, if you install a role with dism requiring prerequisite features, you will be prompted to install those features as well. You can also install multiple features at the same time. Although this guide will not list all the roles and features you can install on Server Core, there are a few commands that you need to learn:

  • dism /online /get-features will list a state enabled of disabled for the current server installation. This command will also provide you with a list of the features with the appropriate names that can be installed on your Server Core installation.

    dism /online /enable-feature is the base command for installing any new role or feature on the Server Core. You will add the /featurename switch followed by the name of the feature you want to install. For example, to install Hyper-V on the Server Core, your command would look like this:

    dism /online /enable-feature /featurename:Microsoft-Hyper-V

  • dism /online/disable-feature is the base command for uninstalling any new role or feature on the Server Core.

Other -----------------
- Plan for Windows Server 2008 R2 Roles
- Migrate to Windows Server 2008 R2
- BizTalk 2009 : Host Integration Server 2009 - Transaction Integrator
- BizTalk 2009 : Host Integration Server 2009 - SNA Load Balancing
- Microsoft Dynamics CRM 2011 : Creating a Contact
- Microsoft Dynamics CRM 2011 : Creating an Account & Using Parent Accounts and Sub-Accounts
- SharePoint and Restoring a SQL Server 2008 Backup
- SharePoint and 2010 : How to Restore a SQL Server 2008 Database Backup
- SharePoint and Backing Up SQL Server 2008
- Microsoft Dynamics CRM 2011 : Setting Personal Options
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server