Configuration Manager and Intune are now integrated as part of Microsoft Endpoint Manager. This makes device management much easier. By automating processes, you can boost productivity and efficiency.
Most of you have probably worked with MECM/SCCM before. Have you ever wondered how it is configured or how it works if you have used it at the entry-level? If that’s the case, this post is for you.
This is the first in new series of installation and configuration labs for MECM Current Branch. Please take a look at the YouTube videos below that are linked to this article. I believe it will assist you in gaining a better understanding.
You will need a baseline version of Configuration Manager when installing on new infrastructure. In this lab, I have used current branch version 2103. And the download links are at the bottom of this post.
Part 1 consists of the following topics:
1. Lab Structure.
2. Domain Creation.
3. Prepare Active Directory.
4. Create GPO.
5. Extend the AD Schema.
Stage 1 – Lab structure
- All the virtual machines have been hosted on a VMware workstation.
- Windows Server 2022 datacenter evaluation edition was deployed on DC and CM servers.
- On the workstations, Windows 10 Enterprise evaluation edition was installed.
- I used licensed copies of SQL Server 2019 and Microsoft Endpoint Configuration Manager current branch. But you can use the evaluation edition if you don’t have a license.
- Offline versions of the Windows ADK and WinPE Add-ons have been downloaded.
- Because this is a lab, the ‘Default administrator’ account has been used on all occasions. Nevertheless, for security concerns, this is not a recommended best practice in a real-world context.
- On the VM’s local drive, all of the required software has been copied.
Stage 2 -Domain creation
- Configure the hostname and IP address for DC and CM servers.
- Install the roles ADDS, DHCP, and DNS.
- Promote the server to Domain Controller.
- Then, for workstations, configure the DHCP scope.
Stage 3 – Prepare Active Directory
- Create the appropriate OUs (Member Servers and Workstations) as well as computer objects (e.g dc01, sc01, pc01, and pc02).
- According to your environment, change the hostname and assign a static IP address to the CM server and Domain Controller. Also for workstations, change the hostname and leave the IP assignment to DHCP.
- Ensure that workstations have obtained IP addresses from the previously created DHCP scope.
- Join the CM server (sc01) and two workstations (pc01 and pc02) to the domain.
Stage 4 – GPO
- Create the following two GPOs on DC. And link them to the OUs you created earlier (if the firewall is switched off, you can skip this step):
- Allow SQL server connectivity on port 4022.
- Allow file and printer sharing, as well as WMI.
- Force the update of group policies on CM server and workstations (gpupdate /force).
Stage 5 – Extend Schema
- Run extadsch.exe from the CM setup location on the DC to expand the AD schema, and make sure it’s successful.
Part 2 consists of the following topics:
- Installation of SQL Server.
- Enabling IIS and WSUS roles.
- Installation of the Windows ADK and WinPE Add-ons.
- Installation of MECM server.
- Configuration of the MECM Server.
- Prepare your workstations for the client push.
- Deploy the client and keep an eye on its progress.
- Check the status of the client on the Configuration Manager server.
Stage 1 – SQL Server installation
- On the CM server, navigate to the SQL Server 2019 setup folder and install (choose evaluation version if you don’t have a license key). And make sure service accounts, collation, authentication mode, and administrator accounts are all updated correctly.
- If a hotfix is available, install it.
- Install SQL Server Management Studio and Microsoft SQL Server 2019 Reporting Services.
Stage 2 – IIS and WSUS roles
- Launch Server Manager and add the IIS and WSUS roles. Also, enable the following additional features:
- .Net Framework 3.5 features and all the sub-features.
- .Net Framework 4.8 features and all the sub-features.
- Remote Differential Compression.
- Security > Windows Authentication.
- Application Development > ASP.Net 3.5.
- Management Tools and all the sub-features.
- Because we installed SQL on the same CM server, enter the CM server hostname as the database server name when configuring the WSUS role and proceed with the installation.
- Run the WSUS post-installation task and wait for it to finish.
Stage 3 – Windows ADK Installation
- You have the option to download the relevant files and use them offline on other computers when you run the Windows ADK and ADK WinPE Add-ons setup from an internet-connected computer. That is just what I did.
- Navigate to the setup folder, and then Install the Windows ADK and ADK WinPE Add-ons.
Stage 4 – Install Microsoft Endpoint Configuration Manager
- On the CM server, navigate to the MECM setup folder, and then run the ‘splash.hta’ file and click ‘Install’.
- Similar to Windows ADK offline download, if you run the ‘splash.hta’ file from an internet-connected computer you have the option to download the required files and use them offline on other computers. That is just what I did.
- If you don’t have a license, you can use the evaluation edition.
- Select the source files location where you downloaded the files in Step 2 on the Prerequisite Downloads screen.
- Complete the remaining configurations and the installation.
Stage 5 – Microsoft Endpoint Configuration Manager configuration
- To begin, open the Configuration Manager console.
- Enable discovery methods in the Administration workspace so that the CM server can identify the devices.
- Create a boundary as well as boundary groups.
- Make sure devices have been reported in the Assets and Compliance workspace.
- Again, under the Administration workspace, update the service account for Client Push Installation.
Stage 6 – Prepare workstations for client push
- To monitor the client push progress, switch to pc01 and pc02 and enable the logs.
Stage 7 – Deploy client and monitor deployment status
- Switch to sc01 and deploy the client to pc01 and pc02 under Assets and Compliance > Devices.
- The progress can be seen in the ccm log and the ccmsetup process will be removed from Task Manager once the setup is finished.
- Configuration Manager will also appear in Control Panel.
- Initially, there will only be two actions listed under the Actions tab in Configuration Manager, but once the client initiates the sync with the CM server, there will be more.
Stage 8 – Client status check
- Under Assets and Compliance > Devices > sc01, select sc01. A question mark will appear on the icon tab, which will then turn green.
This concludes the lab. Through the CM console, you can now control the devices.
The following are the download links for the resources:
- Server OS (DC and MECM servers): https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2022
- Client OS: https://www.microsoft.com/en-us/evalcenter/evaluate-windows-10-enterprise
- SQL Server 2019: https://www.microsoft.com/en-us/sql-server/sql-server-downloads
- SQL Server 2019 Cumulative Update: https://www.microsoft.com/en-us/download/details.aspx?id=100809
- Microsoft SQL Server 2019 Reporting Services: https://www.microsoft.com/en-us/download/details.aspx?id=100122
- SQL Server Management Studio: https://docs.microsoft.com/en-gb/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver15
- Microsoft Endpoint Configuration Manager (Current Branch): https://www.microsoft.com/en-us/evalcenter/evaluate-microsoft-endpoint-configuration-manager
- Windows ADK: https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install
I hope this post helped you with your educational endeavors. If you have a few minutes, check out my other blogs as well.
In the following post, I’ll show you how to upgrade configuration manager server to the most recent version.
In the meantime, stay tuned and happy learning!
Let’s keep in touch!