๐ Introduction
Microsoft Local Administrator Password Solution (LAPS) is a free tool that enhances security by automatically managing local administrator passwords on domain-joined computers. This guide will walk you through the installation and configuration of LAPS in a step-by-step manner.
๐ Prerequisites
Before you begin, ensure you have the following:
โ
Active Directory configured
โ
Domain Admin or equivalent privileges
โ
Windows Server with Group Policy Management
โ
Windows Clients (Windows 10/11) joined to the domain
๐ฅ Step 1: Download and Install LAPS
1๏ธโฃ Download LAPS from the official Microsoft Download Center:
๐ https://www.microsoft.com/en-us/download/details.aspx?id=46899
2๏ธโฃ Run the LAPS.x64.msi installer on your Domain Controller (DC) and client machines.
3๏ธโฃ On the Installation Wizard, select:
-
โ AdmPwd GPO Extension
-
โ PowerShell Module
-
โ Management Tools
4๏ธโฃ Click Install and wait for the process to complete.
๐ Step 2: Extend Active Directory Schema
To store the LAPS-managed passwords, you need to extend the AD schema.
1๏ธโฃ Open PowerShell as Administrator on your Domain Controller.
2๏ธโฃ Run the following command:
Import-Module AdmPwd.PS
Update-AdmPwdADSchema
3๏ธโฃ If successful, youโll see no error messages.
๐๏ธ Step 3: Set Permissions in Active Directory
Now, grant computers permission to update their password attributes.
1๏ธโฃ Run this command in PowerShell:
Set-AdmPwdComputerSelfPermission -OrgUnit "OU=Computers,DC=yourdomain,DC=com"
๐น Replace OU=Computers,DC=yourdomain,DC=com with your actual Organizational Unit (OU) path.
2๏ธโฃ Grant read permission for IT admins to retrieve passwords:
Set-AdmPwdReadPasswordPermission -OrgUnit "OU=Computers,DC=yourdomain,DC=com" -AllowedPrincipals "ITAdmins"
3๏ธโฃ Ensure only necessary users can reset passwords:
Set-AdmPwdResetPasswordPermission -OrgUnit "OU=Computers,DC=yourdomain,DC=com" -AllowedPrincipals "ITAdmins"
โ Done! Now, the computers in the OU can update their local administrator passwords securely.
๐๏ธ Step 4: Configure LAPS Group Policy
1๏ธโฃ Open Group Policy Management (gpmc.msc).
2๏ธโฃ Navigate to Computer Configuration > Administrative Templates > LAPS.
3๏ธโฃ Enable the following policies:
-
Enable local admin password management โ Set to Enabled โ
-
Password Settings โ Configure password complexity, length, and expiration โ
-
Name of administrator account to manage (if you use a custom local admin name) โ
4๏ธโฃ Link the policy to the OU where the computers are located.
๐ Step 5: Verify LAPS Deployment
1๏ธโฃ Force Group Policy Update:
gpupdate /force
2๏ธโฃ On a domain-joined PC, run:
Get-AdmPwdPassword -ComputerName PC-01 -Credential (Get-Credential)
๐น This will show the stored local admin password for that computer.
โ Success! Your LAPS deployment is now active.
๐ฏ Conclusion
Youโve successfully installed and configured Microsoft LAPS! ๐ This enhances security by ensuring each machine has a unique, automatically updated local administrator password.
๐ข Next Steps:
-
โ Monitor password changes using PowerShell
-
โ Train your IT team on LAPS password retrieval
-
โ Consider Windows LAPS (Newer Version) for enhanced security features
๐ฌ Need help? Drop your questions in the comments! ๐

