Forum Discussion

oryxway's avatar
oryxway
Iron Contributor
Nov 15, 2022

Creating Local admin account in Intune

I know how to create a local admin account and set the password, but unfortunately, this local admin account is having its password set as expired. We do not want the password to expire. So, how can I have this in the string or how to do it?

 

Appreciate your experts advice.

    • oryxway390's avatar
      oryxway390
      Brass Contributor

      Rudy_Ooms_MVP 

       

      Thank you so much Rudy, you were to the point what I was asking for. So, now there is no way I can set the users password NOT TO EXPIRE with any kind of variable? The only option is using a Powershell script? I am yet to follow your article and understand how it could be done. Let me read through it. I might have more questions on it.

      • Rudy_Ooms_MVP's avatar
        Rudy_Ooms_MVP
        MVP
        SFAIK the powershell script is the only option out there to solve it... maybe if laps is introduced we have some more power over that setting

Resources