OSDeploy | Sune Thomsen
TwitterLinkedInWindows 365 CommunityMVP ProfileGitHub
  • Home
  • Blog
    • Microsoft Intune
      • How to migrate BitLocker key(s) from all fixed drives to Microsoft Entra ID.
      • Migrate Bitlocker Recovery Key(s) to Azure AD with Proactive Remediation
      • Migrate imported GPOs to Intune with Group Policy analytics (preview)
      • Group Policy analytics (preview) made a bit easier with PowerShell
      • Analyze on-premises GPOs with MEM Group Policy Analytics (preview)
    • Virtual Machine
      • Fix the Hyper-V virtual switches after updating to Windows 11 (22H2)
    • 🆕Windows 365
      • 🆕Windows 365 Boot: Why User-Driven Mode?
      • 🆕Enhancing Security With Intune MAM (preview) for Windows 365
      • The Concept of Windows 365 Switch
      • The Concept of Windows 365 Boot
      • The Concept of Windows 365 Frontline
      • Move Cloud PCs to a new Azure Region or Azure Network Connection
      • Windows 365 End-User Experience (Tips & Tricks) – Part 4. Windows 365 app and Cloud PC reporting
      • Windows 365 End-User Experience (Tips & Tricks) – Part 3. Multimedia Redirection
      • Windows 365 End-User Experience (Tips & Tricks) – Part 2. Teams Optimization, SSO, and Localization
      • Windows 365 End-User Experience (Tips & Tricks) – Part 1. Connection experience
      • How to Configure Windows 365 Azure AD Join Single Sign-on (SSO)
      • Keep Windows 365 current and stay current with Windows Autopatch
      • Provide the end-users with a localized Windows 365 Cloud PC experience
      • How to configure Windows 365 Enterprise Azure AD join
      • How to secure Windows 365 using a FIDO2 security key
      • Prevent sensitive information from being captured on Windows 365 CPCs
      • Manage local administrator rights on Windows 365 Cloud PCs.
      • How to create a custom image for Windows 365 Enterprise Cloud PCs
      • How to reprovision existing Cloud PC (Windows 365) to Windows 11
      • How to configure Windows 365 Enterprise in Microsoft Endpoint Manager
  • Archive
    • Deployment
      • OSDCloud: The ZTI Way
      • OSDBuilder: WinPE Customization
    • Microsoft Configuration Manager
      • ConfigMgr: Run "All" Client Actions During OSD
      • ConfigMgr: WIM Your Applications Like a Boss
      • ConfigMgr: Deploy UWP Applications During OSD
      • ConfigMgr: Building a Basic LAB Environment
        • Part 1 - Installing Windows 10 (1909) on the Host
        • Part 2 - The Host and Hyper-V Configuration
        • Part 3 - Setting up the Domain Controller
          • Active Directory
          • DHCP
          • DNS
        • Part 4 - Setting up Microsoft Endpoint Configuration Manager
          • Prerequisites
          • SQL
        • Part 5 - Setting up Discovery Methods and Boundaries
        • Part 6 - Setting up Software Update Point
      • ConfigMgr: Splash Screen for Driver and BIOS Update
      • ConfigMgr: Global Conditions for Dell WD15 Dock Detection
    • Microsoft Intune
      • Block personally owned devices in Intune with enrollment restrictions
      • Remove Windows 10 built-in apps with Intune & Microsoft Store for Business Apps
    • Windows
      • Win10: Multi-Language Toast Notifications
        • Toast Notification: Low Disk Space
  • Links
    • Blogs
    • Microsoft
    • Scripts
Powered by GitBook
On this page
  • SETTING UP ACTIVE DIRECTORY
  • Installing Active Directory
  • Configuring Active Directory

Was this helpful?

  1. Archive
  2. Microsoft Configuration Manager
  3. ConfigMgr: Building a Basic LAB Environment
  4. Part 3 - Setting up the Domain Controller

Active Directory

PreviousPart 3 - Setting up the Domain ControllerNextDHCP

Last updated 5 years ago

Was this helpful?

SETTING UP ACTIVE DIRECTORY

WHAT IS ACTIVE DIRECTORY?

Active Directory Domain Service (AD DS) is a directory service developed by Microsoft for Windows domain network. It is included in most Microsoft Windows Server operating systems as a set of processes and services. Initially, Active Directory was only in charge of centralized domain management.

Starting with Windows Server 2008, however, Active Directory became an umbrella title for a broad range of directory-based identity-related services.

Read more about Active Directory Domain Services

Log into the DC server, and we will start setting up the Active Directory server role for my LAB environment.

Installing Active Directory

Step 1. Click "Add roles and features" in the Server Manager.

Step 2. Click "Next"

Step 3. Leave everything default and click "Next"

Step 4. Leave everything default and click "Next"

Step 5. Select "Active Directory Domain Services"

Step 6. Leave everything default and click "Add Features"

Step 7. Leave everything default and click "Next"

Step 8. Click "Next"

Step 9. Check the "Restart the destination server automatically if required" box and click "Install"

Configuring Active Directory

Step 1. When the server role installation is done, we should now see a yellow triangle with an exclamation mark in the Server Manager, click on it and then click "Promote this server to a domain controller"

Step 2. Check "Add a new forest", enter a "Root Domain Name" and click "Next"

Step 3. Enter a password for DSRM, leave the rest as default and click "Next"

Step 4. Leave everything default and click "Next"

Step 5. The NetBIOS domain name is populated automatically after a few second, it is possible to change the NetBIOS domain name, but I choose to leave it as default for my LAB environment.

Step 6. Leave everything default and click "Next"

Step 7. Click "Next"

BONUS INFO

If you click "View script" you can actually save it as a PowerShell script and re-use it the next time you have to create a new Active Directory Forest.

Step 8. The system will now verify all the prerequisites, this might take a few seconds to validate. You will see the message "All prerequisite checks passed successfully." if everything went as it should.

The yellow triangle with an exclamation mark is okay since this is a new LAB environment. For example, I do not have any existing Windows DNS server in my environment, so I can just ignore that "warning".

Click "Install" (The system should reboot automatically during this process...)

Step 9. After a reboot the Active Directory installation is done and you should be able to log on to the domain for the first time.

Now that we have successfully installed and configured the Active Directory server role on my DC server, let's move on to the DHCP server role installation. Click "Next" below or click "DHCP" in the menu to the left.

Step 10. This might take a while, so click "Close" and go grab a cup of coffee

😎
here
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory
Windows Server 2019 - Active Directory