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
  • BEFORE YOU BEGIN
  • Recommended Reading
  • CM PREPARATIONS
  • Windows Server Configuration
  • Windows Update
  • Prerequisites
  • SQL Configuration
  • CM INSTALLATION
  • Prerequisite Check
  • Setup Wizard

Was this helpful?

  1. Archive
  2. Microsoft Configuration Manager
  3. ConfigMgr: Building a Basic LAB Environment

Part 4 - Setting up Microsoft Endpoint Configuration Manager

04-13-2020 11:25 AM

PreviousDNSNextPrerequisites

Last updated 4 years ago

Was this helpful?

BEFORE YOU BEGIN

Disclaimer: All information and content in these blog posts is provided without any warranty whatsoever. The entire risk of using this information or executing the provided content remains with you. Under no circumstances should Microsoft, its author, or anyone else involved in the creation of these blog posts be held liable for any damage or data loss.

Recommended Reading

I've gathered some useful links below, that I've been using during creation of this blog post. I seriously recommend that you read the below Microsoft docs before installing SQL and Configuration Manager.

Downloads Sources

Microsoft Docs

CM PREPARATIONS

Oh, there is actually one thing during creation of the Virtual Machine I should share with you, and that is that I've created additional Virtual Hard Disks, but more about that during the prerequisites step.

Windows Server Configuration

The very first thing I like to do after a Windows Server 2019 installation and before adding server roles, is renaming the server and configure the network settings.

Step 1. Okay, so as mentioned above, I've already completed the installation and I should be able to log into the Windows Server 2019 for the first time by using a local Administrator account.

Step 2. Click "Yes" to the "Networks" dialog box and close the Server Manager.

Step 3. Type "About" in the search line next to the start button, and click "About your PC"

Step 4. In the middle of the "About" page, click "Rename this PC", give it a new name and click "Next". You don't have to reboot at this point, because we will reboot the CM server after after running the Windows Update step.

Step 5. In the search line, type "View network" and click "View network status and tasks"

Step 6. Click "Ethernet"

Step 7. Click "Properties" and select "Properties" for "Internet Protocol Version 4 (TCP/IPv4)", add the IP address for the CM server and DNS address from the DC server. Click "OK" to complete the configuration.

Step 8. Open the "Server Manager", select the "Local Server" tab and click on "WORKGROUP"

Step 9. Click "Change" in the System Properties window. Select "Domain", enter your domain and click "OK". You don't have to reboot at this point, because we will reboot the CM server after running the Windows Update step.

Windows Update

So now that we have completed the above Windows Server configuration, I like to run a Windows Update scan before rebooting the server and continuing with the prerequisites step.

Step 1. Type "Windows Update" in the search line next to the start button, and click "Windows Update settings"

Step 2. Click "Check for updates" and wait.

Step 3. When it's done, reboot the CM server.

I've decided, that since this would become a very large blog post, it would be best to split the Prerequisites and SQL step into sub-sections.

So please click on the desired step in the menu to the left, or click on the links below.

Prerequisites

SQL Configuration

CM INSTALLATION

Once we have completed the Prerequisites and SQL step, we'll be ready to start the CM installation. But first we need to reboot the CM server to ensure that there is no pending reboot.

Prerequisite Check

Before starting the setup wizard, I recommend running a prerequisite check utility to check that all prerequisites are installed and configured correctly. But first we'll have to mount the "Configuration Manager" media to the CM server.

Open a Command Prompt in Administrator elevated mode and follow the steps below.

Step 1. Navigate to ".\SMSSETUP\BIN\X64\" on the mounted "Configuration Manager" media and execute "Prereqchk.exe" with the parameter "/AdminUI"

D:\SMSSETUP\BIN\X64\Prereqchk.exe /AdminUI

Step 2. The Prerequisite Check should complete with success. If you are getting any errors or warnings at this step, it´s important that you read the details and fix it before proceeding with the installation.

Setup Wizard

We are now finally ready for the CM installation, so navigate to the mounted "Configuration Manager" media and follow the steps below.

Step 1. Execute the "splash.hta" located in the root of the mounted "Configuration Manager" media.

Step 2. Click "Install"

Step 3. Click "Next"

Step 4. Select "Install a Configuration Manager primary site" and click "Next"

Step 5. Enter a product key or select the "Evaluation" edition which will expire after 180 days. Click "Next"

Step 6. Check the "I accept these License Terms and Privacy Statement" and "I accept these License Terms" box and click "Next"

