K2000 SI Set Local Account to Never Expire

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!

0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: nheyne 10 years ago
Red Belt

Why not just put the postinstall task on your SI?

  • 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. - horstj 10 years ago
    • I believe that's the only way to do it, I use a batch file to accomplish this when I build my gold master. - nheyne 10 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