Greetings,
I have installed and deployed LAPS (Local Administrator Password Solution) on a new Windows Server 2022 Standard (21H2) with RSAT to the Domain Controller, using the following guide: https://techcommunity.microsoft.com/t5/itops-talk-blog/step-by-step-guide-how-to-configure-microsoft-local/ba-p/2806185. I tested it on a couple of computers and it worked perfectly. Unfortunately the server had crashed (for different reasons, nothing to do with LAPS) and I had to reinstall it, since I had no snapshots made for this virtual machine. I reinstalled LAPS exactly the same way, but now it doesn’t update any passwords, nor giving new ones to newly joined machines. Both the logs of the server and the local machines show no information regarding LAPS, the only error that I get is this one, when I run Reset-LapsPassword:
Reset-LapsPassword : The request failed because the machine is not configured to backup the managed account password to either Active
Directory or Azure Active Directory.
At line:1 char:1
+ Reset-LapsPassword
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotEnabled: (:) [Reset-LapsPassword], LapsPowershellException
+ FullyQualifiedErrorId : LAPS is not enabled on this machine,Microsoft.Windows.LAPS.ResetLapsPassword