Step 7. Select "Download required files" and specify a location where to download the files to. Click "Next"

Step 8. Select the server languages that Configuration Manager displays in the console and reports.

Step 9. Select the client languages for Configuration Manager to support.

Step 10. Provide the site code that we specified during the database creation, which in this case is "PS1". Give the site a name e.g. "Test Site" and change the drive letter of the installation path to "E:\" which is the ConfigMgr drive. Click "Next"

Step 11. Select "Install the primary site as a stand-alone site" and click "Next"

Step 12. Click "Yes"

Step 13. Verify that the information is correct. The database name has to match the database we created earlier and click "Next"

Step 14. Ensure that the database and log file path is the same as specified during the SQL installation. Click "Next"

Step 15. Leave everything default and click "Next"

Step 16. Select "Configure the communication method on each site system role" and click "Next"

Step 17. Leave everything default and click "Next"

Step 18. Click "Next"

Step 19. Leave everything default and click "Next"

Step 20. Verify that the selected settings is correct and click "Next"

Step 21. The Prerequisite Check completed with two warnings, which is weird because I ran it with success before starting the setup wizard.

BONUS INFO

If you want to follow the Prerequisite Check or Core Setup progress in the background you can navigate to ".\SMSSETUP\TOOLS\" on the mounted "Configuration Manager" media and copy the log viewer "CMTrace.exe" to e.g. "C:\Temp\" run it and make it the default log viewer.

Open "C:\ConfigMgrPrereq.log" to follow the Prerequisite Check or "C:\ConfigMgrSetup.log" to follow the Core Setup progress.

Step 22. Click "Begin Install"

Step 23. The installation progress will take between 15 and 30 minutes. Even though the core setup has completed there's still a few things happening in the background, but you should be able to open the Configuration Manger Console.

If you want to monitor what's happening in the background you can open the log file "sitecomp.log" from the following path ".\Program Files\Microsoft Configuration Manager\Logs\"

Click "Close" when the core setup is done.

Step 24. Type "Configuration" in the search line next to the start button, and click "Configuration Manager Console"

Step 25. Navigate to "Monitoring", expand "System Status" and verify that site systems and component status is "OK"

Step 26. Navigate to "Administration", expand "Updates and Servicing" and upgrade to the latest version

In my previous blog post we completed the domain controller (DC) installation including DHCP and DNS configuration. In Part 4, I will walk you through the basic installation of Microsoft Endpoint Configuration Manager (CM) including the SQL, Distribution Point and Management Point configuration.

Since I've already prepared the Virtual Machine for my CM server and completed the OS installation, let's get started with the Windows Server configuration

If you need a complete walk-through of the Virtual Machine creation or OS installation, then take a look at my previous blog posts and .

Give it a default gateway, subnet mask and a static IP address from the private IP range we created in during the Hyper-V configuration.

Click to see a list of prerequisite checks for Configuration Manager.

I can verify, that the computer account does have full permissions to the "System Management" container in the Active Directory, so I can ignore that warning! The "SQL Server security mode" warning disappeared after running the check again. I guess it might be an bug

Awesome! This should conclude the basic installation of Microsoft Endpoint Configuration Manager including the SQL, Distribution Point and Management Point configuration. In I'll be setting up the discovery methods and boundaries.

If you have any questions regarding this topic, feel free to reach out to me. I am most active on !

😎
🤔
Download Windows 10 ADK
Download Microsoft SQL Server 2019 Reporting Services (SSRS)
Download Microsoft SQL Server Management Studio (SSMS)
Download Latest Microsoft SQL Server 2019 Updates
Download Kent Agerlund's "Estimate SQL Database" Excel File
Recommended Hardware for Configuration Manager
Supported Operating Systems for Configuration Manager
Prerequisites for Configuration Manager
Supported SQL Server Versions for Configuration Manager
Prepare Active Directory for Configuration Manager
List of Prerequisite Checks for Configuration Manager
Part 3
Part 2
Part 3
Part 2
Prerequisites
SQL
here
Part 5
Twitter
Configuration Manager - Preparations
Configuration Manager - Preparations
Configuration Manager - Preparations
Configuration Manager - Preparations
Configuration Manager - Preparations
Configuration Manager - Preparations
Configuration Manager - Preparations
Configuration Manager - Preparations
Configuration Manager - Preparations
Configuration Manager - Preparations
Configuration Manager - Preparations
Configuration Manager - Preparations
Configuration Manager - Preparations
Configuration Manager - Preparations
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation
Configuration Manager - Installation