Active Directory Identity, Access & File Services

Microsoft Active Directory project cover
Project CategoryIdentity and Infrastructure Services
PlatformMicrosoft Windows Server 2022
Core TechnologiesActive Directory DS, DNS, Security Groups, AGDLP, SMB, NTFS, PowerShell
Project FocusCentralized identity, role-based access control, and secure departmental resource permissions

Project Overview

This project demonstrates the deployment of a Microsoft Active Directory identity and access environment using Windows Server 2022 in a controlled virtual lab.

The implementation extends beyond a basic domain installation by combining Active Directory Domain Services, integrated DNS, a structured Organizational Unit design, departmental user administration, Security Groups, the AGDLP authorization model, SMB file sharing, NTFS permissions, and PowerShell automation.

The primary goal is to show how centralized identity and group-based authorization can be used to manage users and departmental resources without assigning permissions directly to individual accounts. This produces a cleaner access model that is easier to maintain, audit, and scale as the environment grows.

1. Business Scenario

A fictional organization requires centralized identity management for multiple departments while maintaining consistent authentication, structured administration, and controlled access to shared resources.

Active Directory Domain Services was selected to centralize user and computer identities, while Security Groups and the AGDLP model were used to separate organizational roles from resource permissions.

The solution provides centralized authentication and authorization, department-based administration, group-based access control, PowerShell automation, SMB file sharing, and NTFS permission management.

2. Project Objectives

3. Project Environment

ComponentConfiguration
HypervisorVMware Workstation
Server OSWindows Server 2022
Client OSWindows 11
Forest / Domainyasserteach.local
Domain ControllerDC01
DNS ServerDC01
Client ComputerW11-01
AuthenticationKerberos / Active Directory
File SharingSMB
Access ControlSecurity Groups, AGDLP, NTFS
AutomationWindows PowerShell

4. Project Architecture

The architecture below summarizes the single-domain Active Directory environment, including DC01, DNS, the directory database, organizational structure, users and groups, Group Policy, authentication, and core directory services.

Active Directory project architecture diagramActive Directory architecture for the yasserteach.local lab, showing DC01 and the core identity, access, DNS, authentication, directory, and management components.

5. Infrastructure Deployment

This phase establishes the foundation of the lab: virtual networking, Windows Server preparation, static network configuration, AD DS installation, DNS integration, and creation of the yasserteach.local forest.

5.1 Virtual Network Infrastructure

VMware virtual network configuration

The project began by configuring an isolated virtual network in VMware Workstation. The lab network allows the Domain Controller and Windows client to communicate within a controlled environment without depending on an external DHCP service.

The core systems connected to this network are DC01 and W11-01. This provides predictable control over IP addressing, DNS resolution, and Active Directory communication.

5.2 Windows Server Preparation

Windows Server initial configuration

After installing Windows Server 2022, the initial server configuration was reviewed in Server Manager before installing directory services.

5.3 Server Naming and Static Network Configuration

DC01 computer name configuration

The default Windows Server computer name was replaced with DC01, using a role-based naming convention that makes the server's purpose immediately recognizable.

SystemPurpose
DC01Domain Controller / DNS Server
W11-01Domain Client

DC01 static IPv4 configuration

Before deploying Active Directory, DC01 was configured with a static IPv4 address. Stable addressing is important for infrastructure services because domain clients must be able to locate DNS and the Domain Controller consistently.

The server configuration included the IPv4 address, subnet mask, gateway as required by the lab network, and a DNS configuration that resolves through the Domain Controller.

IP configuration validation using ipconfig

The ipconfig /all command was used to verify the server name, IPv4 configuration, subnet, DNS settings, and active network adapter before Active Directory deployment.

5.4 Active Directory Domain Services and DNS Deployment

Active Directory Domain Services role installation

The Active Directory Domain Services (AD DS) role was installed first through Server Manager. During the subsequent Domain Controller promotion, DNS Server was selected and configured as part of creating the new forest. Active Directory relies on DNS service records to allow domain members to locate Domain Controllers and directory services.

RolePurpose
Active Directory Domain ServicesDirectory and identity services
DNS ServerAD-integrated name resolution and service discovery

Domain Controller promotion wizard

