The Local Administrator Password Solution (LAPS) provides management of local account passwords of domain joined computers. Passwords are stored in Active Directory (AD) and protected by ACL, so only eligible users can read it or request its reset. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of the Local Administrator Password Solution (LAPS) from the command line using the MSI installer.
How to Install the Local Administrator Password Solution (LAPS) Silently
Local Administrator Password Solution (LAPS) 32-bit Silent Install (MSI)
- Navigate to: https://www.microsoft.com/en-us/download/details.aspx?id=46899
- Download the 32-bit MSI to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
MsiExec.exe /i LAPS.x86.msi ALLUSERS=1 /qn
- Press Enter
After a few moments you will find Local Administrator Password Solution (LAPS) entries in the Installation Directory and Programs and Features in the Control Panel.
Software Title: | Local Administrator Password Solution (LAPS) 32-bit |
Vendor: | Microsoft Corporation |
Version: | 6.2.0.0 |
Architecture: | x86 |
Installer Type: | MSI |
Silent Install Switch: |
|
Silent Uninstall Switch: | MsiExec.exe /x {937A3762-F1D5-45F3-AA20-F7C5CBA7FBAC} /qn |
Repair Command: | MsiExec.exe /fa {937A3762-F1D5-45F3-AA20-F7C5CBA7FBAC} /qn |
Download Link: | https://www.microsoft.com/en-us/download/details.aspx?id=46899 |
PowerShell Script: | https://silentinstallhq.com/local-administrator-password-solution-laps-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-local-administrator-password-solution-laps-powershell/ |
Local Administrator Password Solution (LAPS) 64-bit Silent Install (MSI)
- Navigate to: https://www.microsoft.com/en-us/download/details.aspx?id=46899
- Download the 64-bit MSI to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
MsiExec.exe /i LAPS.x64.msi ALLUSERS=1 /qn
- Press Enter
After a few moments you will find Local Administrator Password Solution (LAPS) entries in the Installation Directory and Programs and Features in the Control Panel.
Software Title: | Local Administrator Password Solution (LAPS) 64-bit |
Vendor: | Microsoft Corporation |
Version: | 6.2.0.0 |
Architecture: | x64 |
Installer Type: | MSI |
Silent Install Switch: |
|
Silent Uninstall Switch: | MsiExec.exe /x {EA8CB806-C109-4700-96B4-F1F268E5036C} /qn |
Repair Command: | MsiExec.exe /fa {EA8CB806-C109-4700-96B4-F1F268E5036C} /qn |
Download Link: | https://www.microsoft.com/en-us/download/details.aspx?id=46899 |
PowerShell Script: | https://silentinstallhq.com/local-administrator-password-solution-laps-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-local-administrator-password-solution-laps-powershell/ |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Create an Installation Log File
The Local Administrator Password Solution (LAPS) installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following command to create a verbose log file with details about the installation.
Local Administrator Password Solution (LAPS) 32-bit Silent Install with Logging
MsiExec.exe /i LAPS.x86.msi ALLUSERS=1 /qn /L*v "%WINDIR%\Temp\LAPSx86-Install.log" |
Local Administrator Password Solution (LAPS) 64-bit Silent Install with Logging
MsiExec.exe /i LAPS.x64.msi ALLUSERS=1 /qn /L*v "%WINDIR%\Temp\LAPSx64-Install.log" |
Install AdmPwd GPO Extension Only
Local Administrator Password Solution (LAPS) 32-bit
MsiExec.exe /i LAPS.x86.msi ADDLOCAL=CSE ALLUSERS=1 /qn |
Local Administrator Password Solution (LAPS) 64-bit
MsiExec.exe /i LAPS.x64.msi ADDLOCAL=CSE ALLUSERS=1 /qn |
Install LAPS Management Tools Only
Local Administrator Password Solution (LAPS) 32-bit
MsiExec.exe /i LAPS.x86.msi ADDLOCAL=Management,Management.UI,Management.PS,Management.ADMX ALLUSERS=1 /qn |
Local Administrator Password Solution (LAPS) 64-bit
MsiExec.exe /i LAPS.x64.msi ADDLOCAL=Management,Management.UI,Management.PS,Management.ADMX ALLUSERS=1 /qn |
Install Management Tools Fat Client UI
Local Administrator Password Solution (LAPS) 32-bit
MsiExec.exe /i LAPS.x86.msi ADDLOCAL=Management,Management.UI ALLUSERS=1 /qn |
Local Administrator Password Solution (LAPS) 64-bit
MsiExec.exe /i LAPS.x64.msi ADDLOCAL=Management,Management.UI ALLUSERS=1 /qn |
Install Management Tools PowerShell Module
Local Administrator Password Solution (LAPS) 32-bit
MsiExec.exe /i LAPS.x86.msi ADDLOCAL=Management,Management.PS ALLUSERS=1 /qn |
Local Administrator Password Solution (LAPS) 64-bit
MsiExec.exe /i LAPS.x64.msi ADDLOCAL=Management,Management.PS ALLUSERS=1 /qn |
Install Management Tools GPO Editor Templates
Local Administrator Password Solution (LAPS) 32-bit
MsiExec.exe /i LAPS.x86.msi ADDLOCAL=Management,Management.ADMX ALLUSERS=1 /qn |
Local Administrator Password Solution (LAPS) 64-bit
MsiExec.exe /i LAPS.x64.msi ADDLOCAL=Management,Management.ADMX ALLUSERS=1 /qn |
Install All LAPS Components
Local Administrator Password Solution (LAPS) 32-bit
MsiExec.exe /i LAPS.x86.msi ADDLOCAL=CSE,Management,Management.UI,Management.PS,Management.ADMX ALLUSERS=1 /qn |
Local Administrator Password Solution (LAPS) 64-bit
MsiExec.exe /i LAPS.x64.msi ADDLOCAL=CSE,Management,Management.UI,Management.PS,Management.ADMX ALLUSERS=1 /qn |
How to Uninstall Local Administrator Password Solution (LAPS) Silently
Check out the following posts for a scripted solution:
Local Administrator Password Solution (LAPS) Install and Uninstall (PowerShell) |
Local Administrator Password Solution (LAPS) Silent Uninstall (PowerShell) |
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
Local Administrator Password Solution (LAPS) 32-bit Silent Uninstall
MsiExec.exe /x {937A3762-F1D5-45F3-AA20-F7C5CBA7FBAC} /qn |
Local Administrator Password Solution 32-bit Silent Uninstall with Logging
MsiExec.exe /x {937A3762-F1D5-45F3-AA20-F7C5CBA7FBAC} /qn /L*v "%WINDIR%\Temp\LAPSx86-Uninstall.log" |
Local Administrator Password Solution (LAPS) 64-bit Silent Uninstall
MsiExec.exe /x {EA8CB806-C109-4700-96B4-F1F268E5036C} /qn |
Local Administrator Password Solution 64-bit Silent Uninstall with Logging
MsiExec.exe /x {EA8CB806-C109-4700-96B4-F1F268E5036C} /qn /L*v "%WINDIR%\Temp\LAPSx64-Uninstall.log" |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.