Creating the Active Directory

Embed Size (px)

Citation preview

  • 7/30/2019 Creating the Active Directory

    1/24

    Installation of MicroSoft Active Directory

    Before you start following this article you must be aware this is simply a lab setup and you need

    to assign relevant ip address, hostnames & domain names which are relavant to your enviroment/ organisation.

    I will be using the following:

    Hostname=bharathsIP address=192.168.1.5

    Subnet Mask=255.255.0.0Domain name=appsdba.info

    Partition: NTFS ( 8 GB )

    The Virtual machine used has been installed as of date when this article was written with adefault install of Windows 2003

  • 7/30/2019 Creating the Active Directory

    2/24

    Step 1: Start Windows

  • 7/30/2019 Creating the Active Directory

    3/24

    Step 3: Go to the command prompt. start > run > cmd > click ok

    Ensure the hostname is configured correctly. This can be changed at a later date once it has been made a

    DC but I personally recommend NOT doing so. Get it right the first time is always recommended. The ip

    address, subnet mask, DG & DNS has been set correctly according to your network ip addressing plan.

    Creating the Active Directory

  • 7/30/2019 Creating the Active Directory

    4/24

    After you have installed Windows Server 2003 on a stand-alone server, run the Active Directory Wizard to create the new

    Active Directory forest or domain, and then convert the Windows Server 2003 computer into the first domain controller in

    the forest. To convert a Windows Server 2003 computer into the f irst domain controller in the forest, fol low these steps:

    1. Insert the Windows Server 2003 CD-ROM into your computer's CD-ROM or DVD-ROM drive.

    2. Click Start, click Run, and then type dcpromo.

    3. Click OKto start the Active Directory Installation Wizard, and then click Next.

    4. Click Domain controller for a new domain, and then click Next.

  • 7/30/2019 Creating the Active Directory

    5/24

    5. Click Domain in a new forest, and then click Next.

  • 7/30/2019 Creating the Active Directory

    6/24

  • 7/30/2019 Creating the Active Directory

    7/24

    6. Specify the full DNS name for the new domain. Note that because this procedure is for a laboratory environment

    and you are not integrating this environment into your existing DNS infrastructure, you can use something generic,

    such as mycompany.local, for this setting. Click Next.

    7. Accept the default domain NetBIOS name (this is "mycompany" if you used the suggestion in step 6). Click Next.

  • 7/30/2019 Creating the Active Directory

    8/24

    8. Set the database and log file location to the default setting of the c: \winnt\ntds folder, and then click Next.

  • 7/30/2019 Creating the Active Directory

    9/24

    9. Set the Sysvol folder location to the default setting of the c:\winnt\sysvol folder, and then click Next.

  • 7/30/2019 Creating the Active Directory

    10/24

    10. Click Install and configure the DNS server on this computer, and then click Next.

  • 7/30/2019 Creating the Active Directory

    11/24

    11. Click Permissions compatible only with Windows 2000 or Windows Server 2003 servers or operating

    systems, and then click Next.

  • 7/30/2019 Creating the Active Directory

    12/24

    12. Because this is a laboratory environment, leave the password for the Directory Services Restore Mode

    Administrator blank. Note that in a full production environment, this password is set by using a secure password

    format. Click Next.

  • 7/30/2019 Creating the Active Directory

    13/24

    Oracle123

    13. Review and confirm the options that you selected, and then click Next.

  • 7/30/2019 Creating the Active Directory

    14/24

    14. The installation of Active Directory proceeds. Note that this operation may take several minutes.

  • 7/30/2019 Creating the Active Directory

    15/24

  • 7/30/2019 Creating the Active Directory

    16/24

    15. When you are prompted, restart the computer. After the computer restarts, confirm that the Domain Name System

    (DNS) service location records for the new domain controller have been created. To confirm that the DNS service

    location records have been created, follow these steps:

    a. Click Start, point to Administrative Tools, and then click DNS to start the DNS Administrator Console.

    b. Expand the server name, expand Forward Lookup Zones, and then expand the domain.

    c. Verify that the _msdcs, _sites, _tcp, and _udp folders are present. These folders and the service location

    records they contain are critical to Active Directory and Windows Server 2003 operations.

  • 7/30/2019 Creating the Active Directory

    17/24

  • 7/30/2019 Creating the Active Directory

    18/24

    Create OUs

    Using the Windows interface

    1. Open Active Directory Users and Computers.

    2. In the console tree, right-click the folder in which you want to add an organizational unit.

    Where?

    o Active Directory Users and Computers/domain node/folder

    3. Point to New, and then clickOrganizational Unit.

    4. Type the name of the organizational unit.

  • 7/30/2019 Creating the Active Directory

    19/24

  • 7/30/2019 Creating the Active Directory

    20/24

    Adding Users and Computers to the Active Directory Domain

    After the new Active Directory domain is established, create a user account in that domain to use as an administrative

    account. When that user is added to the appropriate security groups, use that account to add computers to the domain.

    2. To create a new user, follow these steps:

    a. Click Start, point to Administrative Tools, and then click Active Directory Users and Computers to

    start the Active Directory Users and Computers console.

    b. Click the domain name that you created, and then expand the contents.

    c. Right-click Users, point to New, and then click User.

    d. Type the first name, last name, and user logon name of the new user, and then click Next.

    e. Type a new password, confirm the password, and then click to select one of the following check boxes:

    Users must change password at next logon (recommended for most users)

    User cannot change password

    Password never expires

  • 7/30/2019 Creating the Active Directory

    21/24

    Account is disabled

    Oracle123

    Click Next.

    f. Review the information that you provided, and if everything is correct, click Finish.

  • 7/30/2019 Creating the Active Directory

    22/24

  • 7/30/2019 Creating the Active Directory

    23/24

  • 7/30/2019 Creating the Active Directory

    24/24

    http://support.microsoft.com/kb/324753

    http://support.microsoft.com/kb/324753http://support.microsoft.com/kb/324753