fix(windows): make local account passwords never expire

Co-authored-by: bogiord <bogiord@users.noreply.github.com>
This commit is contained in:
Lorenzo Villani 2025-09-30 20:04:16 +02:00 committed by Phil Clifford
parent 934ffacdd3
commit 2311b95a14
1 changed files with 5 additions and 0 deletions

View File

@ -3024,6 +3024,11 @@ function unattended_windows() {
<Description>Install viogpudo driver</Description>
<Order>6</Order>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd /c net accounts /maxpwage:unlimited</CommandLine>
<Description>Local account passwords never expire</Description>
<Order>7</Order>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>