Windows Local Administrator Password Solution (LAPS) is a Microsoft product that helps organizations store and centrally manage the local administrator passwords of their Windows machines. It provides a secure way of managing local account passwords, and ensures that all machines in the organization have a unique, randomly generated password.
The LAPS solution utilizes the PowerShell scripting language to securely store and retrieve local administrator passwords, as well as a REST API for integration with other systems. The PowerShell cmdlets allow administrators to easily manage and rotate passwords, while the REST API provides access to the passwords from other systems and applications. With LAPS, organizations can rest assured that their local administrator passwords are securely managed and can be retrieved quickly when needed.
► Sample script:
► Windows LAPS documentation:
From the LAPS UI window, enter the CCSU computer name and click on Search. The temporary administrator password for that computer will be displayed. You may highlight the password, then right-click and choose Copy to copy it into your clipboard.
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.
Windows LAPS with Microsoft Entra (Azure AD) and Microsoft Intune support is now in public preview as of April 21st 2023.
To change a local account password from PowerShell, use these steps: Open Start on Windows 10. Search for PowerShell, right-click the top result, and select the Run as administrator option. Type the new password for the account and press Enter.