How to Join a Client PC (Windows 10) to an Active Directory Domain Controller (Windows Server 2019)

Peyman Tech Media
20 Jul 202009:12

Summary

TLDRThis tutorial video from Paymontech guides viewers through the process of joining a Windows 10 virtual machine to a domain controller. The video begins with a setup overview, demonstrating the use of VirtualBox with two VMs: one running Windows 10 and the other, Server 2019, which has been promoted to a domain controller. The script details configuring static IP addresses and internal networking for both VMs. It then proceeds to show how to change the computer name and join the Windows 10 VM to the domain using the domain administrator account. The video also covers the difference between local and domain administrator accounts, and concludes with a demonstration of how to log in using a domain admin account and verify the successful domain join by pinging the VM from the server.

Takeaways

  • 💻 The video demonstrates joining a virtual machine (VM) computer to a domain controller using VirtualBox.
  • 🛠️ Two VMs were created, one with Windows 10 and the other with Server 2019, which has been promoted to a domain controller.
  • 🔗 Both VMs are configured to use internal networking and have static IP addresses.
  • 📍 Windows 10 VM uses the static IP address 192.168.1.10, and Server 2019 uses 192.168.1.19.
  • 🖥️ The Windows 10 VM initially logs in using local accounts, while the Server 2019 VM logs in using a domain admin account.
  • 🔄 To join the Windows 10 VM to the domain, the computer name and domain settings must be changed.
  • 🔑 The domain name used in the example is 'payment tech media', and the VM is joined using the domain admin credentials.
  • 🔄 After joining the domain, the VM must be restarted, and then it can log in using domain administrator accounts.
  • 🔍 The video shows how to log in using the domain administrator account by typing the domain name followed by the administrator username or using the UPN (User Principal Name) format.
  • 🌐 The DNS server, which is also the domain controller, automatically creates a record for the joined VM in its forward lookup zone.
  • 🔒 Network discovery issues between the VMs are resolved by enabling network discovery and file/print sharing on the Windows 10 VM.

Q & A

  • What is the purpose of the video?

    -The purpose of the video is to demonstrate how to join a virtual machine computer to a domain controller.

  • Which software is used to create the virtual machines?

    -VirtualBox is used to create the virtual machines.

  • What are the two operating systems installed on the virtual machines?

    -Windows 10 is installed on the client virtual machine, and Server 2019 is installed on the other virtual machine which acts as the domain controller.

  • How is the networking configured between the virtual machines?

    -Both virtual machines are configured to use internal networking with 'Allow All' under advanced settings.

  • What type of IP address configuration is used for the virtual machines?

    -Both virtual machines are using static IP addresses.

  • What is the static IP address used for the Windows 10 virtual machine?

    -The static IP address used for the Windows 10 virtual machine is 192.168.1.10.

  • How can you verify the IP configuration on the Windows 10 virtual machine?

    -You can verify the IP configuration by opening a command prompt and using the 'ipconfig' command.

  • What is the domain name used in the video?

    -The domain name used in the video is 'payment tech media'.

  • How can you join the Windows 10 virtual machine to the domain?

    -You can join the Windows 10 virtual machine to the domain by changing the computer name to match the domain name and entering the domain administrator account credentials.

  • What is the difference between a local administrator account and a domain administrator account?

    -A local administrator account has access limited to the local computer, whereas a domain administrator account has administrative power across the entire domain.

  • How can you log in using a domain administrator account on the Windows 10 virtual machine?

    -You can log in using a domain administrator account by typing the domain name followed by a backslash and the administrator username, and then entering the password.

  • What happens when a virtual machine is joined to the domain controller?

    -When a virtual machine is joined to the domain controller, it automatically creates a DNS record for that machine, allowing it to be resolved by name within the domain.

  • Why might you be unable to ping a machine by name after joining it to the domain?

    -You might be unable to ping a machine by name if network discovery is turned off or if firewall settings are preventing name resolution.

  • How can you enable network discovery and file and printer sharing on the Windows 10 virtual machine?

    -You can enable network discovery and file and printer sharing by going to the Network and Sharing Center, changing advanced sharing settings, and turning on network discovery and file and printer sharing.

Outlines

00:00

🖥️ Setting Up a Virtual Machine to Join a Domain Controller

