Skip to content

loog4/configure-ad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Microsoft Active Directory Logo

Configuring Active Directory within Azure VMs

This project details how to configure and setup an Active Directory Lab using Azure Virtual Machines.

Environments and Technologies Used

  • Microsoft Azure (Virtual Machines/Compute)
  • Remote Desktop
  • Active Directory Domain Services

Operating Systems Used

  • Windows Server 2022
  • Windows 10 (21H2)

High-Level Deployment and Configuration Steps

  • Create a Domain Controller VM with Windows Server 2022
  • Create Client PC VM with Windows 10
  • Install Active Directory on DC(Domain Controller)
  • Create Admin and User Accounts
  • Join Client VM to AD domain

Deployment and Configuration Steps

Setting up resources.

image

Create the Domain Controller VM first

image

image

Next, Go to DC-1's network interface and set its private IP to static.

This is to make sure the Client VM will be able to use DC-1's IP as its DNS server in order to join it.

image

image

Create the Client-1 VM. (Make sure to set its Resource Group and Vnet is the same as DC-1's)

image

If we login to Client-1 and ping DC-1, we can see that our requests get timed out.

image

Go into DC-1 and allow the ICMPv4 in the firewall settings.

image

This time our ping request go through now.

Installing Active Directory

image image image

Go to DC-1 and install Active Directoy Domain Services in Server Manager

image image

Next click the flag with the yellow exclamation point and promote the VM as a DC

image

Your connection will close eventually and you will have to log back in but with the domain name in username shown

Creating Accounts

image image

Go to Active Directoy Users and Computers and create a new Organizational Unit (OU) called “_EMPLOYEES” (or any name you wish)

image

Create another for admin accounts

image image image image image

Create a new Admin account inside of the _ADMINS OU

image image

Log out and log back in but this time with the admin account we created.

This will be the admin account we will be using from here on out.

Join Client-1 to the domain (adlab.com)

image

In Client-1's network interface settings, change its DNS server to the private IP of DC-1

image

Restart Client-1 and login as the original admin account

image image image

On Client-1, Join the VM to the domain

image

Client-1 will now show up on the DC as a connected PC

Optional: Create an OU called _CLIENTS and drag the pc to it

End of Lab

That concludes this lab in which configured a barebones setup of Active Directory with a computer joined to its domain.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published