26.3. dir/w and press Enter (Figure 0860).
Figure 0860 : Command Prompt – dir/w
27. Restore the Active Directory Service by copying the ntdsbackup.dit file to
ntds.dit file
Key-in the following command to restore the ntds.dit file:
copy ntdsbackup.dit ntds.dit
and press Enter (Figure 0861).
Figure 0861 : Command Prompt – copy file
451
28. Reconfirm the file is successfully restore by typing the following command:
dir/w and press Enter (Figure 0862).
Figure 0862 : Command Prompt – display directory contents
29. Restart your Server. Click Start ► Restart (Figure 0863).
Figure 0863 : Restart Server
452
30. Select Operating System: Reconfiguration (Planned) and click OK button
(Figure 0864).
Figure 0864 : Shutdown Event Tracker
What happen? Could you log on to the server?
31. Log off the server.
Summary
In this exercise you learn how to make a backup copy of the Active Directory
database by copying it to another file. You also learn how to recover and restore
the Active Directory database.
453
Exercise 20
INSTALLING AND
CONFIGURING
DHCP SERVER
Zulfadli Bin Mohd Saad
Computer Engineering Technology,
Department of Electronic
MARA Vocational Institute, Lumut, Perak.
http://zcomby-server2008.blogspot.com/
454
Exercise 20 : Installing And Configuring DHCP Server
"Dynamic Host Configuration Protocol (DHCP) is an IP standard designed to reduce the
complexity of administering IP address configurations." - Microsoft's definition.
A DHCP server would be set up with the appropriate settings for a given network. Such
settings would include a set of fundamental parameters such as the gateway, DNS,
subnet masks, and a range of IP addresses. Using DHCP on a network means
administrators don't need to configure these settings individually for each client on the
network. The DHCP would automatically distribute them to the clients itself.
In this exercise you will set DHCP server and deploy DHCP to a Windows Server 2008
client computer. You will configure DHCP service and limit it to 3 hosts.
EXERCISE 20.1
Installing DHCP Service.
This will serve as a step-by-step guide on how to setup a DHCP server.
1. Log on to the server as Administrator (Figure 0865).
Figure 0865 : Administrator Login
455
2. Launch the Server Manager. Click Start ► Administrative Tools ► Server Manager
(Figure 0866).
Figure 0866 : Launch Server Manager.
3. In Server Manager, select Roles (Figure 0867).
Figure 0867 : Server Manager - Roles
456
4. Select Add Roles (Figure 0868).
Figure 0868 : Add Roles
5. On the Before You Begin page, review the requirements, and click the Next
(Figure 0869).
Figure 0869 : Add Roles – Before You Begin
457
6. On the Select Server Roles page, select the check box next to DHCP Server,
and click the Next button (Figure 0870).
Figure 0870 : Server Roles – DHCP Server
7. On the DHCP Server page, review the information, and click the Next button
(Figure 0871).
Figure 0871 : DHCP Server page
458
8. On the Network Connection Binding page, select your server IP address and
click the Next button (Figure 0872).
Figure 0872 : Select Network Connection Binding page
9. On the IPv4 DNS Server Settings page, review the information. Make sure all the
information is correct. Click the Next button to continue (Figure 0873).
Figure 0873 : Select IPv4 DNS Server Settings page
459
10. Select WINS is required for applications on this network option, and enter
your server IP address in the Preferred WINS Server IP Address box. Click the
Next button to continue (Figure 0874).
Figure 0874 : Specify IPv4 WINS Server Settings page
11. Create DHCP Scopes. Just click the Next button, we will create the DHCP
scopes later (Figure 0875).
Figure 0875 : Add or Edit DHCP Scopes page
460