SlideShare a Scribd company logo
How do I install Active Directory on my
Windows Server 2003 server?
by Daniel Petri - January 8, 2009
Printer Friendly Version
First make sure you read and understand Active Directory Installation Requirements. If you don't
comply with all the requirements of that article you will not be able to set up your AD (for
example: you don't have a NIC or you're using a computer that's not connected to a LAN).
Note: This article is only good for understanding how to install the FIRST DC in a NEW AD
Domain, in a NEW TREE, in a NEW FOREST. Meaning - don't do it for any other scenario,
such as a new replica DC in an existing domain. In order to install a Windows Server 2003 DC in
an EXISTING Windows 2000 Domain follow the Windows 2003 ADPrep tip.
Windows 2000 Note: If you plan to install a new Windows 2000 DC please read How to Install
Active Directory on Windows 2000.
Windows 2008 Note: Install Active Directory on Windows Server 2008 provides complete
instruction details for working with Windows Server 2008.
Windows Server 2003 Note: If you plan to install a new Windows Server 2003 DC in an
existing AD forest please read the page BEFORE you go on, otherwise you'll end up with the
following error:
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...)
This article assumes that all of the above requirements are fulfilled.
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. Click the Computer Name tab, then Change.
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.
5. In the Primary DNS suffix of this computer box enter the would-be domain name. Make
sure you got it right. No spelling mistakes, no "oh, I thought I did it right...". Although
the domain name CAN be changed after the computer has been promoted to Domain
Controller, this is not a procedure that one should consider lightly, especially because on
the possible consequences. Read more about it on my Windows 2003 Domain Rename
Tool page.
6. Click Ok.
7. You'll get a warning window.
8. Click Ok.
9. Check your settings. See if they're correct.
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.
4. Click Internet Protocol (TCP/IP), and then click Properties.
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. If you have another operational
Windows 2000/2003 server that is properly configured as your DNS server (read my
Create a New DNS Server for AD page) - enter that server's IP address instead:
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"
10. Check "Register this connection's addresses in DNS". If this Windows 2000/2003-based
DNS server is on an intranet, it should only point to its own IP address for DNS; do not
enter IP addresses for other DNS 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.
Download SQL Server 2012
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.
2. Right click Forward Lookup Zones and choose to add a new zone.
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.
4. The name of the zone must be the same as the name of the Active Directory domain, or
be a logical DNS container for that name. For example, if the Active Directory domain is
named "lab.dpetri.net", legal zone names are "lab.dpetri.net", "dpetri.net", or "net".
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.
7. Click Finish.
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.
2. Right click the DNS Server object for your server in the left pane of the console, and
click Properties.
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.
Creating a Standard Primary Reverse Lookup Zone
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.
FREE eBook (Draft Preview): Microsoft SQL Server Code Name “Denali”
[PDF]
3. In the Operating System Compatibility windows read the requirements for the domain's
clients and if you like what you see - press Next.
4. Choose Domain Controller for a new domain and click Next.
5. Choose Create a new Domain in a new forest and click Next.
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.
7. Accept the the down-level NetBIOS domain name, in this case it's KUKU. Click Next
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 %systemroot%SYSVOL, and you should not
change it unless you have performance issues in mind. This folder must be on an NTFS
v5.0 partition. This folder will hold all the GPO and scripts you'll create, and will be
replicated to all other Domain Controllers. Click Next.
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.To let Dcpromo do the work
for you, select "Install and configure the DNS server...".
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.
13. Enter the Restore Mode administrator's password. In Windows Server 2003 this password
can be later changed via NTDSUTIL. Click Next.
14. Review your settings and if you like what you see - Click Next.
15. See the wizard going through the various stages of installing AD. Whatever you do -
NEVER click Cancel!!! You'll wreck your computer if you do. If you see you made a
mistake and want to undo it, you'd better let the wizard finish and then run it again to
undo the AD.
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
You should now check to see if the AD installation went well.
1. First, see that the Administrative Tools folder has all the AD management tools installed.
2. Run Active Directory Users and Computers (or type "dsa.msc" from the Run command).
See that all OUs and Containers are there.
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.
4. 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). =
BadThis 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).
Open the DNS console. See that you have a zone with the same name as your AD domain
(the one you've just created, remember? Duh...). See that within it you have the 4 SRV
record folders. They must exist.
= Good
To try and fix the problems first see if the zone is configured to accept dynamic updates.
5. Right-click the zone you created, and then click Properties.
6. 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.You can do it from the Services
console in Administrative tools:
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.
If the 4 SRV records are still not present double check the spelling of the zone in the
DNS server. It should be exactly the same as the AD Domain name. Also check the
computer's suffix (see step 1). You won't be able to change the computer's suffix after the
AD is installed, but if you have a spelling mistake you'd be better off by removing the
AD now, before you have any users, groups and other objects in place, and then after
repairing the mistake - re-running DCPROMO.
7. Check the NTDS folder for the presence of the required files.
8. Check the SYSVOL folder for the presence of the required subfolders.
9. Check to see if you have the SYSVOL and NETLOGON shares, and their location.
If all of the above is ok, I think it's safe to say that your AD is properly installed.

More Related Content

What's hot

Windows Server 2008 R2 Active Directory ADFS Claims Base Identity for Windows...
Windows Server 2008 R2 Active Directory ADFS Claims Base Identity for Windows...Windows Server 2008 R2 Active Directory ADFS Claims Base Identity for Windows...
Windows Server 2008 R2 Active Directory ADFS Claims Base Identity for Windows...
Tũi Wichets
 
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Mumbai B.Sc.IT Study
 
Computer networking demo
Computer networking demoComputer networking demo
Computer networking demo
Melchor Maravillas
 
Implementing a network
Implementing a networkImplementing a network
Implementing a network
Jaleel James
 
Connections fornewbies
Connections fornewbiesConnections fornewbies
Connections fornewbies
r4ttl3r
 
Createtnsnames
CreatetnsnamesCreatetnsnames
Createtnsnames
oracle documents
 
Documentation free nas
Documentation free nasDocumentation free nas
Documentation free nas
Moaaz Magdy
 
Documentation freenas
Documentation freenas Documentation freenas
Documentation freenas
Moaaz Magdy
 
7 understanding DNS
7 understanding DNS7 understanding DNS
7 understanding DNS
Hameda Hurmat
 
Installing Rhel 5
Installing Rhel 5Installing Rhel 5
Installing Rhel 5
monywa
 
Active Directory
Active DirectoryActive Directory
Active Directory
webhostingguy
 
Classroom ltsp configuration
Classroom ltsp configurationClassroom ltsp configuration
Classroom ltsp configuration
billmulyanto
 
Active directory dns
Active directory dnsActive directory dns
Active directory dns
palashghosh123
 
DDive11 - Quickr HowTo
DDive11 - Quickr HowToDDive11 - Quickr HowTo
How to install windows xp
How to install windows xpHow to install windows xp
How to install windows xp
Glad Norman Limocon
 
Inform2015 - What's New in Domino 9 & 9.0.1 for Admins
Inform2015 - What's New in Domino 9 & 9.0.1 for AdminsInform2015 - What's New in Domino 9 & 9.0.1 for Admins
Inform2015 - What's New in Domino 9 & 9.0.1 for Admins
Jared Roberts
 
Deployment serviceswd sinwindowsserver2008
Deployment serviceswd sinwindowsserver2008Deployment serviceswd sinwindowsserver2008
Deployment serviceswd sinwindowsserver2008
o12
 
Installing R H E L 5
Installing  R H E L 5Installing  R H E L 5
Installing R H E L 5
monywa
 
Windows Deployment Services Tutorial
Windows Deployment Services TutorialWindows Deployment Services Tutorial
Windows Deployment Services Tutorial
Travis Kench
 

What's hot (19)

Windows Server 2008 R2 Active Directory ADFS Claims Base Identity for Windows...
Windows Server 2008 R2 Active Directory ADFS Claims Base Identity for Windows...Windows Server 2008 R2 Active Directory ADFS Claims Base Identity for Windows...
Windows Server 2008 R2 Active Directory ADFS Claims Base Identity for Windows...
 
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
 
Computer networking demo
Computer networking demoComputer networking demo
Computer networking demo
 
Implementing a network
Implementing a networkImplementing a network
Implementing a network
 
Connections fornewbies
Connections fornewbiesConnections fornewbies
Connections fornewbies
 
Createtnsnames
CreatetnsnamesCreatetnsnames
Createtnsnames
 
Documentation free nas
Documentation free nasDocumentation free nas
Documentation free nas
 
Documentation freenas
Documentation freenas Documentation freenas
Documentation freenas
 
7 understanding DNS
7 understanding DNS7 understanding DNS
7 understanding DNS
 
Installing Rhel 5
Installing Rhel 5Installing Rhel 5
Installing Rhel 5
 
Active Directory
Active DirectoryActive Directory
Active Directory
 
Classroom ltsp configuration
Classroom ltsp configurationClassroom ltsp configuration
Classroom ltsp configuration
 
Active directory dns
Active directory dnsActive directory dns
Active directory dns
 
DDive11 - Quickr HowTo
DDive11 - Quickr HowToDDive11 - Quickr HowTo
DDive11 - Quickr HowTo
 
How to install windows xp
How to install windows xpHow to install windows xp
How to install windows xp
 
Inform2015 - What's New in Domino 9 & 9.0.1 for Admins
Inform2015 - What's New in Domino 9 & 9.0.1 for AdminsInform2015 - What's New in Domino 9 & 9.0.1 for Admins
Inform2015 - What's New in Domino 9 & 9.0.1 for Admins
 
Deployment serviceswd sinwindowsserver2008
Deployment serviceswd sinwindowsserver2008Deployment serviceswd sinwindowsserver2008
Deployment serviceswd sinwindowsserver2008
 
Installing R H E L 5
Installing  R H E L 5Installing  R H E L 5
Installing R H E L 5
 
Windows Deployment Services Tutorial
Windows Deployment Services TutorialWindows Deployment Services Tutorial
Windows Deployment Services Tutorial
 

Viewers also liked

Elmi 4th press release
Elmi 4th press releaseElmi 4th press release
Elmi 4th press release
EUDA_ERA
 
Búsqueda en PubMed y CINAHL
Búsqueda en PubMed y CINAHLBúsqueda en PubMed y CINAHL
Búsqueda en PubMed y CINAHL
María Camacho Halcón
 
Derek_Frankel_Sound_Designer_MixEngineer_CV
Derek_Frankel_Sound_Designer_MixEngineer_CVDerek_Frankel_Sound_Designer_MixEngineer_CV
Derek_Frankel_Sound_Designer_MixEngineer_CV
Derek Frankel
 
Maks minfung
Maks minfungMaks minfung
Maks minfung
Tito Dewanto
 
Salvamar Spania 2010
Salvamar Spania 2010Salvamar Spania 2010
Salvamar Spania 2010
guesta587c2
 
Managing records in special format
Managing records in special formatManaging records in special format
Managing records in special format
Dhani Ahmad
 
Jens_CV_and_Reference_Letter_June 2016
Jens_CV_and_Reference_Letter_June 2016Jens_CV_and_Reference_Letter_June 2016
Jens_CV_and_Reference_Letter_June 2016
Jens Rune Brandal
 
UDI 1. El universo y La Tierra
UDI 1. El  universo y La TierraUDI 1. El  universo y La Tierra
UDI 1. El universo y La Tierra
Montserrat Navarro Morales
 
La vida de un niño/a hace 60 años en La Mojonera
La vida de un niño/a hace 60 años en La MojoneraLa vida de un niño/a hace 60 años en La Mojonera
La vida de un niño/a hace 60 años en La Mojonera
Montserrat Navarro Morales
 
4-Hour Home Design Workweek? Say “YES” to Affiliate Marketing by Kelly Fallis
4-Hour Home Design Workweek? Say “YES” to Affiliate Marketing by Kelly Fallis4-Hour Home Design Workweek? Say “YES” to Affiliate Marketing by Kelly Fallis
4-Hour Home Design Workweek? Say “YES” to Affiliate Marketing by Kelly Fallis
DesignBloggersConference
 
3 olim-sd-soal-eksplorasi-akhir
3 olim-sd-soal-eksplorasi-akhir3 olim-sd-soal-eksplorasi-akhir
3 olim-sd-soal-eksplorasi-akhir
SMPN 1 Cikidang
 
Aquarium Roquetas
Aquarium RoquetasAquarium Roquetas
Aquarium Roquetas
Montserrat Navarro Morales
 
DELAY IN GOVERNMENT CONSTRUCTION PROJECT , Types & Factors
DELAY IN GOVERNMENT CONSTRUCTION PROJECT , Types & FactorsDELAY IN GOVERNMENT CONSTRUCTION PROJECT , Types & Factors
DELAY IN GOVERNMENT CONSTRUCTION PROJECT , Types & Factors
Twana Ahmad
 

Viewers also liked (13)

Elmi 4th press release
Elmi 4th press releaseElmi 4th press release
Elmi 4th press release
 
Búsqueda en PubMed y CINAHL
Búsqueda en PubMed y CINAHLBúsqueda en PubMed y CINAHL
Búsqueda en PubMed y CINAHL
 
Derek_Frankel_Sound_Designer_MixEngineer_CV
Derek_Frankel_Sound_Designer_MixEngineer_CVDerek_Frankel_Sound_Designer_MixEngineer_CV
Derek_Frankel_Sound_Designer_MixEngineer_CV
 
Maks minfung
Maks minfungMaks minfung
Maks minfung
 
Salvamar Spania 2010
Salvamar Spania 2010Salvamar Spania 2010
Salvamar Spania 2010
 
Managing records in special format
Managing records in special formatManaging records in special format
Managing records in special format
 
Jens_CV_and_Reference_Letter_June 2016
Jens_CV_and_Reference_Letter_June 2016Jens_CV_and_Reference_Letter_June 2016
Jens_CV_and_Reference_Letter_June 2016
 
UDI 1. El universo y La Tierra
UDI 1. El  universo y La TierraUDI 1. El  universo y La Tierra
UDI 1. El universo y La Tierra
 
La vida de un niño/a hace 60 años en La Mojonera
La vida de un niño/a hace 60 años en La MojoneraLa vida de un niño/a hace 60 años en La Mojonera
La vida de un niño/a hace 60 años en La Mojonera
 
4-Hour Home Design Workweek? Say “YES” to Affiliate Marketing by Kelly Fallis
4-Hour Home Design Workweek? Say “YES” to Affiliate Marketing by Kelly Fallis4-Hour Home Design Workweek? Say “YES” to Affiliate Marketing by Kelly Fallis
4-Hour Home Design Workweek? Say “YES” to Affiliate Marketing by Kelly Fallis
 
3 olim-sd-soal-eksplorasi-akhir
3 olim-sd-soal-eksplorasi-akhir3 olim-sd-soal-eksplorasi-akhir
3 olim-sd-soal-eksplorasi-akhir
 
Aquarium Roquetas
Aquarium RoquetasAquarium Roquetas
Aquarium Roquetas
 
DELAY IN GOVERNMENT CONSTRUCTION PROJECT , Types & Factors
DELAY IN GOVERNMENT CONSTRUCTION PROJECT , Types & FactorsDELAY IN GOVERNMENT CONSTRUCTION PROJECT , Types & Factors
DELAY IN GOVERNMENT CONSTRUCTION PROJECT , Types & Factors
 

Similar to 1

3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf
3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf
3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf
ssuserfd0132
 
Ad installation
Ad installationAd installation
Ad installation
Jess Joseph
 
Setting up computer servers (sucs)
Setting up computer servers (sucs)Setting up computer servers (sucs)
Setting up computer servers (sucs)
Melchor Maravillas
 
Understanding Windows Azure’s Active Directory (AD) and PowerShell Tools
Understanding Windows Azure’s Active Directory (AD) and PowerShell ToolsUnderstanding Windows Azure’s Active Directory (AD) and PowerShell Tools
Understanding Windows Azure’s Active Directory (AD) and PowerShell Tools
EPC Group
 
DNS.docx
DNS.docxDNS.docx
DNS.docx
gatetesam
 
computer network designing- final year project
computer network designing- final year projectcomputer network designing- final year project
computer network designing- final year project
Aboubacar Mchangama
 
Active directory installation on windows server 2012
Active directory installation on windows server 2012Active directory installation on windows server 2012
Active directory installation on windows server 2012
Ricardo Solís
 
Creating child-domain-controller-windows-server-8
Creating child-domain-controller-windows-server-8Creating child-domain-controller-windows-server-8
Creating child-domain-controller-windows-server-8
Le Thi
 
main
mainmain
DNS,SMTP and POP3
DNS,SMTP and POP3DNS,SMTP and POP3
DNS,SMTP and POP3
Omar Faruk Sazib
 
Windows Server 2008 Active Directory
Windows Server 2008 Active DirectoryWindows Server 2008 Active Directory
Windows Server 2008 Active Directory
anilinvns
 
Windows Server 2012 Installation and Configurtion Superiorgrw
Windows Server 2012 Installation and Configurtion SuperiorgrwWindows Server 2012 Installation and Configurtion Superiorgrw
Windows Server 2012 Installation and Configurtion Superiorgrw
Awais Amjad
 
Tutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk WebhostingTutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk Webhosting
Beni Krisbiantoro
 
Ibm connections docs 2 install guide
Ibm connections docs 2 install guideIbm connections docs 2 install guide
Ibm connections docs 2 install guide
Roberto Boccadoro
 
Question 1 Refer to the graphic above to answer the following .docx
Question 1 Refer to the graphic above to answer the following .docxQuestion 1 Refer to the graphic above to answer the following .docx
Question 1 Refer to the graphic above to answer the following .docx
IRESH3
 
Install a new windows server 2008 r2 forest
Install a new windows server 2008 r2 forestInstall a new windows server 2008 r2 forest
Install a new windows server 2008 r2 forest
Raghu nath
 
Desktop windows backup solution
Desktop windows backup solutionDesktop windows backup solution
Desktop windows backup solution
Shaojie Yang
 
Manual 70-410 _Yves
Manual 70-410 _YvesManual 70-410 _Yves
Manual 70-410 _Yves
Yves Mukusa
 
Step by step_linux_guide
Step by step_linux_guideStep by step_linux_guide
Step by step_linux_guide
vinod31dec
 
Introduction_of_ADDS
Introduction_of_ADDSIntroduction_of_ADDS
Introduction_of_ADDS
Harsh Sethi
 

Similar to 1 (20)

3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf
3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf
3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf
 
Ad installation
Ad installationAd installation
Ad installation
 
Setting up computer servers (sucs)
Setting up computer servers (sucs)Setting up computer servers (sucs)
Setting up computer servers (sucs)
 
Understanding Windows Azure’s Active Directory (AD) and PowerShell Tools
Understanding Windows Azure’s Active Directory (AD) and PowerShell ToolsUnderstanding Windows Azure’s Active Directory (AD) and PowerShell Tools
Understanding Windows Azure’s Active Directory (AD) and PowerShell Tools
 
DNS.docx
DNS.docxDNS.docx
DNS.docx
 
computer network designing- final year project
computer network designing- final year projectcomputer network designing- final year project
computer network designing- final year project
 
Active directory installation on windows server 2012
Active directory installation on windows server 2012Active directory installation on windows server 2012
Active directory installation on windows server 2012
 
Creating child-domain-controller-windows-server-8
Creating child-domain-controller-windows-server-8Creating child-domain-controller-windows-server-8
Creating child-domain-controller-windows-server-8
 
main
mainmain
main
 
DNS,SMTP and POP3
DNS,SMTP and POP3DNS,SMTP and POP3
DNS,SMTP and POP3
 
Windows Server 2008 Active Directory
Windows Server 2008 Active DirectoryWindows Server 2008 Active Directory
Windows Server 2008 Active Directory
 
Windows Server 2012 Installation and Configurtion Superiorgrw
Windows Server 2012 Installation and Configurtion SuperiorgrwWindows Server 2012 Installation and Configurtion Superiorgrw
Windows Server 2012 Installation and Configurtion Superiorgrw
 
Tutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk WebhostingTutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk Webhosting
 
Ibm connections docs 2 install guide
Ibm connections docs 2 install guideIbm connections docs 2 install guide
Ibm connections docs 2 install guide
 
Question 1 Refer to the graphic above to answer the following .docx
Question 1 Refer to the graphic above to answer the following .docxQuestion 1 Refer to the graphic above to answer the following .docx
Question 1 Refer to the graphic above to answer the following .docx
 
Install a new windows server 2008 r2 forest
Install a new windows server 2008 r2 forestInstall a new windows server 2008 r2 forest
Install a new windows server 2008 r2 forest
 
Desktop windows backup solution
Desktop windows backup solutionDesktop windows backup solution
Desktop windows backup solution
 
Manual 70-410 _Yves
Manual 70-410 _YvesManual 70-410 _Yves
Manual 70-410 _Yves
 
Step by step_linux_guide
Step by step_linux_guideStep by step_linux_guide
Step by step_linux_guide
 
Introduction_of_ADDS
Introduction_of_ADDSIntroduction_of_ADDS
Introduction_of_ADDS
 

1

  • 1. How do I install Active Directory on my Windows Server 2003 server? by Daniel Petri - January 8, 2009 Printer Friendly Version First make sure you read and understand Active Directory Installation Requirements. If you don't comply with all the requirements of that article you will not be able to set up your AD (for example: you don't have a NIC or you're using a computer that's not connected to a LAN). Note: This article is only good for understanding how to install the FIRST DC in a NEW AD Domain, in a NEW TREE, in a NEW FOREST. Meaning - don't do it for any other scenario, such as a new replica DC in an existing domain. In order to install a Windows Server 2003 DC in an EXISTING Windows 2000 Domain follow the Windows 2003 ADPrep tip. Windows 2000 Note: If you plan to install a new Windows 2000 DC please read How to Install Active Directory on Windows 2000. Windows 2008 Note: Install Active Directory on Windows Server 2008 provides complete instruction details for working with Windows Server 2008. Windows Server 2003 Note: If you plan to install a new Windows Server 2003 DC in an existing AD forest please read the page BEFORE you go on, otherwise you'll end up with the following error: 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...) This article assumes that all of the above requirements are fulfilled. Step 1: Configure the computer's suffix
  • 2. (Not mandatory, can be done via the Dcpromo process). 1. Right click My Computer and choose Properties. 2. Click the Computer Name tab, then Change. 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. 5. In the Primary DNS suffix of this computer box enter the would-be domain name. Make sure you got it right. No spelling mistakes, no "oh, I thought I did it right...". Although the domain name CAN be changed after the computer has been promoted to Domain Controller, this is not a procedure that one should consider lightly, especially because on the possible consequences. Read more about it on my Windows 2003 Domain Rename Tool page. 6. Click Ok. 7. You'll get a warning window. 8. Click Ok. 9. Check your settings. See if they're correct. 10. Click Ok. 11. You'll get a warning window. 12. Click Ok to restart. Step 2: Configuring the computer's TCP/IP settings
  • 3. 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. 4. Click Internet Protocol (TCP/IP), and then click Properties. 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. If you have another operational Windows 2000/2003 server that is properly configured as your DNS server (read my Create a New DNS Server for AD page) - enter that server's IP address instead: 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" 10. Check "Register this connection's addresses in DNS". If this Windows 2000/2003-based DNS server is on an intranet, it should only point to its own IP address for DNS; do not
  • 4. enter IP addresses for other DNS 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. Download SQL Server 2012 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. 2. Right click Forward Lookup Zones and choose to add a new zone. 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. 4. The name of the zone must be the same as the name of the Active Directory domain, or be a logical DNS container for that name. For example, if the Active Directory domain is
  • 5. named "lab.dpetri.net", legal zone names are "lab.dpetri.net", "dpetri.net", or "net". 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. 7. Click Finish. 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. 2. Right click the DNS Server object for your server in the left pane of the console, and click Properties. 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
  • 6. 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. Creating a Standard Primary Reverse Lookup Zone 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. FREE eBook (Draft Preview): Microsoft SQL Server Code Name “Denali” [PDF]
  • 7. 3. In the Operating System Compatibility windows read the requirements for the domain's clients and if you like what you see - press Next. 4. Choose Domain Controller for a new domain and click Next. 5. Choose Create a new Domain in a new forest and click Next. 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. 7. Accept the the down-level NetBIOS domain name, in this case it's KUKU. Click Next 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 %systemroot%SYSVOL, and you should not change it unless you have performance issues in mind. This folder must be on an NTFS v5.0 partition. This folder will hold all the GPO and scripts you'll create, and will be replicated to all other Domain Controllers. Click Next. 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
  • 8. 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.To let Dcpromo do the work for you, select "Install and configure the DNS server...". 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. 13. Enter the Restore Mode administrator's password. In Windows Server 2003 this password can be later changed via NTDSUTIL. Click Next. 14. Review your settings and if you like what you see - Click Next. 15. See the wizard going through the various stages of installing AD. Whatever you do - NEVER click Cancel!!! You'll wreck your computer if you do. If you see you made a mistake and want to undo it, you'd better let the wizard finish and then run it again to undo the AD. 16. If all went well you'll see the final confirmation window. Click Finish.
  • 9. 17. You must reboot in order for the AD to function properly. 18. Click Restart now. Step 5: Checking the AD installation You should now check to see if the AD installation went well. 1. First, see that the Administrative Tools folder has all the AD management tools installed. 2. Run Active Directory Users and Computers (or type "dsa.msc" from the Run command). See that all OUs and Containers are there. 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. 4. 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). = BadThis 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). Open the DNS console. See that you have a zone with the same name as your AD domain (the one you've just created, remember? Duh...). See that within it you have the 4 SRV record folders. They must exist. = Good To try and fix the problems first see if the zone is configured to accept dynamic updates.
  • 10. 5. Right-click the zone you created, and then click Properties. 6. 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.You can do it from the Services console in Administrative tools: 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. If the 4 SRV records are still not present double check the spelling of the zone in the DNS server. It should be exactly the same as the AD Domain name. Also check the computer's suffix (see step 1). You won't be able to change the computer's suffix after the AD is installed, but if you have a spelling mistake you'd be better off by removing the AD now, before you have any users, groups and other objects in place, and then after repairing the mistake - re-running DCPROMO. 7. Check the NTDS folder for the presence of the required files. 8. Check the SYSVOL folder for the presence of the required subfolders. 9. Check to see if you have the SYSVOL and NETLOGON shares, and their location.
  • 11. If all of the above is ok, I think it's safe to say that your AD is properly installed.