09/12/2013 3861 views

Hello All,

I have a scripted install which uses a local admin account to login to the machine during the image process. However, I had to go back to a machine today that was imaged a long time ago and the password on the account created by the K2000 had expired. Is there a command that can be added to the setup configuration file of the SI to specify that the password on the account being created should never expire? I know that I could do this through a script on a postinstall task or the K1000 using "wmic useraccount where"name='Administrator'"setPasswordExpires=false", but it would be nice to keep it all within the SI.

Any advice would be appreciated!

Answer Summary:
0 Comments   [ + ] Show comments


All Answers


Why not just put the postinstall task on your SI?

Answered 09/12/2013 by: nheyne
Red Belt

  • I can do it that way, but I thought it would be cleaner to use a command at the time of creation instead of having to run a batch file that calls wmic.
    • I believe that's the only way to do it, I use a batch file to accomplish this when I build my gold master.