Step 2

Create the policy

Create one Group Policy object, link it to the workstation OU and set five things.

15 minutesRun as CONTOSO\Administrator

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

SettingSet it toWhy
Configure password backup directoryEnabled · Active DirectoryWithout it, LAPS does nothing
Password SettingsEnabled · Large letters + small letters + numbers + specials · Length 20 · Age 30 daysLong, random and changed monthly
Enable password encryptionEnabledThe stored password is unreadable without the right group
Configure authorized password decryptorsEnabled · CONTOSO\Domain AdminsNames the group that can decrypt
Post-authentication actionsEnabled · Grace period 24 hours · Reset the password and logoff the managed accountA 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.

Your progress is kept in this browser only.