After the AD DS role was installed, DC01 was promoted to a Domain Controller. The promotion process configured the Active Directory database, SYSVOL, authentication services, Global Catalog functionality, and the components required for directory operations and future replication.

DC01 then became responsible for domain authentication, Kerberos, LDAP directory access, Group Policy processing, and DNS integration.

Creating the yasserteach.local Active Directory forest

A new forest named yasserteach.local was created, making it the root domain of the lab's Active Directory environment. The deployment established the directory namespace, Active Directory database, authentication services, DNS integration, and the forest security boundary.

Active Directory prerequisite validation

Before installation completed, the Active Directory configuration wizard performed prerequisite checks to identify blocking issues with networking, DNS, or required dependencies. The validation completed without blocking errors, allowing the Domain Controller promotion to continue.

Successful Domain Controller deployment

After the automatic restart, DC01 started as the Domain Controller for yasserteach.local. Active Directory, DNS, and authentication services were then verified before proceeding with directory design.

6. Active Directory Organizational Design

The next phase focused on building a structured OU hierarchy instead of leaving administrative objects in default containers. The objective was to make user administration, Group Policy targeting, and future delegation easier to manage.

6.1 Organizational Unit Structure

Active Directory Users and Computers console

Active Directory Users and Computers (ADUC) was used as the primary graphical console for creating and organizing OUs, users, and Security Groups. PowerShell was used alongside the GUI for repeatable administrative tasks. Using both methods demonstrates day-to-day administration through the graphical interface while also showing how routine changes can be standardized and automated.

Corporate Organizational Unit creation

Corporate OU configuration

A top-level Organizational Unit named Corporate was created as the administrative root for the organization's business structure. This separates managed objects from default Active Directory containers and provides a clean location for department-based administration. The design also prepares the directory for future Group Policy targeting and delegated administration without having to reorganize the entire environment later.

Departmental OU structure

Organizational Unit
Corporate
IT
HR
Finance
Operations
Executives

The departmental structure provides clear administrative boundaries and supports targeted management as the environment grows. Users can be managed according to business function, while policies and delegated responsibilities can be scoped to the appropriate OU instead of being applied broadly across the domain.

6.2 User Provisioning and Directory Organization

Active Directory user account creation

User accounts were created for the departments in the lab and placed in their corresponding OUs. These accounts authenticate centrally through Active Directory rather than through standalone local Windows accounts. Centralized identities make it possible to manage authentication, group membership, password settings, and resource access from one directory service.

Users organized by departmental OU

Users were organized according to business function so that future policies, delegated administration, and access control could be applied consistently by department. This structure also makes account reviews easier because administrators can quickly identify which users belong to each organizational area.

PowerShell user provisioning

PowerShell was used to automate repeatable user provisioning instead of creating every account manually. Automation reduces repetitive GUI work, applies the same naming and account settings consistently, and lowers the chance of configuration differences between users created at different times.

PowerShell Cmdlets Used

Completed Active Directory user structure

The resulting directory contained departmental user accounts organized beneath the Corporate hierarchy and prepared for Security Group membership. At this stage, the identity structure was complete enough to move from account organization to role-based authorization.

Final Active Directory hierarchy

A final directory review confirmed that the OU and user structure matched the intended design and was ready for group-based authorization. The review verified that departmental accounts were located in the correct OUs and that the hierarchy remained clear before Security Groups and resource permissions were introduced.

6.3 Organizational Structure Summary

ComponentStatus
Corporate OU✅ Created
IT OU✅ Created
HR OU✅ Created
Finance OU✅ Created
Operations OU✅ Created
Executives OU✅ Created
Enterprise Users✅ Created
PowerShell User Provisioning✅ Completed
Organizational Hierarchy✅ Validated

7. Security Groups and Role-Based Access Control

Departmental Global Security Groups were created to represent organizational roles. This group-based model reduces direct permission assignments and prepares the directory for AGDLP.

7.1 Global Security Groups and Membership

Global Security Groups

Creating a Global Security Group

Security GroupDepartment
GG_ITInformation Technology
GG_HRHuman Resources
GG_FinanceFinance
GG_OperationsOperations
GG_ExecutivesExecutive Management

The GG prefix identifies each object as a Global Group and makes the naming convention easier to understand during administration and troubleshooting. These Global Groups represent business roles, so users are grouped according to department before any resource-specific permission is assigned.

