Skip to content

kumalo22/configure-ad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 

Repository files navigation

Microsoft Active Directory Logo

Active Directory Deployed in the Cloud (Azure)

This tutorial outlines the implementation of Active Directory within Azure Virtual Machines.

Environments and Technologies Used

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

Operating Systems Used

  • Windows Server 2022
  • Windows 10 (21H2)

High-Level Deployment and Configuration Steps

  • Setup Resources in Azure
  • Ensure Connectivity between the client and Domain Controller
  • Install Active Directory
  • Create an Admin and Normal User Account in Active Directory
  • Join Client to your domain
  • Setup Remote Desktop for non-administrative users on Client
  • Create a bunch of additional users and attempt to log into client with one of the users

Deployment and Configuration Steps

Disk Sanitization Steps Disk Sanitization Steps Disk Sanitization Steps

Setup Resources in Azure

  • Create the Domain Controller VM (Windows Server 2022) named “DC-1”
  • Set Domain Controller’s NIC Private IP address to be static
  • Create the Client VM (Windows 10) named “Client-1”. Use the same Resource Group and Vnet
  • Ensure that both VMs are in the same Vnet (you can check the topology with Network Watcher


Disk Sanitization Steps Disk Sanitization Steps Disk Sanitization Steps

Ensure Connectivity between the client and Domain Controller

  • Login to Client-1 with Remote Desktop and ping DC-1’s private IP address with ping -t (perpetual ping)
  • Login to the Domain Controller and enable ICMPv4 in on the local windows Firewall
  • Check back at Client-1 to see the ping succeed


Disk Sanitization Steps Disk Sanitization Steps

Install Active Directory

  • Login to DC-1 and install Active Directory Domain Services
  • Promote as a DC: Setup a new forest as mydomain.com
  • Restart and then log back into DC-1 as user: mydomain.com\kumalo22


Disk Sanitization Steps Disk Sanitization Steps Disk Sanitization Steps Disk Sanitization Steps

Create an Admin and Normal User Account in Active Directory

  • Create an Admin and Normal User Account in AD
  • Create a new OU named “_ADMINS”
  • Create a new employee named “Jane Doe” (same password) with the username of “jane_admin”
  • Add jane_admin to the “Domain Admins” Security Group
  • Log out/close the Remote Desktop connection to DC-1 and log back in as “mydomain.com\jane_admin”


Disk Sanitization Steps Disk Sanitization Steps Disk Sanitization Steps Disk Sanitization Steps

Join Client-1 to your domain (mydomain.com)

  • From the Azure Portal, set Client-1’s DNS settings to the DC’s Private IP address
  • From the Azure Portal, restart Client-1
  • Login to Client-1 (Remote Desktop) as the original local admin (labuser) and join it to the domain (computer will restart)
  • Login to the Domain Controller (Remote Desktop) and verify Client-1 shows up in Active Directory Users and Computers (ADUC) inside the “Computers” container on the root of the domain
  • Create a new OU named “_CLIENTS” and drag Client-1 into there


Disk Sanitization Steps

Setup Remote Desktop for non-administrative users on Client-1

  • Log into Client-1 as mydomain.com\jane_admin and open system properties
  • Click “Remote Desktop”
  • Allow “domain users” access to remote desktop
  • You can now log into Client-1 as a normal, non-administrative user now


Disk Sanitization Steps Disk Sanitization Steps Disk Sanitization Steps Disk Sanitization Steps Disk Sanitization Steps

Create a bunch of additional users and attempt to log into client-1 with one of the users

  • Login to DC-1 as jane_admin
  • Open PowerShell_ise as an administrator
  • Create a new File and paste the contents of the script into it (https://github.com/joshmadakor1/AD_PS/blob/master/Generate-Names-Create-Users.ps1)
  • Run the script and observe the accounts being created
  • When finished, open ADUC and observe the accounts in the appropriate OU
  • Attempt to log into Client-1 with one of the accounts (take note of the password in the script)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors