_ _____ _______ _ _ _______ _______ _____ _______ _ _
| | | | |____/ |______ | | | | | |_____|
|_____ |_____| |_____ | \_ ______| | | | __|__ | | |
.--. .--. .--.
/.-. '----------. /.-. '----------. /.-. '----------.
\'-' .---'-''-'-' \'-' .--'--''-'-' \'-' .--'--'-''-'
'--' '--' '--'
A small tool built to find and fix common misconfigurations in Active Directory Certificate Services.
- Locksmith must be run on a domain joined system.
- The ActiveDirectory and ServerManager PowerShell modules must be installed before importing the Locksmith module.
- Administrative rights may be required for some checks and for remediation.
Open a PowerShell prompt and install Locksmith from the PowerShell Gallery:
Install-Module -Name Locksmith -Scope CurrentUser-
Download and Use the Module Without Installing It
- Download the latest module version.
- Open a PowerShell prompt to the location of the extracted file and run:
Unblock-File .\Locksmith.zip # if necessary to unblock the download Expand-Archive .\Locksmith.zip Import-Module .\Locksmith\Locksmith.psd1 Invoke-Locksmith
-
Download the Standalone Script Without Module
- Download the latest monolithic (all-in-one) script version.
- Open a PowerShell prompt to the location of the downloaded file and run:
Unblock-File .\Invoke-Locksmith.zip Expand-Archive .\Invoke-Locksmith.zip -DestinationPath .\ .\Invoke-Locksmith.ps1
There are several modes you can choose from when running Invoke-Locksmith. You can also use the Scans parameter to choose which scans you want to invoke.
Running Invoke-Locksmith.ps1