Windows - Change password in Windows Auto Logon

To change a password in a Windows Auto Logon, define this template in a child credential, so after the parent credential is changed, the password in Auto Logon will be changed too.

Create a new template, in the menu Executions > Settings > Templates :

Name: Windows Auto Logon

Executor: Windows RM

Execution Type: Password change

Content:

powerShell $RegPath = “HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon”[nl]$RegROpath = “HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce”[nl]Set-ItemProperty $Regpath “DefaultUsername” -Value “[#USERNAME#]” -type String[nl]Set-ItemProperty $RegPath “DefaultPassword” -Value “[#PASSWORD#]” -type String