Information Technology Reference
In-Depth Information
3. Type
dcpromo /unattend /replicaOrNewDomain:replica /replicaDomainDNSName:w2k8adXX.
com /ConfirmGC:Yes /RebootOnSuccess:Yes /SafeModeAdminPassword: Password01
and
press
Enter
. Supplying a username and password isn't necessary because you're already
logged on to the domain as Administrator. DNS will not be installed.
4. You see a number of information messages as AD DS is installed. When the installation is
finished, your server should restart. Log on as Administrator.
5. You have decided that because this server is running at a branch office, it should have DNS
installed so that users can make DNS queries to a local server. To verify the currently
installed server roles and features, type
oclist | more
and press
Enter
. Notice that Directory
Services has been installed, but no other roles or features have been installed. Press the
spacebar
until you're back at the command prompt.
6. To start the DNS installation, type
start /w ocsetup DNS-Server-Core-Role
and press
Enter
.
The /w in the command prevents the command prompt from returning until the role has
been installed successfully.
7. When the installation is finished, type
oclist | more
and press
Enter
to verify that the role has
been installed.
8. Test DNS on ServerCoreXX by typing
nslookup
and pressing
Enter
. The default server is
ServerXX. Type
server ServerCoreXX
and press
Enter
to change the server Nslookup uses
to ServerCoreXX. Type
www.yahoo.com
and press
Enter
. A successful reply indicates that
DNS is working on ServerCoreXX.
9. Keep the command prompt window open, and stay logged on to ServerCoreXX for the next
activity.
Many tasks can be accomplished on a Server Core installation at the command line. However,
some tasks are easier with a GUI, and a GUI provides visual feedback that you can't get with
command-line programs. Several MMC snap-ins work with Server Core, as long as they're run
from another computer.
Although some snap-ins connect remotely to Server Core without any additional configura-
tion, such as Shared Folders and Services, several snap-ins require firewall configuration before
you can connect to the server. In Chapter 2, you had to set a firewall rule to allow Server Core
to respond to a Ping request, for example.
To allow remote management of Server Core from any MMC, type the following at a Server
Core command prompt:
netsh advfirewall firewall set rule group="Remote Administration"
new enable=yes
A few snap-ins require additional configuration on Server Core before you can use them:
•
Disk Management
—You must start the Virtual Disk service on Server Core before Disk
Management can connect. To do so, type “net start vds” at a Server Core command
prompt. To start the service when Server Core boots, type “sc config vds start= auto.”
Alternatively, you can start the Virtual Disk service by using the Services snap-in remotely.
You must also enable the Remote Volume Management firewall rule on both the Server
Core server and the computer where you're running Disk Management. On both comput-
ers, type the following command:
netsh advfirewall firewall set rule group="Remote Volume
Management" new enable=yes
•
Device Manager
—You must first enable the “Allow remote access to the PnP interface”
policy. You can set this policy on the server in Group Policy Object Editor on a Windows
Server 2008 or Vista computer and then connect to the Server Core computer.
•
IPSec Management
—At a command prompt, type this command:
Cscript \windows\system32\scregedit.wsf /im 1
Search WWH ::
Custom Search