Create one Group Policy object, link it to the workstation OU and set five things.
Create and link the policy
A domain controller
$top = "OU=Contoso School,DC=ad,DC=contoso,DC=com" New-GPO -Name "CON-LAPS-Policy" -Comment "Windows LAPS for school PCs" | New-GPLink -Target "OU=CON-Workstations,$top"
Linking at CON-Workstations covers the staff and student device OUs beneath it. Keep servers out of it.
Open the LAPS settings
WhereGroup Policy Management›right-click CON-LAPS-Policy›Edit›Computer Configuration›Policies›Administrative Templates›System›LAPS
No LAPS folder?
Your policy editor is using older templates. If the domain has a central store, copy LAPS.admx and its en-US\LAPS.adml from C:\Windows\PolicyDefinitions on an updated DC into the central store.
Set these five
| Setting | Set it to | Why |
|---|---|---|
| Configure password backup directory | Enabled · Active Directory | Without it, LAPS does nothing |
| Password Settings | Enabled · Large letters + small letters + numbers + specials · Length 20 · Age 30 days | Long, random and changed monthly |
| Enable password encryption | Enabled | The stored password is unreadable without the right group |
| Configure authorized password decryptors | Enabled · CONTOSO\Domain Admins | Names the group that can decrypt |
| Post-authentication actions | Enabled · Grace period 24 hours · Reset the password and logoff the managed account | A password you used is replaced a day later |
Optional settings
- Name of administrator account to manage: leave unset to manage the built-in Administrator. Set it only if your PCs use a different local admin account.
- Do not allow password expiration time longer than required by policy: enable it, so nobody can push a PC's expiry far into the future.
Done when
Check
The policy's Settings tab in Group Policy Management lists all five under LAPS, and its link shows on CON-Workstations.