Departmental role-based group configuration

Users receive access according to departmental membership rather than through individually managed folder permissions. For example, IT users are members of GG_IT, while Finance users are members of GG_Finance. This approach supports simpler onboarding, offboarding, auditing, and permission changes because access can be changed by updating group membership rather than editing multiple folder ACLs for individual accounts.

Assigning users to Global Security Groups

Group membership verification

For scalable administration, resource permissions are assigned to Security Groups rather than maintained individually for each user account. This separation between user identity and resource authorization keeps the access model easier to review and reduces the number of direct ACL entries administrators need to maintain.

Security Group structure review

The completed Global Group structure represented the five departmental roles used throughout the lab and served as the identity layer of the AGDLP model.

7.2 PowerShell Group Administration

PowerShell group membership automation

PowerShell was used to automate group membership with Add-ADGroupMember, reducing repetitive GUI work and improving consistency. The same approach can be reused whenever users are onboarded or transferred between departments, making group administration faster and less error-prone.

Department membership review

Departmental memberships were reviewed after automation to confirm that each account inherited access through the intended role group. This validation was important because the later AGDLP design depends on accurate Global Group membership at the identity layer.

7.3 Domain Local Resource Groups

Domain Local resource group creation

PowerShell Active Directory administration

Domain Local Security Groups were introduced as the permission layer for departmental resources. A consistent naming convention was used:

Prefix / SuffixMeaning
GGGlobal Group
DLDomain Local Group
RWRead / Write access

For example, DL_Finance_RW represents the Domain Local Group used for Finance read/write access. Unlike Global Groups, which represent users and business roles, Domain Local Groups are used as the resource-permission layer. PowerShell automation was extended beyond user provisioning to group creation, group membership, and AGDLP nesting.

8. File Services and AGDLP Implementation

The next phase applied the AGDLP model to departmental SMB resources. Global Groups represented user roles, while Domain Local Groups represented resource permissions.

8.1 AGDLP Permission Model

Domain Local Security Groups

Domain Local GroupPurpose
DL_IT_RWIT Folder — Read / Write
DL_HR_RWHR Folder — Read / Write
DL_Finance_RWFinance Folder — Read / Write
DL_Operations_RWOperations Folder — Read / Write
DL_Executives_RWExecutives Folder — Read / Write

AGDLP permission model

Account
  ↓
GG_Finance
  ↓
DL_Finance_RW
  ↓
Finance Folder
  ↓
Modify Permission

Finance users are added to GG_Finance. That Global Group is nested into DL_Finance_RW, and the Domain Local Group receives the folder permission. This follows the AGDLP model by separating Accounts, Global Groups, Domain Local Groups, and Permissions into distinct layers. A new Finance employee therefore only needs the correct group membership; the NTFS ACL does not need to be edited for every user, which makes access changes easier to audit and maintain.

PowerShell AGDLP automation

Add-ADGroupMember was used to automate the nesting of Global Groups into their corresponding Domain Local Groups. Automating this relationship helps keep the authorization structure consistent across departments and reduces the risk of accidentally assigning a role group to the wrong resource group.

8.2 Departmental File Structure and SMB Sharing

Departmental folder structure

D:\Shares
├── Finance
├── HR
├── IT
├── Operations
└── Executives

The folder structure separates departmental data and provides a clear resource target for each Domain Local Group. Each folder represents a distinct business resource, allowing permissions to be mapped cleanly from the departmental role group through the corresponding Domain Local Group.

SMB share configuration

The departmental repository was published using SMB so authenticated domain users could access shared resources across the lab network. SMB provides the network-access layer, while Active Directory groups and NTFS permissions determine which users are actually authorized to work with each departmental folder.

Share permissions and NTFS permissions work together; the effective network access is constrained by both layers. Detailed departmental authorization in this lab is enforced primarily through the NTFS ACL design.

8.3 NTFS Permissions and Least Privilege

NTFS permission configuration

NTFS permissions were assigned to Domain Local Groups instead of individual users. This keeps resource ACLs stable even when employees join, leave, or change departments. Administrators can modify access by changing Active Directory group membership while leaving the resource ACL itself unchanged.

NTFS inheritance configuration

