Step 3

Apply it to a PC

Apply the policy to one PC and confirm its password reaches Active Directory. The rest pick it up within about an hour.

10 minutesOne test PC, then a domain controller

Refresh policy on a test PC

CON-WS-001, as an administrator
gpupdate /force
Invoke-LapsPolicyProcessing
gpresult /r /scope:computer    # CON-LAPS-Policy should be listed

Check the PC's event log

WhereEvent Viewer›Applications and Services Logs›Microsoft›Windows›LAPS›Operational

Look for an event saying LAPS updated Active Directory with the new password. An error here names the cause, such as a missing permission.

Read the password from AD

A domain controller
Get-LapsADPassword -Identity "CON-WS-001" -AsPlainText

You should see the account name, a 20-character password and an expiry date about 30 days away.

Prove it works

At the test PC's sign-in screen, sign in as .\Administrator with that password.

Check the rest

After a day, list any PC that has not stored a password yet.

A domain controller
$top = "OU=Contoso School,DC=ad,DC=contoso,DC=com"
Get-ADComputer -SearchBase "OU=CON-Workstations,$top" -Filter * -Properties "msLAPS-PasswordExpirationTime" |
  Where-Object { -not $_."msLAPS-PasswordExpirationTime" } | Select-Object Name

Done when

Check

The test PC's password reads back from AD and signs in, and the last command returns no PCs that have been switched on since.

Your progress is kept in this browser only.