In this first paragraph, the video script details the process of joining a virtual machine computer to a domain controller. The setup involves two virtual machines created in VirtualBox: one with Windows 10 as the client operating system and the other with Server 2019 installed. The Server 2019 has been promoted to a domain controller, and both machines are configured for internal networking with static IP addresses. The Windows 10 machine uses the IP address 192.168.1.10, while the server's IP, which also serves as the DNS server, is 192.168.1.19. The script demonstrates how to verify the network configuration, including pinging the server by IP and name, and ensuring that the DNS settings are correctly configured. The final steps include changing the computer name and joining the Windows 10 machine to the 'payment tech media' domain using the domain administrator account.

05:01

🔑 Logging into a Domain-Joined Virtual Machine and DNS Verification

The second paragraph of the script focuses on logging into the domain-joined Windows 10 virtual machine using domain administrator credentials and verifying the DNS configuration. After joining the domain, the video shows the process of logging in with both local and domain accounts, emphasizing the difference in access levels. The script also explains how to enforce logging in with a domain administrator account by typing the domain name before the username or using the User Principal Name (UPN) format. Additionally, it covers how to verify that the virtual machine has successfully joined the domain by checking the computer name and using the 'who am i' command in the command prompt. The paragraph concludes with a demonstration of how the server's DNS forward lookup zone is automatically updated with the new client machine's record, and how to resolve name resolution issues that might arise due to firewall settings or network discovery configurations.

Mindmap

Keywords

💡Virtual Machine

A virtual machine (VM) is an emulation of a computer system that provides the functionality of a physical computer. In the video, the user has created two VMs using VirtualBox, one with Windows 10 and the other with Server 2019, to demonstrate how to join a VM to a domain controller. The VMs are configured with static IP addresses and internal networking, which is essential for setting up a network environment for the demonstration.

💡Domain Controller

A domain controller is a server that manages security and access permissions for users within a network. In the script, Server 2019 has been promoted to a domain controller, which means it has been configured to manage the domain 'payment tech media'. The domain controller is crucial for the video's theme as it is the central point to which the Windows 10 VM will be joined.

💡Internal Networking

Internal networking refers to the configuration of a network within an organization, separate from external networks. In the video, both VMs are set to use internal networking, which allows them to communicate with each other within the same network segment. This is demonstrated when the user shows that both VMs can ping each other using their IP addresses.

💡Static IP Address

A static IP address is a type of IP address that is manually configured and does not change. In the video, both the Windows 10 and Server 2019 VMs are set with static IP addresses, which is important for ensuring consistent network communication and for the purpose of joining the Windows 10 VM to the domain.

💡DHCP

DHCP stands for Dynamic Host Configuration Protocol, which is a network management protocol used to dynamically assign IP addresses and other network configuration parameters to devices on a network. In the script, it is mentioned that DHCP is not enabled on the VMs, indicating that they are using static IP addresses instead.

💡DNS Server

A DNS server is a server that translates human-friendly domain names (like www.example.com) into IP addresses that computers use to identify each other on the network. In the video, the Server 2019 VM is also acting as a DNS server, which is necessary for resolving domain names to IP addresses, as shown when the Windows 10 VM is configured to use the server's IP as its DNS.

💡Active Directory

Active Directory is a directory service that is used to store and manage information about network resources in a network. In the video, the Server Manager tools include Active Directory Users and Computers, which is used to manage the domain's users and computers, including the process of joining the Windows 10 VM to the domain.

💡Network Adapter

A network adapter is a hardware or software component that allows a computer to connect to a network. In the video, the user checks the network adapter settings to confirm that the VM is using a static IP address and that the DNS server is correctly set to the server's IP address.

💡UPN

UPN stands for User Principal Name, which is a username and domain name in the format username@domain. In the script, the user demonstrates logging in with a domain administrator account by using the UPN format (e.g., '[email protected]') to access the domain's administrative privileges.

💡Firewall

A firewall is a network security system that monitors and controls incoming and outgoing network traffic based on predetermined security rules. In the video, the user encounters an issue where the server cannot ping the Windows 10 VM by name, which is suspected to be due to the firewall settings. The user then adjusts the network settings to allow network discovery and file/print sharing.

Highlights

Introduction to joining a virtual machine computer to a domain controller.

Installation of VirtualBox and creation of two virtual machines.

One virtual machine with Windows 10 and another with Server 2019.