Inheritance was disabled where required so departmental folders could use explicit ACLs appropriate to their access requirements. This provides clearer administrative boundaries and avoids unintended permissions inherited from a parent folder. The resulting ACL is easier to review because the entries shown on the departmental folder directly reflect the intended access model.

Domain Local Group assigned to folder ACL

DL_Finance_RW was assigned to the Finance folder, completing the Accounts → Global → Domain Local → Permissions flow used by AGDLP. The folder ACL therefore references the resource group rather than individual employees, preserving the separation between organizational membership and resource permissions.

Least privilege NTFS permissions

Departmental users were granted Modify rather than unnecessary Full Control. This supports normal file operations such as creating, editing, and deleting permitted content while avoiding administrative rights that are not required for the business task. The decision demonstrates least-privilege access rather than simply granting the broadest permission available.

NTFS permission automation with icacls

PowerShell and icacls were used to apply repeatable NTFS permission settings across departmental folders. Using command-line administration also makes the permission configuration easier to reproduce and verify than relying only on manual GUI changes.

NTFS ACL validation

The final ACLs were reviewed to verify Domain Local Group assignment, inheritance settings, and Modify access. This validation confirmed that the resource-permission layer matched the intended AGDLP design and that no unnecessary Full Control assignment remained for departmental users.

AGDLP LayerImplementation
AccountsDepartmental users
Global GroupsGG_IT, GG_HR, GG_Finance, GG_Operations, GG_Executives
Domain Local GroupsDL_IT_RW, DL_HR_RW, DL_Finance_RW, DL_Operations_RW, DL_Executives_RW
PermissionsModify
ResourcesDepartmental SMB folders

9. Project Validation and Final Results

The completed lab was validated across identity services, organizational structure, group membership, AGDLP relationships, SMB access, NTFS permissions, and PowerShell automation. The purpose of this final phase was to verify not only that the domain was operational, but also that the identity and permission model worked as one connected design from user account to resource access.

9.1 Active Directory Validation

ComponentStatus
Forest✅ yasserteach.local
Domain✅ yasserteach.local
Domain Controller✅ DC01
DNS✅ Operational
Authentication Services✅ Operational

9.2 Identity and Access Validation

The Corporate, IT, HR, Finance, Operations, and Executives OUs were reviewed and confirmed as part of the implemented hierarchy. User creation, departmental placement, domain authentication, and PowerShell provisioning were validated to confirm that identities were organized correctly before access permissions were evaluated.

Global Group scope, departmental membership, and naming conventions were reviewed to ensure the identity layer of the access model was configured correctly. This ensured that users reached resources through the expected role groups rather than through direct or inconsistent assignments.

User
 ↓
Global Group
 ↓
Domain Local Group
 ↓
Department Folder
 ↓
Modify Permission

The AGDLP relationship was validated using Finance as the detailed example and applied consistently to the other departmental resources in the lab. The validation confirmed the full path from user account to Global Group, Domain Local Group, and finally the Modify permission on the departmental folder.

9.3 File Services and Automation Validation

The departmental SMB folders and NTFS ACLs were checked to confirm that access was controlled through Domain Local Groups and that unnecessary Full Control permissions were avoided. PowerShell and command-line verification were also reviewed to confirm that the configuration was repeatable and consistent across the departmental resources.

Administrative TaskStatus
User Provisioning✅ Completed
Security Group Creation✅ Completed
Group Membership✅ Completed
AGDLP Configuration✅ Completed
NTFS Permission Automation✅ Completed

9.4 Technologies Used

TechnologyPurpose
VMware WorkstationVirtualization
Windows Server 2022Domain Controller platform
Windows 11Domain client
Active Directory Domain ServicesIdentity and directory services
DNS ServerName resolution and AD service discovery
PowerShellAdministration automation
Security Groups / AGDLPGroup-based authorization
SMBFile sharing
NTFS / icaclsFile-system access control and validation

10. Final Conclusion

The Active Directory Identity, Access & File Services project demonstrates an end-to-end Windows Server lab covering Domain Controller deployment, integrated DNS, OU design, user and Security Group administration, AGDLP, SMB resources, NTFS permissions, least privilege, and PowerShell automation.

The final environment shows how centralized identity and group-based authorization can simplify administration while keeping resource access structured and maintainable. The project provides practical evidence of Windows Server and Active Directory administration skills without presenting the lab as a larger production deployment than it is.