Deploy LAPS Using SCCM Application Model

Hello, You All. Here we come with another deployment post. In this post, we will see how to deploy LAPS using SCCM Application Model. We use the MSI application to deploy Microsoft Local Administrator Password Solution (LAPS).

Local Administrator Password Solution (LAPS) provides management of local administrator account passwords for domain-joined computers. Passwords are randomized and stored in Active Directory (AD), protected by ACLs, so only eligible users can read it or request its reset.

LAPS simplifies password management and provides recommendations for preventing cyberattacks. Specifically, the solution reduces the risk of lateral escalation when customers use the same administrative local account and password on multiple computers.

Microsoft LAPS can be deployed using various methods, The solution is built on Active Directory infrastructure and does not require other supporting technologies. Domain administrators using the solution can determine which users, such as helpdesk administrators, are authorized to read passwords.

Patch My PC

In this step-by-step guide, we will use the MSI Application Model to deploy Microsoft LAPS using SCCM. The MSI model is the best practice for deploying applications on Windows 10/11 devices.

What is an MSI file?

Windows packages that contain installation information, including files to be installed and installation locations, are called MSI files. The EXE and MSI files both install and launch Windows programs. The EXE file may not always contain an installer and may launch its program when double-clicked. An MSI file, however, always includes an installer.

How to Deploy LAPS Using SCCM

Now we will begin the Deployment of LAPS using the SCCM. As told earlier, we are using the MSI file for LAPS Deployment. You will see why the availability of MSI files for any application is always a joy for SCCM Admin.

We don’t need to work on prerequisites as we used to tell you in the previous posts where we are using EXE files for the deployment.

Adaptiva
  • We have to download the MSI installer and the logo of the LAPS, as we know it is available for download, and our half job is done.

One can easily download the 64-bit application directly from LAPS. There are multiple files available for this download. Once you click the “Download” button, you will be prompted to select the files you need and choose the MSI setup for the Windows 64-bit architecture.

The following table gives you all the details required for the LAPS Deployment tool using SCCM. This includes the command line for LAPS silent installation, uninstall, Product Code, etc.

NameInstall Command LineUninstall Command LineDetection Method
LAPS Deployment Tool – Windows Installer (*.msi file)Install -> msiexec /i “LAPS.x64.msi” /qUninstall -> msiexec /x {97E2CA7B-B657-4FF7-A6DB-30ECC73E1E28} /qWindows Installer –
{97E2CA7B-B657-4FF7-A6DB-30ECC73E1E28}
Deployment of LAPS using the SCCM Application Model Table1

Create LAPS Application Using SCCM Console

This MSI application deployment guide will use the SCCM admin console to create an application. To start with the Application creation part, copy the downloaded setup to the package source location of the SCCM Server.

  • Navigate to SCCM Console \Software Library\Overview\Application Management\Applications.
  • Right-click on Applications and select Create Application.
Deployment of LAPS using the SCCM Application Model Fig. 1
Deploy LAPS Using SCCM Application Model Fig. 1

For all MSI application deployments, always Select the Automatically detect Information about the application from installation files and choose Windows Installer (.msi files) in the Type category. Also, enter the UNC Path for the application in Location and click Next.

Deployment of LAPS using the SCCM Application Model Fig. 2
Deploy LAPS Using SCCM Application Model Fig. 2

Now, something magical happens here, the thing for which MSI files are so famous. As soon you click on Next, you will see that all the information has been imported from the MSI file, like install commands and detection logic is shown below, and click Next.

Deploy LAPS Using SCCM Application Model Fig. 3
Deploy LAPS Using SCCM Application Model Fig. 3

Also, in the General Information Tab shown below, you will see it imports the install behavior/command (msiexec /i “LAPS.x64.msi” /q) from the installer itself.

  • Silent Install Command Line for LAPSmsiexec /i “LAPS.x64.msi” /q
  • Uninstall Command Line – msiexec /x {97E2CA7B-B657-4FF7-A6DB-30ECC73E1E28} /q
Deployment of LAPS using the SCCM Application Model Fig. 4
Deploy LAPS Using SCCM Application Model Fig. 4

After this, click Next on the Summary Tab and end this Create Application Wizard by clicking on Close in Completion Tab.

Deployment of LAPS using the SCCM Application Model Fig. 5
Deploy LAPS Using SCCM Application Model Fig. 5

After the creation of the Application, it will appear in the Application Node. Now to Add an Icon to LAPS, right-click on LAPS and click on Properties.

