A Complete Guide - How Install Active Directory, DNS and DHCP to Create a Domain Controller
ฝัง
- เผยแพร่เมื่อ 10 ก.พ. 2025
- In this video i will show you how to install and configure Active Directory, DNS and DHCP server role to create Windows Server 2016 Domain Controller. I will also cover how to join client to domain.
This saved my life, i tryed to do this for 8 hours until i found this video thank you so much!!!!!!
Thank you sir, You did an awesome job and you also explained it perfectly.
Thanks for watching!
Thank you for this A Complete Guide - How to Install Active Directory, DNS, and DHCP to Create a Domain Controller. Really helpful and appreciated your sharing knowledge.
Glad it was helpful!
Alhamdulillah, Thank you. May Allah shower his blessings on you.
This was an awesome tutorial! Thank you so much for taking the time to make this. It was a huge help to me.
Damn 20 min server configuration 😮 ty 💪💪 keep it up 💪💪
16:03, great video! Something I ran into, my router was giving out DHCP leases over the Windows Server. Stop DHCP service on your router and then the Server will do it's thing. Just gotta figure out how to priotize the Server over the Router
Thank you my friend, Simple and very helpfull. You leave the world a better place than when you entered :)))
This is an excellent video series to cover Aa-Zz.... Awesome and wish you all the best to your career....
Thank You..
@@MSFTWebCast sir can u create a vidoe abt creating 3 virtual machines 2 server and 1 client. One server is used for dns.
thanks man helped out a lot in my server building project for my system admin class
Simple and helpfull, very good tutorial!
Thank you so much for the tutorial. You're amazing :) I hit subscribe and hit the like button
Super helpful !!!🤗🤗🤗
Hi there, i am watching your video in 2019 and is nice to see! hopefully I can see more videos about WS 2019 also :P
Very nice tutorial, very well explained. Thanks a lot
Very very helpful. thanks for your help. make more videos like this.
Hi - great video. I have a slight problem. I get as far as 17:10 minutes in. This is where my windows client should show 'Join a domain' after clicking settings > about - but the option to 'join a domain' is not available? any idea what I can do next?
look on the right side, rename this pc
As always very helpful
Thank you so much 😍
awesome work!!!!!!!
Great video man!
hi, is the users from other computer able to obtain internet connection?
Thanks for the awesome videos.
Has the DHCP been disabled on your router ? I tried that too but my wireless adapter always shows the wifi ssid name instead of the domain.
Am i doing something wrong here ?
Yes, it is disabled.
Mashallah!🤩🤩🤩🤩
Thanls my friend for this tutorial.
I have 1 question - which admin password should be used to join the windows 10 to the server 2016?
It is not necessary to use administrator account to join windows 10 to the domain. You can use any user account from the Domain to join the client to the domain. In this example I am using the Domain Administrator's account and password.
@@MSFTWebCast I have one more question.
I have win 2012 server and win7 install on virtualbox. I assign my host a static ip.
Server also configured with a static ip, and has both dns & dhcp.
I join the client win 7 to the domain , it got an ip address from the 2012 server, but it cannot connect to internet!
Both are using Bridge adapter in virtualbox. What could be wrong.
I have also disable dhcp on my router.
Sorry to take you time.
Thanks in advance.
Very helpful... !!!
Thanks to post this videos.
I just configured a WS 2015 server with the DHCP role in my lab. After configuring a scope, none of my VM’s are able to reach the internet.
If I deactivate the scope and re-enable my UniFi DHCP server, internet connection is restored and is again lost if I switch back to my windows DHCP. I have configured scope options for Router and DNS servers. The VM’s are pulling IP addresses and do show up under address leases.
What am I doing wrong?
1. Check Default gateways IP address and DNS servers address in DHCP scope.
2. Make sure VMs network adapter type is set to bridge. You also have to check that the bridge adapter is active and connected to the network.
3. If VM is getting an IP address from DHCP, run command ipconfig /all and note down the IP address range. Find if you have setup an IP address range somewhere or not?
If you still face problems, send me an email. We will work remotely. You can find my email address on channels about page.
This is a great video, it helped me aloooot, thank you.
Thanks. You are a genius!
Glad it helped
Hi - I got a question. I was able to do the steps you gave. As soon as I created my client everything was fine except for the DNS it is using the Default Gateway address of my DC server.
Are clients receiving IP from DHCP server? Then might be you may have to check the DHCP scope configuration settings. Check you have entered correct details about the default gateways and DNS servers IP address.
@@MSFTWebCast I see my DNS configuration on DHCP is wrong. Thanks for the help🙇🙇🙇. New subscriber here, glad I found your channel👌👌
Glad to know that the issue is now fixed.
I have a question, wouldn't this screw my home router? Wouldn't the winserver dhcp send ips instead of my home router? I remember doing this a while ago and I ended up without home internet. Shouldn't we do a private network in the hypervisor?
I have 2 dcs already they're both with static ip, I have machine already joined but I did it adding the ips of the dcs. Haven't installed dhcp because of what happened before.
Any input is appreciated, thanks for the great videos.
Yes, definitely it will create a problem for you.
1. You can disable DHCP setting in your home router to use Windows Server DHCP service.
or
2. You can continue using the routers DHCP and dont use Windows Server DHCP server role.
If you want to use routers DHCP with dynamic IPs on client machine, you need to adjust the DNS servers IP in your routers DHCP server settings.
Means Add the DCs IP in routers DHCP server settings.
Hope I am making sense.. If you need more help send a email..
@@MSFTWebCast Thank you for taking the time to respond, sure it's been well explained. I think I'm buying a cheap router and create another network and disable it on this new router so I can fully use winserver services, I think that isolating the network in a private one using the Hyper-V will cause the same, unless using the RAS service in other server works as I have seen in other videos but seems more of a hassle. Appreciate the response, keep the videos coming.
:^) you saved me a lot of time, thank you
ขอบคุณครับ Thank you
Very informative, thank you!
hello sir.. can you please help me..
i have 100 computer over my city must act like separate server each.
so some of the have router that i can port forwading.. some of them not have router...how can i solve this problem..
i have 1 vps also 2019
thank you so very much sir...
thx bro 100% work
I appreciate you making these tutorial videos. I have a question though. I'm trying to follow each lesson, but I think this lesson has kind of confused me because the IP addresses are slightly different in this video than the previous one in video 4 of this playlist. Also, the previous video was similar to the first several minutes of this video, but it didn't talk about adding a DHCP server. The previous video has a DNS server address of 192.168.16.3 and this current video has a DNS server address of 192.168.49.5. I'm wondering which one is the correct one and which one will be the one we are using for the rest of the videos?
Also, I tried to setup the DHCP, but it says it is off when I checked ipconfig /all in command prompt.
Appreciate your help.
Sorry, my bad. You can configure IP addressing as per your lab setup (DNS Server IP). For this playlist go with 192.168.49.5
@@MSFTWebCast thank you
May I ask how do one go about configuring a static IP address? is the address obtained from the users machine using IPconfig /all? also I noticed my windows defnender is set to private should it public@@MSFTWebCast
sir during making new pointer you have taken wc2016 for the host IP address of this local server as a host but i have done the same thing but i couldnt find the host name to take show me ip address please kindly respond me
First check the host name in forward lookup zone. And second also check the Network ID of the reverse lookup zone.
BIG LIKE 👍
Big thanks!
I'm a little confused with the nature of nat networks in virtualbox... I "disabled" the default dhcp server with vboxmanage, but my vm got assigned an ip before my windows server 2012 instance could boot
how about static ip address how to add in server manager
PLEASE HELP ME WHEN I GO TO CLIENT MACHINE IN CMD I CAN'T GET THE ADDRESS WHICH I CONFIGURED
Hi, my window 10 machine is not finding the server. What could be the reason?
Check out network connectivity with domain controller ans also check DNS settings..(Make sure that client is able to resolve domain name to ip..)
Thank you bro so much
thanks
best tutorial ever! Thank you
I am getting an ip address when i configured dhcp and dns. Please help me
Sorry, I didn’t quite catch your question.
good one, keep it up
I did all the steps of the first 5 videos, but I'm unable to get internet access on server 2016 vm. Does anyone have any idea how to get the internet connected so that the network connections will work so that I can join different computers to the server 2016 domain?
Are you able to ping to the default gateway?. Internet connection is not required to join client computers to the domain.
@@MSFTWebCast from client pc to the server 2016 vm host it said request timed out. Sent 4 packets and lost 4 packets.
On the host pc when I pinged the gateway it said "destination host unreachable".
@@vatolegatocan you mail me the detail about the ip configuration and machine? Are you using Virtualbox for VM?
@@MSFTWebCast I sent an email to you regarding details of ip config. I'm using Virtualbox. Thank you for any help.
@@vatolegato check mailbox for reply.
thanks bro ,
tnxxxx
is not normal to put DHCP on domain controller....
Yes, DHCP service do not consume much resources. If you have any spare server apart from DC, you can use it as a DHCP server otherwise you can use DC.
*There is one mistake you made:*
The Windows 10 Client Computer, when added to the Domain,
had in the right lower corner an exclamation mark about a network issue. Which can make it impossible to login the domain.
Since the DHCP options of: extra: DNS Servers, a Router, Internet Gateway, NTP Time Server, were not added.
I asume there must be forgotten something, or, you had a network conflict.
So, I wonder what it was, and what you suppose to do about it.
Yellow exclamation represent no internet connectivity. In my test lab, I had local network without internet connectivity. You are thinking too much to find a mistake..
Let me know what is the use of separate NTP when you have DC which acting with FSMO roles.
So maybe you have forgotten lots of thing..
No network conflict, it was straight simple effective explanation.
How can we do to get internet connectivity? Thanks for the video anyway;)
NAIC
An issue I had in trying to follow these steps in Server 2019 (at least), is that when the server rebooted after installing AD, I was not able to login to the new Domain with the "administrator" user. In fact, I couldn't even login on the local machine with the administrator user. Luckily, I was testing on a VM and I was able to backtrack from everything. Once I was back to local machine and no AD installed, I created a specific admin user and proceeded with the steps above. I was able to login with *that* user after AD was installed.
So note to others. Even though this video is done entirely using the administrator user, it didn't work for me. At least on Server 2019. I know it's some settings on the local policy, but this was not mentioned in the video above, and it might give you issues. So better add a specific admin user before proceeding, for good measures.
It is strange that you faced that issue. I have never faced or I can say even first time hearing this kind of issue. Test it out again in your VM and let me know how this goes. And if you face the same issue, I would love to see it using team viewer or any desk if it is ok with you.
@@MSFTWebCast I tested it multiple times, and always got the same issue. I could not login with the Administrator account either locally, or on the new Domain after installing it. The only time it worked, is when I first created a local user.
The one thing which might have changed the behavior is that I first installed DNS services prior to AD. So rather than having DNS installed as part of the AD installation, it was installed before. I had not configured DNS however.
That's the only thing which might differ from your steps, although I can't imagine that having any effect, given that it wasn't even configured yet.
That, and the fact that I'm using 2019.
Are you indian?
yes.
@@MSFTWebCast I'm hindustani living in the netherlands. Greetings!
*Again a mistake:*
Your DNS is AD integrated, so the NIC, its 1st DNS entry, must be a Loop-Back-IP-Address: 127.0.0.1,
instead of what you did, using the external IP address of that DNS Server / AD Domain Controller.
Who tell you that it must be (wow!) 127.0.0.1?
Why cant you use local servers IP address as preferred DNS server address?
Let me know what are the disadvantages of not using 127.0.0.1 as preferred DNS address?
And if you use preferred DNS servers field empty and you have configure DNS server role it is going to use local servers address as a preferred DNS address. Try that and let me know.
Please stop showcasing your skill here. Its making mess out of nothing...
MFST is correct