Author: Adrian Johnson (adrian207@gmail.com)
Version: 1.0.0
Date: October 2025
Comprehensive PowerShell automation solution for Microsoft's Local Administrator Password Solution (LAPs) deployment, configuration, and management on Windows Server environments.
Deploy LAPs to centrally manage and secure local administrator passwords across your Windows environment, reducing credential theft risk and ensuring compliance with security best practices.
- Enhanced Security: Eliminates shared local administrator passwords across multiple systems
- Automated Password Management: Regularly rotates passwords without manual intervention
- Audit Compliance: Complete audit trail of password access and changes
- Centralized Control: Store passwords securely in Active Directory
- LAPs components installed on managed computers via Group Policy
- Local administrator passwords stored as encrypted data in Active Directory
- Authorized administrators can retrieve passwords when needed
- Automatic password rotation on configurable schedule
- Configure LAPs Group Policy settings
- Deploy LAPs client to managed computers
- Configure password rotation and backup keys
- Monitor compliance and health
- Centralized Management: Unified LAPs configuration and deployment
- Password Retrieval: Secure access to local administrator passwords
- Group Policy Integration: Automated configuration via GPO
- Audit & Compliance: Comprehensive tracking and reporting
- Backup Key Management: Configure and rotate backup encryption keys
- Health Monitoring: Real-time status and statistics
- Troubleshooting Tools: Diagnose and resolve issues quickly
LAPs-Scripts/
├── Modules/ # Core PowerShell modules
│ ├── LAPs-Core.psm1 # Core LAPs operations
│ ├── LAPs-Security.psm1 # Security and compliance features
│ ├── LAPs-Monitoring.psm1 # Monitoring and reporting
│ └── LAPs-Troubleshooting.psm1 # Diagnostics and troubleshooting
├── Scripts/ # Deployment and management scripts
│ ├── Deployment/ # Installation scripts
│ ├── Configuration/ # Configuration scripts
│ ├── Security/ # Security scripts
│ ├── Monitoring/ # Monitoring scripts
│ └── Troubleshooting/ # Troubleshooting scripts
├── Configuration/ # Configuration templates
├── Examples/ # Usage examples
├── Documentation/ # Detailed documentation
└── Tests/ # Test suite
- Windows Server 2016 or later (domain controller)
- PowerShell 5.1 or later
- Active Directory domain
- Administrator privileges
- LAPs Group Policy Administrative Templates installed
# Import LAPs modules
Import-Module ".\LAPs-Scripts\Modules\LAPs-Core.psm1" -Force
Import-Module ".\LAPs-Scripts\Modules\LAPs-Security.psm1" -Force
Import-Module ".\LAPs-Scripts\Modules\LAPs-Monitoring.psm1" -Force
Import-Module ".\LAPs-Scripts\Modules\LAPs-Troubleshooting.psm1" -Force
# Configure LAPs Group Policy
Set-LAPsGroupPolicy -PolicyName "LAPs Policy" -PasswordAgeInDays 30 -PasswordLength 14 -EnableAuditing
# Get LAPs status for computers
Get-LAPsStatus -ComputerName "SERVER01", "SERVER02"
# Retrieve local administrator password
Get-LAPsPassword -ComputerName "SERVER01"
# Perform LAPs audit
Invoke-LAPsAudit -ExportReportComplete deployment of LAPs across the environment.
Configure and manage LAPs Group Policy settings across OUs.
Implement automated password rotation policies.
Configure and rotate LAPs backup encryption keys.
Regular audits of LAPs deployment and configuration.
Secure retrieval of local administrator passwords.
Real-time monitoring of LAPs deployment health.
Diagnose and resolve LAPs connectivity and configuration issues.
Deploys LAPs across the environment and configures Group Policy settings.
Retrieves the current LAPs-managed local administrator password for a computer.
Configures Group Policy settings for LAPs password management.
Retrieves LAPs configuration and status information.
Performs comprehensive audit of LAPs deployment and configuration.
Gets monitoring statistics and health metrics.
Tests LAPs connectivity and communications.
Configures LAPs backup key management.
Gets compliance status for LAPs deployment.
Comprehensive test suite validates all functionality:
# Run test suite
.\LAPs-Scripts\Tests\Test-LAPsScripts.ps1Test Results: 10/10 Tests Passing (100%)
- README.md: This file - overview and quick start
- Documentation/: Detailed technical documentation
- Examples/: Real-world usage examples
For questions and support:
- Email: adrian207@gmail.com
- Documentation: See Documentation/ folder
This project is part of the Windows Server PowerShell Solutions Suite.
- v1.0.0 (October 2025) - Initial release with core LAPs functionality