After this, choose Software Center Tab as shown below. And click on Browse in Icon, select the icon, and click on Apply and OK, as shown in the image below.

Deployment of LAPS using the SCCM Application Model Fig. 6
Deploy LAPS Using SCCM Application Model Fig. 6

Distribute the LAPS Application to the DP

After the creation of the Application, it will appear in the SCCM Application Node. To begin with, the distribution right-clicks on the LAPS Application and clicks on Distribute Content, as shown in the picture below.

Deployment of LAPS using the SCCM Application Model Fig. 7
Deploy LAPS Using SCCM Application Model Fig. 7

Now the Distribute Content Wizard will open, and click Next in the General Tab. Then select the Application Name in the Content Tab and Click on Next, as shown in the image below.

Deployment of LAPS using the SCCM Application Model Fig. 8
Deploy LAPS Using SCCM Application Model Fig. 8

In the Content Distribution tab, click on ADD button as shown in the image below.

Deployment of LAPS using the SCCM Application Model Fig. 9
Deploy LAPS Using SCCM Application Model Fig. 9

Then Add Distribution Point page will pop up, choose the Distribution Point on which you want to distribute the Application and click on OK, and then on Next.

Deployment of LAPS using the SCCM Application Model Fig. 10
Deploy LAPS Using SCCM Application Model Fig. 10

After this, Click Next on Summary Tab and complete this Distribution process by clicking Close in Completion Tab.

Deployment of LAPS using the SCCM Application Model Fig. 11
Deploy LAPS Using SCCM Application Model Fig. 11

Deploy LAPS using SCCM

So as of now, we have accomplished two tasks, i.e., Application Creation and Application Distribution to the DP. Now all left is the Deployment of the LAPS on the All Windows 10 Device Collection.

  • As you can see, your Application is displaying in Application Node, Right-click on LAPS and click on Deploy.
Deployment of LAPS using the SCCM Application Model Fig. 12
Deployment of LAPS using the SCCM Application Model Fig. 12

After this, Deploy Software Wizard opens, and in the General Tab, you will see the name of the application in the Name box and click on Browse to select the Collection.

Deployment of LAPS using the SCCM Application Model Fig. 13
Deployment of LAPS using the SCCM Application Model Fig. 13

Now the Select Collection page will pop up; choose Device Collection from the drop-down menu, and then

  • Select your targeted Device Collection and click on OK, and then Next.
Deployment of LAPS using the SCCM Application Model Fig. 14
Deployment of LAPS using the SCCM Application Model Fig. 14

Now in the Deployment Settings Tab, select:

  • Install in the Action box
  • And choose Available in the Purpose category.
Deployment of LAPS using the SCCM Application Model Fig. 15
Deployment of LAPS using the SCCM Application Model Fig. 15

In the Scheduling Tab, enter the time details if you want it to be available at a specific time; otherwise, leave it as it is and click Next. After this, in the User Experience Tab,

  • Select Display in Software Center and shows all notification options in the User notifications, and click on Next as shown below.
Deployment of LAPS using the SCCM Application Model Fig. 16
Deployment of LAPS using the SCCM Application Model Fig. 16

In the Alerts and Summary Tab, click on Next and to end the process, click on Close in the Completion Tab.

Deployment of LAPS using the SCCM Application Model Fig. 17
Deployment of LAPS using the SCCM Application Model Fig. 17

End User Experience – LAPS Installation

In this section, we will check the end-user experience for LAPS Application Deployment and Installation. The LAPS Application is Created, Distributed, and Deployed.

Now, if you check the Software Center of Win 10 device from the Windows 10 Device (or All Windows 11 Device) Collection, you will see the Application in Available Mode, and the user can install it as per the requirement.

Deployment of LAPS using the SCCM Application Model Fig. 18
Deploy LAPS Using SCCM Application Model Fig. 18

As you can see in the below screenshot, the LAPS Application is installed successfully on Windows 10/11 devices. This proves the above MSI installer works fine for LAPS Application Installation using SCCM.

Deployment of LAPS using the SCCM Application Model Fig. 19
Deploy LAPS Using SCCM Application Model Fig. 19

So in the above picture, you can see that we have finally created, Distributed, Deployed, and Installed the LAPS Application, as shown in the Software Center in the above image.

Author

Abhinav Rana is working as an SCCM Admin. He loves to help the community by sharing his knowledge. He is a BTech graduate in Information Technology.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.