Running it

Read and change passwords

Day to day you do two things: read a PC's password when you need local admin, and force a change after someone has seen it.

ReferenceFor whoever holds Domain Admins

Read a password

A domain controller
Get-LapsADPassword -Identity "CON-WS-001" -AsPlainText
OrActive Directory Users and Computers›the computer›Properties›LAPS tab

Change it now

After reading a password out over the phone, or when a member of staff leaves, expire it. The PC sets a new one the next time Windows LAPS checks its policy, which it does every hour.

A domain controller
Set-LapsADPasswordExpirationTime -Identity "CON-WS-001"

To change it straight away, run this on the PC itself:

The PC, as an administrator
Reset-LapsPassword

Let a helpdesk group read passwords

Two parts: the right to read the stored value, and the right to decrypt it.

A domain controller
$top = "OU=Contoso School,DC=ad,DC=contoso,DC=com"
New-ADGroup -Name "SG-CON-LAPS-Readers" -GroupScope Global -GroupCategory Security -Path "OU=CON-Groups,$top"
Set-LapsADReadPasswordPermission -Identity "OU=CON-Student-Devices,OU=CON-Workstations,$top" `
  -AllowedPrincipals "CONTOSO\SG-CON-LAPS-Readers"

Then set Configure authorized password decryptors in the policy to a group that contains both your admins and the readers group. The policy takes one group only.

Treat reader access like admin access

Anyone who can read LAPS passwords is a local administrator on every PC in that OU. Keep the group small and review it each term.

Keep a record

  • Who is in Domain Admins and any LAPS readers group.
  • The policy settings, from Group Policy Management › the policy › Settings › Save report.
  • The count of PCs with no stored password, checked termly.
Your progress is kept in this browser only.