Server 2019 promoted to a domain controller in previous videos.

Both virtual machines configured for internal networking.

Static IP addresses assigned to both virtual machines.

Demonstration of Windows 10 and Server 2019 being up and running.

Verification of static IP configuration and computer names.

Ability to ping the server by IP and name using Windows 10.

DNS settings configured with the server's IP address.

Joining the Windows 10 virtual machine to the domain.

Changing the computer name to reflect the domain name.

Using the domain administrator account to join the domain.

Restarting the Windows 10 virtual machine after joining the domain.

Logging in with domain administrator credentials.

Difference between local and domain administrator accounts explained.

Verification of successful domain join through command prompts.

Automatic creation of DNS records upon joining the domain.

Enabling network discovery and file/print sharing for domain connectivity.

Final demonstration of successful domain join and connectivity.

Invitation for questions and a call to action for likes and subscriptions.

Transcripts

play00:00

hello everyone welcome to paymontech

play00:01

media in this video we are going to join

play00:04

one virtual machine computer to a domain

play00:06

controller so previously we installed

play00:08

virtualbox

play00:09

we created two virtual machines one of

play00:11

them client operating system installed

play00:13

windows 10

play00:14

and the other one we installed server

play00:16

2019 so

play00:17

server 2019 already promoted to a domain

play00:20

controller in the previous videos you

play00:21

can see

play00:22

and already both of them configured to

play00:25

use

play00:25

internal networking so quickly to show

play00:28

you if

play00:28

under pc one settings we can see

play00:32

on the network here internal network is

play00:36

selected

play00:37

and under advanced allow all is selected

play00:40

server the same on the network here we

play00:43

can see internal network selected

play00:46

under advanced allow all is selected

play00:48

okay

play00:49

so both of them they are using static ip

play00:51

address

play00:52

and both of them up and running let me

play00:54

show you here so this is other windows

play00:56

10

play00:56

and this is our server and if i open up

play00:59

command prompt

play01:02

so host name pc1

play01:06

who am i we logged in using local

play01:08

accounts

play01:09

and ipconfig to see the ip address

play01:14

so here we can see dhcp enabled it's not

play01:16

enabled it's using static ip address

play01:19

and we are using this ip address as our

play01:21

static ip address class c

play01:23

192 168 1.10 because this is windows 10

play01:26

we said you know what let's use 1.10

play01:28

static iprs for this virtual machine

play01:30

and for this one cmd okay so host

play01:34

name this is our computer name

play01:38

and am i we logged in using domain admin

play01:41

account this is our domain controller

play01:42

name it's already

play01:44

promoted to be a domain controller and

play01:46

the key combination to go full screen

play01:48

it's

play01:48

right side control plus f it's going to

play01:51

the full screen

play01:52

let me open several manager on the

play01:55

server virtual machine

play01:57

here we can see tools active directory

play01:59

users and computers

play02:01

dns already up and running and um

play02:04

okay so let's exit from full screen

play02:07

going back to

play02:09

our client which are watching windows 10

play02:11

okay now let's see if we can uh

play02:13

ping cmd ping 192.168.1.19

play02:19

i'm pinging from windows 10 pinging

play02:22

server

play02:23

and what about by name pink server

play02:27

dc so it's using ip version 6

play02:30

it's pinging and let's open up

play02:34

ncpa.cpl and

play02:37

let's to be sure open up network adapter

play02:42

yeah using static ip address and for the

play02:44

dns we can type 192

play02:46

168 1.19

play02:50

because this is the ipides of the server

play02:53

192.16.1.19 is the ipad

play02:54

of vm server server 2019 and it is a dns

play02:58

server

play02:59

it is a domain controller so i'm using

play03:01

um the ipad

play03:03

server as a dns server here so click ok

play03:06

close close

play03:09

and up arrow one more time

play03:13

minus four let's ping by ip version four

play03:17

so we can see this pinging

play03:20

okay now how we can join this

play03:23

uh virtual machine windows 10 to this

play03:27

domain controller

play03:29

and first we have to go to where we can

play03:32

change the computer name

play03:33

so window break and then change settings

play03:38

and then change again and then here

play03:41

typing the domain name

play03:43

let me cancel cancel cancel or we can

play03:45

just simply click

play03:46

start type this

play03:50

for this pc right click properties

play03:53

and then change settings and change

