• No results found

How do I install Active Directory on my Windows Server 2003 server?

N/A
N/A
Protected

Academic year: 2021

Share "How do I install Active Directory on my Windows Server 2003 server?"

Copied!
26
0
0

Loading.... (view fulltext now)

Full text

(1)

How do I install Active Directory on my

Windows Server 2003 server?

Here is a quick list of what you must have:

• An NTFS partition with enough free space • An Administrator's username and password • The correct operating system version • A NIC

• Properly configured TCP/IP (IP address, subnet mask and - optional - default gateway)

• A network connection (to a hub or to another computer via a crossover cable)

• An operational DNS server (which can be installed on the DC itself) • A Domain name that you want to use

• The Windows Server 2003 CD media (or at least the i386 folder) • Brains (recommended, not required...)

Step 1: Configure the computer's suffix

(Not mandatory, can be done via the Dcpromo process).

1.

Right click My Computer and choose Properties.

(2)

3.

Set the computer's NetBIOS name. In Windows Server 2003, this CAN be changed after the computer has been promoted to Domain Controller.

4.

Click More.

(3)

6.

Click Ok.

7.

You'll get a warning window.

8.

Click Ok.

(4)

10.

Click Ok.

11.

You'll get a warning window.

12.

Click Ok to restart.

Step 2: Configuring the computer's TCP/IP settings

You must configure the would-be Domain Controller to use it's own IP address as the address of the DNS server, so it will point to itself when registering SRV records and when querying the DNS database.

Configure TCP/IP

1.

Click Start, point to Settings and then click Control Panel.

2.

Double-click Network and Dial-up Connections.

3.

Right-click Local Area Connection, and then click Properties.

(5)

5.

Assign this server a static IP address, subnet mask, and gateway address. Enter the server's IP address in the Preferred DNS server box.

Note: This is true if the server itself will also be it's own DNS server.

6.

Click Advanced.

7.

Click the DNS Tab.

8.

Select "Append primary and connection specific DNS suffixes"

9.

Check "Append parent suffixes of the primary DNS suffix"

(6)

servers here. If this server needs to resolve names on the Internet, it should have a forwarder configured.

11.

Click OK to close the Advanced TCP/IP Settings properties.

12.

Click OK to accept the changes to your TCP/IP configuration.

13.

Click OK to close the Local Area Connections properties.

Step 3: Configure the DNS Zone

(Not mandatory, can be done via the Dcpromo process).

This article assumes that you already have the DNS service installed. If this is not the case, please read Create a New DNS Server for AD.

Furthermore, it is assumed that the DC will also be it's own DNS server. If that is not the case, you MUST configure another Windows 2000/2003 server as the DNS server, and if you try to run DCPROMO without doing so, you'll end up with errors and the process will fail.

Creating a Standard Primary Forward Lookup Zone

1.

Click Start, point to All Programs, point to Administrative Tools, and then click DNS Manager. You see two zones under your computer name: Forward Lookup Zone and Reverse Lookup Zone.

(7)

3.

Click Next. The new forward lookup zone must be a primary zone so that it can accept dynamic updates. Click Primary, and then click Next.

(8)

Type the name of the zone, and then click Next.

5.

Accept the default name for the new zone file. Click Next.

6.

To be able to accept dynamic updates to this new zone, click "Allow both nonsecure and secure dynamic updates". Click Next.

(9)

You should now make sure your computer can register itself in the new zone. Go to the Command Prompt (CMD) and run "ipconfig /registerdns" (no

quotes, duh...). Go back to the DNS console, open the new zone and refresh it (F5). Notice that the computer should by now be listed as an A Record in the right pane.

If it's not there try to reboot (although if it's not there a reboot won't do much good). Check the spelling on your zone and compare it to the suffix you created in step 1. Check your IP settings.

Enable DNS Forwarding for Internet connections (Not

mandatory)

1.

Start the DNS Management Console.

(10)

3.

Click the Forwarders tab.

4.

In the IP address box enter the IP address of the DNS servers you want to forward queries to - typically the DNS server of your ISP. You can also move them up or down. The one that is highest in the list gets the first try, and if it does not respond within a given time limit - the query will be forwarded to the next server in the list.

5.

Click OK.

(11)

You can (but you don't have to) also create a reverse lookup zone on your DNS server. The zone's name will be the same as your TCP/IP Network ID. For example, if your IP address is 192.168.0.200, then the zone's name will be 192.168.0 (DNS will append a long name to it, don't worry about it). You should also configure the new zone to accept dynamic updates. I guess you can do it on your own by now, can't you?

