step by step guide to setup active directory on windows server 2012 - rebeladmin

Upload: senzom

Post on 28-Feb-2018

231 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    1/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 1 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    STEP BY STEP GUIDE TO SETUP ACTIVE DI-

    RECTORY ON WINDOWS SERVER 2012

    This tutorial will explain how to install AD on server 2012 R2.

    Requirement:

    Minimum: 1.4 Ghz 64-bit processor

    Minimum: 512 MB RAM

    Minimum: 32 GB or greater

    The first step is to get server 2012 install on a server. it is very similar to server 2008 install and

    in one of my previous posts i have discribe how to do the install in details.

    REBELADMIN

    http://www.rebeladmin.com/
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    2/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 2 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    Next thing we need to do is get network interfaces configured. it is obvious to use static ip ad-

    dress for the server. Since the server will be act as DNS server, for DNS server field you can use

    local host address 127.0.0.1

    http://www.rebeladmin.com/wp-content/uploads/2014/07/2.jpghttp://www.rebeladmin.com/wp-content/uploads/2014/07/1.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    3/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 3 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    It is recommend to use meaning full name as the server name. in demo i renamed it as "DCPR1"

    After this we are ready to start on the AD install. As per my next step i will start DNS role install

    first. This is not must to do, you also can install dns during the AD install. But as per best practice

    i always prefer to add DNS role first.To do this we need to start "Server Manager" it can opne using shortcut on task bar or from Start

    > Server Manager

    http://www.rebeladmin.com/wp-content/uploads/2014/07/3.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    4/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 4 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    Then in Server Manager window click on option "Add roles and features" option.

    Then it will load the "Add Role Wizard", Click next to continue

    http://www.rebeladmin.com/wp-content/uploads/2014/07/5.jpghttp://www.rebeladmin.com/wp-content/uploads/2014/07/4.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    5/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 5 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    In next window keep "Role-based or feature-based installation" default selection and click on

    next.

    http://www.rebeladmin.com/wp-content/uploads/2014/07/7.jpghttp://www.rebeladmin.com/wp-content/uploads/2014/07/6.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    6/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 6 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    In next window we can select which server to install role. in our case it will be local. so keep the

    default selection and click on next.

    In next window it give option to select the roles. select the "DNS Server" and click on box to tick

    it.

    http://www.rebeladmin.com/wp-content/uploads/2014/07/8.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    7/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 7 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    Then it will prompt window to inform about the related additional features which DNS role need.

    click on "Add features" to continue.

    http://www.rebeladmin.com/wp-content/uploads/2014/07/10.jpghttp://www.rebeladmin.com/wp-content/uploads/2014/07/9.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    8/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 8 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    In next window it gives option to select any additional feature, but in here i will keep it default.

    click on next to continue

    Then it will give brief introduction about the DNS role, click on next button to continue

    http://www.rebeladmin.com/wp-content/uploads/2014/07/11.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    9/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 9 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    In next window it will give details about the selected features and click on "Install" to begin the

    installation

    http://www.rebeladmin.com/wp-content/uploads/2014/07/13.jpghttp://www.rebeladmin.com/wp-content/uploads/2014/07/12.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    10/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 10 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    Then it will begin the installation and we need to wait till it completes.

    Once its completes click on close.

    http://www.rebeladmin.com/wp-content/uploads/2014/07/14.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    11/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 11 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    Then you can access DNS server using server manager > tools > DNS

    http://www.rebeladmin.com/wp-content/uploads/2014/07/15.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    12/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 12 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    http://www.rebeladmin.com/wp-content/uploads/2014/07/16.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    13/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 13 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    Now we have every thing ready for AD install. so lets load server manager again and click on "Add

    roles and features"

    Then it will load the "Add roles and features" wizard. click on next to continue.

    http://www.rebeladmin.com/wp-content/uploads/2014/07/5.jpghttp://www.rebeladmin.com/wp-content/uploads/2014/07/17.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    14/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 14 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    In next window keep "Role-based or feature-based installation" default selection and click on

    next.

    http://www.rebeladmin.com/wp-content/uploads/2014/07/7.jpghttp://www.rebeladmin.com/wp-content/uploads/2014/07/6.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    15/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 15 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    In next window we can select which server to install role. in our case it will be local. so keep the

    default selection and click on next.

    In next window it gives option to select the roles. select and click on tick box "Active Directory

    Domain Services"

    http://www.rebeladmin.com/wp-content/uploads/2014/07/8.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    16/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 16 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    Then it will prompt window to indicate the additional feature installations related to selected role.

    click on "Add Features" to continue.

    http://www.rebeladmin.com/wp-content/uploads/2014/07/dc3.jpghttp://www.rebeladmin.com/wp-content/uploads/2014/07/dc1.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    17/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 17 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    Then in next window click on next to continue

    In next window it will give option to select addtional feature to install. but i will keep the default

    selection. click next to install.

    http://www.rebeladmin.com/wp-content/uploads/2014/07/dc4.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    18/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 18 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    In next window it give brief description about the AD service. click on next to continue.

    http://www.rebeladmin.com/wp-content/uploads/2014/07/dc6.jpghttp://www.rebeladmin.com/wp-content/uploads/2014/07/dc5.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    19/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 19 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    In next window it gives brief about the installation. click on "install" to start the installation.

    In next window it will begins the service install and we have to wait till it finish.

    http://www.rebeladmin.com/wp-content/uploads/2014/07/dc7.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    20/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 20 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    Once it finish click on "close" to exit from the wizard. then next step is to reboot the server to

    complete the installation.

    http://www.rebeladmin.com/wp-content/uploads/2014/07/dc9.jpghttp://www.rebeladmin.com/wp-content/uploads/2014/07/dc8.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    21/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 21 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    After that completes we need to start on the DC setup. to start that open the "Server Manager"

    and click Task flag on right hand corner. then it will list option as below picture. click on "pro-

    mote this server to a domain controller" option ( highlighted with yellow in picture)

    Then it starts the DCPROMO wizard. on the first window since its going to be new forest i have

    selected option "Add a new forest" and i typed the domain name "contoso.com" which i will be

    using on the forest. once fill the info click on "next" to continue.

    In next window we can select the forest and domain functional levels. i will keep it default. then

    in domain controller capabilities its by default selected DNS server and Global Catalog as its first

    http://www.rebeladmin.com/wp-content/uploads/2014/07/c2.jpghttp://www.rebeladmin.com/wp-content/uploads/2014/07/c1.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    22/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 22 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    DC in the forest. then we need to defined password to use in DC recovery. click on next to con-

    tinue.

    In next window it will give following error but it can be ignore. click on next to continue.

    http://www.rebeladmin.com/wp-content/uploads/2014/07/c3.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    23/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 23 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    In next window it ask for the netbios name. we can keep it default and click on next to continue.

    http://www.rebeladmin.com/wp-content/uploads/2014/07/c5.jpghttp://www.rebeladmin.com/wp-content/uploads/2014/07/c4.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    24/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 24 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    In next window it give option to change file paths for AD database, log files and SYSVOL files. we

    can change the paths or keep them defaults. once changes are done click on next to continue.

    http://www.rebeladmin.com/wp-content/uploads/2014/07/c6.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    25/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 25 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    In next window it gives description about the installation. click on next to continue.

    http://www.rebeladmin.com/wp-content/uploads/2014/07/c8.jpghttp://www.rebeladmin.com/wp-content/uploads/2014/07/c7.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    26/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 26 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    In next window it will run system check and verify system is compatible with the selected installa-

    tion. once test completes successfully click on install button to begin the installation. if its passes

    any critical errors those needs to be address before the installation begin.

    then it will start the install and we need to wait till it finishes.

    http://www.rebeladmin.com/wp-content/uploads/2014/07/c9.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    27/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    Page 27 of 39http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/

    Once its complete the install it will automatically reboot the server.

    Once server is rebooted log in to server using domain admin credentials.

    In our demo it will be in format of

    user : contoso\Administrator

    password : XXXXXXXXX

    Once login, load the "Server manager" and click on "AD DS" option in right hand list. then select

    and right click as showed in screenshot to start with AD configuration.

    http://www.rebeladmin.com/wp-content/uploads/2014/07/c10.jpg
  • 7/25/2019 Step by Step Guide to Setup Active Directory on Windows Server 2012 - RebelAdmin

    28/28

    2016/07/02, 354 AMStep by Step guide to setup Active Directory on Windows Server 2012 - RebelAdmin

    CREATE USERS WITH USER TEMPLATES IN AD !

    Now we successfully completed with the DC setup on server 2012 R2. if you have any issue aboutthe steps feel free to contact me on [email protected]

    Share and Enjoy:

    "HOW TO INSTALL PRINT SERVER ?

    35 COMMENTS

    http://www.rebeladmin.com/2014/07/how-to-install-print-server/http://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/#commentshttp://www.rebeladmin.com/2014/07/step-by-step-guide-to-setup-active-directory-on-windows-server-2012/http://www.rebeladmin.com/tag/windows-server-2012/http://www.rebeladmin.com/tag/windows-2012-r2-server/http://www.rebeladmin.com/tag/role-services/http://www.rebeladmin.com/tag/globle-catalogue/http://www.rebeladmin.com/tag/dns-server/http://www.rebeladmin.com/tag/ad-feature/http://www.rebeladmin.com/tag/active-directory-forest/http://www.rebeladmin.com/tag/active-directory-2012/http://www.rebeladmin.com/category/microsoft/windows-2012/http://www.rebeladmin.com/category/microsoft/http://www.rebeladmin.com/category/microsoft/active-directory/http://twitter.com/home?status=Step%20by%20Step%20guide%20to%20setup%20Active%20Directory%20on%20Windows%20Server%202012%20-%20http%3A%2F%2Fwww.rebeladmin.com%2F2014%2F07%2Fstep-by-step-guide-to-setup-active-directory-on-windows-server-2012%2Fhttp://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.rebeladmin.com%2F2014%2F07%2Fstep-by-step-guide-to-setup-active-directory-on-windows-server-2012%2F&title=Step%20by%20Step%20guide%20to%20setup%20Active%20Directory%20on%20Windows%20Server%202012http://www.rebeladmin.com/feed/https://favorites.live.com/quickadd.aspx?marklet=1&url=http%3A%2F%2Fwww.rebeladmin.com%2F2014%2F07%2Fstep-by-step-guide-to-setup-active-directory-on-windows-server-2012%2F&title=Step%20by%20Step%20guide%20to%20setup%20Active%20Directory%20on%20Windows%20Server%202012http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Fwww.rebeladmin.com%2F2014%2F07%2Fstep-by-step-guide-to-setup-active-directory-on-windows-server-2012%2F&title=Step%20by%20Step%20guide%20to%20setup%20Active%20Directory%20on%20Windows%20Server%202012&source=RebelAdmin+&summary=This%20tutorial%20will%20explain%20how%20to%20install%20AD%20on%20server%202012%20R2.%0D%0A%09%0D%0A%09Requirement%3A%0D%0A%09%0D%0A%09Minimum%3A%201.4%20Ghz%2064-bit%20processor%0D%0A%09%0D%0A%09Minimum%3A%20512%20MB%20RAM%0D%0A%09%0D%0A%09Minimum%3A%2032%20GB%20or%20greater%0D%0AThe%20first%20step%20is%20to%20get%20server%202012%20install%20on%20a%20server.%20it%20is%20very%20simhttp://www.google.com/bookmarks/mark?op=edit&bkmk=http%3A%2F%2Fwww.rebeladmin.com%2F2014%2F07%2Fstep-by-step-guide-to-setup-active-directory-on-windows-server-2012%2F&title=Step%20by%20Step%20guide%20to%20setup%20Active%20Directory%20on%20Windows%20Server%202012&annotation=This%20tutorial%20will%20explain%20how%20to%20install%20AD%20on%20server%202012%20R2.%0D%0A%09%0D%0A%09Requirement%3A%0D%0A%09%0D%0A%09Minimum%3A%201.4%20Ghz%2064-bit%20processor%0D%0A%09%0D%0A%09Minimum%3A%20512%20MB%20RAM%0D%0A%09%0D%0A%09Minimum%3A%2032%20GB%20or%20greater%0D%0AThe%20first%20step%20is%20to%20get%20server%202012%20install%20on%20a%20server.%20it%20is%20very%20simhttp://www.facebook.com/share.php?u=http%3A%2F%2Fwww.rebeladmin.com%2F2014%2F07%2Fstep-by-step-guide-to-setup-active-directory-on-windows-server-2012%2F&t=Step%20by%20Step%20guide%20to%20setup%20Active%20Directory%20on%20Windows%20Server%202012http://delicious.com/post?url=http%3A%2F%2Fwww.rebeladmin.com%2F2014%2F07%2Fstep-by-step-guide-to-setup-active-directory-on-windows-server-2012%2F&title=Step%20by%20Step%20guide%20to%20setup%20Active%20Directory%20on%20Windows%20Server%202012&notes=This%20tutorial%20will%20explain%20how%20to%20install%20AD%20on%20server%202012%20R2.%0D%0A%09%0D%0A%09Requirement%3A%0D%0A%09%0D%0A%09Minimum%3A%201.4%20Ghz%2064-bit%20processor%0D%0A%09%0D%0A%09Minimum%3A%20512%20MB%20RAM%0D%0A%09%0D%0A%09Minimum%3A%2032%20GB%20or%20greater%0D%0AThe%20first%20step%20is%20to%20get%20server%202012%20install%20on%20a%20server.%20it%20is%20very%20simhttp://digg.com/submit?phase=2&url=http%3A%2F%2Fwww.rebeladmin.com%2F2014%2F07%2Fstep-by-step-guide-to-setup-active-directory-on-windows-server-2012%2F&title=Step%20by%20Step%20guide%20to%20setup%20Active%20Directory%20on%20Windows%20Server%202012&bodytext=This%20tutorial%20will%20explain%20how%20to%20install%20AD%20on%20server%202012%20R2.%0D%0A%09%0D%0A%09Requirement%3A%0D%0A%09%0D%0A%09Minimum%3A%201.4%20Ghz%2064-bit%20processor%0D%0A%09%0D%0A%09Minimum%3A%20512%20MB%20RAM%0D%0A%09%0D%0A%09Minimum%3A%2032%20GB%20or%20greater%0D%0AThe%20first%20step%20is%20to%20get%20server%202012%20install%20on%20a%20server.%20it%20is%20very%20simhttp://www.printfriendly.com/print?url=http%3A%2F%2Fwww.rebeladmin.com%2F2014%2F07%2Fstep-by-step-guide-to-setup-active-directory-on-windows-server-2012%2F&partner=sociablehttp://www.rebeladmin.com/wp-content/uploads/2014/07/c11.jpghttp://www.rebeladmin.com/2014/07/create-users-with-user-templates-in-ad/