play03:55

again

play03:57

type domain name what is the domain name

play04:00

so if we go to the server

play04:01

opening server manager

play04:04

let's close this one um

play04:08

let's go full screen control f

play04:12

so i'm on a server tools

play04:16

active directory users and computers

play04:20

and domain name payment tech media

play04:22

that's our domain name

play04:24

so let's close close ctrl f

play04:28

exit from full screen so here let's type

play04:35

payment tech media

play04:38

and then okay i'm typing the

play04:41

administrator account

play04:43

and the password on the server

play04:54

okay we can see welcome to

play04:56

paymontechmedia.com domain

play04:58

so this is how we can join one computer

play05:00

to a domain controller

play05:02

click ok ok one more time and we have to

play05:06

restart click close and restart now

play05:12

okay now here we have other user

play05:14

accounts so if i

play05:15

use payment and login this is local

play05:18

account if i say

play05:19

other and type as administrator

play05:23

you see as soon as i type the r i want

play05:26

you to pay attention here you see if it

play05:27

says

play05:28

assigning to pay on tag media right but

play05:30

if i say administrator

play05:31

as soon as i type r it will change it to

play05:33

pc1

play05:34

it's basically assuming that we want to

play05:36

log in using local admin accounts

play05:39

but we don't want to log in using local

play05:41

admin account

play05:42

we want to log in using domain

play05:44

administrator account

play05:45

so we can enforce that by simply typing

play05:47

the domain name in front of the

play05:49

administrator or simply using the upn

play05:52

at paymontechmedio.com

play05:57

and typing the password you see how it

play05:59

did change to

play06:00

camera tech media or let's go clear this

play06:04

and type penguin take media

play06:08

backslash administrator and then type in

play06:11

the password

play06:14

so we can use the upn name type in the

play06:17

password or simply this way type in

play06:19

domain name backslash administrator

play06:21

it's basically emphasizing we want to

play06:23

use domain administrator account

play06:25

two different things local administrator

play06:26

account the scope of local computer

play06:28

access

play06:29

domain administrator account you have

play06:31

the access of the entire domain with the

play06:33

admin power and if i use

play06:34

payment and login that's the local

play06:36

account on this virtual machine

play06:39

in this case payment tech media

play06:40

backslash administrator type in the

play06:42

password

play06:43

okay that's an example of logging

play06:47

using domain admin accounts

play06:53

okay let's see if i open up command

play06:55

prompts

play06:57

okay host name to see the computer name

play07:00

pc1

play07:01

who am i will be logged in as logged in

play07:04

using

play07:05

domain administrator account on this

play07:07

windows 10 virtual machine

play07:09

and on a server if i go full screen

play07:14

if i open up the dns server start server

play07:17

manager

play07:22

and then tools

play07:25

dns let's minimize several manager

play07:30

window

play07:30

here we can see under our server

play07:35

the forward lookup zone payment tech

play07:38

media

play07:39

pc1 added so when we join

play07:42

pc1 to the domain controller

play07:44

automatically did create a record

play07:46

so from here from server i should be

play07:49

able to ping

play07:51

pc1 pinging pc1 by name

play07:55

so it's probably because of the firewall

play07:58

request timed out the network discovery

play08:01

on a domain so let's take a look

play08:03

ctrl f to exit from full screen going to

play08:06

our windows 10 let's open network and

play08:09

sharing center

play08:16

and then change advanced sharing so here

play08:19

we can see on the domain

play08:21

this one domain turn on network

play08:24

discovery and file print sharing

play08:27

save changes we can close

play08:30

close going back to the server let's go

play08:33

full screen ctrl f

play08:35

switch okay so now if i press up arrow

play08:40

ping pc1 it's resolving name to ip

play08:43

address

play08:45

well this was an example of how to join

play08:47

one virtual machine

play08:48

to a domain controller if you have any

play08:50

question please leave it in the comment

play08:52

section

play08:52

if you liked the video please hit the

play08:54

thumbs up and to see more tech videos

play08:56

like this

play08:56

please subscribe to our channel thanks

play08:58

again and have a good day

play09:11

you

Rate This

5.0 / 5 (0 votes)

Related Tags
VirtualBoxWindows 10Domain ControllerServer 2019Internal NetworkingStatic IPDHCPDNS ServerNetwork DiscoveryTech Tutorial