Step 4: Running DCPROMO

After completing all the previous steps (remember you didn't have to do them) and after double checking your requirements you should now run Dcpromo.exe from the Run command.

1.

Click Start, point to Run and type "dcpromo".

2.

The wizard windows will appear. Click Next.

(12)

4.

Choose Domain Controller for a new domain and click Next.

(13)

6.

Enter the full DNS name of the new domain, for example - kuku.co.il - this must be the same as the DNS zone you've created in step 3, and the same as the computer name suffix you've created in step 1. Click Next.

This step might take some time because the computer is searching for the DNS server and checking to see if any naming conflicts exist.

(14)

8.

Accept the Database and Log file location dialog box (unless you want to change them of course). The location of the files is by default %systemroot%\NTDS, and you should not change it unless you have performance issues in mind. Click Next.

9.

Accept the Sysvol folder location dialog box (unless you want to change it of course). The location of the files is by default

(15)

10.

If your DNS server, zone and/or computer name suffix were not configured correctly you will get the following warning:

This means the Dcpromo wizard could not contact the DNS server, or it did contact it but could not find a zone with the name of the future domain. You should check your settings. Go back to steps 1, 2 and 3. Click Ok.

You have an option to let Dcpromo do the configuration for you. If you want, Dcpromo can install the DNS service, create the appropriate zone, configure it to accept dynamic updates, and configure the TCP/IP settings for the DNS server IP address.

(16)

Click Next.

Otherwise, you can accept the default choice and then quit Dcpromo and check steps 1-3.

11.

If your DNS settings were right, you'll get a confirmation window.

Just click Next.

12.

Accept the Permissions compatible only with Windows 2000 or Windows Server 2003 settings, unless you have legacy apps running on Pre-W2K servers.

(17)

14.

Review your settings and if you like what you see - Click Next.

(18)

16.

If all went well you'll see the final confirmation window. Click Finish.

17.

You must reboot in order for the AD to function properly.

18.

Click Restart now.

Step 5: Checking the AD installation

(19)

1.

First, see that the Administrative Tools folder has all the AD management tools installed.

(20)

3.

Run Active Directory Sites and Services. See that you have a site named Default-First-Site-Name, and that in it your server is listed.

(21)

= Good

If they don't (like in the following screenshot), your AD functions will be broken (a good sign of that is the long time it took you to log on. The "Preparing Network Connections" windows will sit on the screen for many moments, and even when you do log on many AD operations will give you errors when trying to perform them).

(22)

= Bad

This might happen if you did not manually configure your DNS server and let the DCPROMO process do it for you.

Another reason for the lack of SRV records (and of all other records for that matter) is the fact that you DID configure the DNS server manually, but you made a mistake, either with the computer suffix name or with the IP address of the DNS server (see steps 1 through 3).

To try and fix the problems first see if the zone is configured to accept dynamic updates.

(23)

2.

On the General tab, under Dynamic Update, click to select "Nonsecure and secure" from the drop-down list, and then click OK to accept the change.

You should now restart the NETLOGON service to force the SRV registration.

(24)

Or from the command prompt type "net stop netlogon", and after it finishes, type "net start netlogon".

Let it finish, go back to the DNS console, click your zone and refresh it (F5). If all is ok you'll now see the 4 SRV record folders.

(25)

5.

Check the NTDS folder for the presence of the required files.

6.

Check the SYSVOL folder for the presence of the required subfolders.

(26)

References

Related documents

With the V5R1 DNS server based on BIND 8, you can configure your DNS zone to accept dynamic updates to DNS records in conjunction with intermittent address changes through DHCP..

If you want, Dcpromo can install the DNS service, create the appropriate zone, configure it to accept dynamic updates, and configure the TCP/IP settings for the DNS server

This training will include a basic guide for how to install and setup Microsoft Windows 2003 DNS server to support Microsoft Active Directory.. Training Installing

Set your Time Zone information, and click the Edit button to enter relevant Time Server information.. Check with your network people for the IP address

Install Microsoft Active Directory Certificate Services as described in Install and configure AD CS with Windows Server Enterprise , with the following settings:.. ◦ In the Private

You can find how to install DNS server and how to configure DNS server, and how to examine DNS server setting in Q4: What should I do when I receive the message “Cannot find

With the i5/OS DNS server based on BIND 8, you can configure your DNS zone to accept dynamic updates to DNS records in conjunction with intermittent address changes through DHCP..

Under forward lookup zones, select the zone to which the A record will be added.. In this example this would