InTune – Change account to Never Expire

I used the Below Policies to create a Local User and Password


However there is no where in CSP to set this to never expire.

You have to use a new Powershell run as the System account separately to do this

Set-LocalUser -Name “localadmin” -PasswordNeverExpires 1

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: ./Device/Vendor/MSFT/Accounts/Users/LocalAdmin/Password, expire, intune, never, password, PasswordNeverExpires, Set Account to never expire

Trackback from your site.