Forum Discussion

ksclifton's avatar
ksclifton
Copper Contributor
May 13, 2022
Solved

Local Admin Password expiration

Hello, I am working on trying to run a script to change the local admin password to not expire. In the early stages of Intune, I setup a local admin account and failed to set the password to expire,...
  • Oliver Kieselbach's avatar
    Oliver Kieselbach
    May 16, 2022
    You need to check the "Run script in 64-bit PowerShell Host" as the localgroup*/localuser* cmdlets are only available on a 64-bit PowerShell, otherwise it will fail. 👍