Deployment Solution

 View Only
  • 1.  Local altiris account password expired

    Posted Jan 06, 2015 07:10 AM

    I dont know why but I recently did an updated build and now when I apply the image the local altiris accounts password has expired and needs changed. This is causing a problem with som tasks. Anyway I can fix this ?

     

    Thanks

     



  • 2.  RE: Local altiris account password expired

    Posted Jan 06, 2015 11:55 AM

    Can you explain what you mean by "local Altiris account"?  Is the machine joined to a domain?  If so you wouldn't normally have any local account for Altiris on the machine.  If you are talking abou tthe app idenity domain account, I would recommend you set that account to not expire.  There is a specific process that must be followed to update the password for that account since the credentials are stored in several locations.



  • 3.  RE: Local altiris account password expired

    Posted Jan 07, 2015 04:10 AM

    There is a local account created called 'Altiris' The machine is in a workgroup - this was not created by me. I have resolved anyway. I put in a task to reset the password and its now fine.

    Thanks

     



  • 4.  RE: Local altiris account password expired

    Posted Jan 15, 2015 08:30 AM


    'vbscript

    'SetAltirisAdminPasswortNeverExpire

    Const ADS_UF_DONT_EXPIRE_PASSWD = &h10000


    Set objNetwork = wscript.CreateObject("wscript.network")

    strComputer = objNetwork.Computername
    strUser = "Altiris"
     
    Set objUser = GetObject("WinNT://" & _
        strComputer & "/" & strUser & ",User")
     
    objUserFlags = objUser.Get("UserFlags")
    objPasswordExpirationFlag = objUserFlags OR ADS_UF_DONT_EXPIRE_PASSWD
    objUser.Put "userFlags", objPasswordExpirationFlag 
    objUser.SetInfo