Information Technology Reference
In-Depth Information
3. To join the domain, type netdom join ServerCoreXX /domain:w2k8adXX.com and press
Enter . When the command is completed successfully, restart the server by typing shutdown
/r /t 0 and pressing Enter .
4. When the server restarts, log on to the domain as Administrator. If the logon defaults to
ServerCoreXX\Administrator, click the Switch User button and click Other User . When
prompted, type w2k8adXX\administrator in the User Name text box and Password01 in the
Password text box.
5. Stay logged on to ServerCoreXX for the next activity.
To install AD DS on Server Core, you must run Dcpromo in unattended mode because the
installation wizard doesn't run on Server Core. Unattended mode can use a preconfigured file
containing all the information needed for the installation, or you can specify the required infor-
mation on the command line. The Dcpromo commands can be quite long for an unattended
installation, so you might want to create them in a batch file for easy editing. Then you can run
the batch file to install AD DS. Dcpromo is also used to uninstall AD DS. You can get basic com-
mand-line help by typing dcpromo /?. For detailed information on using Dcpromo to install AD DS,
type dcpromo /?:Promotion.
You can have Dcpromo save an unattend file when you install AD DS on
a full Windows Server 2008 installation. You can then edit sections of the
unattend file for use when installing AD DS on Server Core.
The next activity walks you through using Dcpromo to install AD DS on Server Core, but
first, review the switches used with this program:
• /replicaOrNewDomain—Options for this switch are Replica, ReadOnlyReplica, and
Domain. Replica means you're installing an additional writeable domain controller in an
existing domain. ReadOnlyReplica means you're installing an RODC in an existing
domain. Domain means you're installing the first domain controller in a new domain.
• /replicaDomainDNSName—You must specify the FQDN of the domain this domain con-
troller will be joining if you're installing an additional DC in an existing domain.
• /ConfirmGC—Yes specifies that the DC will also be a global catalog server.
• /InstallDNS—Yes specifies that DNS should also be installed.
• /UserName—You can specify a username to be used for completing the operation. If it's
not specified, the currently logged-on user's credentials are used.
• /Password—If a username is specified, a password must be specified, or you can use an
asterisk (*) to indicate that you should be prompted for a password.
• /RebootOnSuccess—Yes specifies that the server should restart after successful completion
of AD DS installation. If there are errors, the system doesn't restart.
• /SafeModeAdminPassword—A password is required to start the server in Safe Mode or
DSRM.
13
Activity 13-12: Installing AD DS and DNS in Server Core
Time Required: 15 minutes
Objective: Install AD DS in Server Core.
Description: You have decided to deploy your Server Core computer to a branch office that needs
a domain controller. You install AD DS in Server Core by using Dcpromo in unattend mode.
1. Log on to the domain from ServerCoreXX as Administrator, if necessary.
2. In the command prompt window, type dcpromo /?:promotion and press Enter . You see a list
of options you can specify for installing AD DS. Scroll to read the complete list. Press the
spacebar to quit.
 
Search WWH ::




Custom Search