/build/static/layout/Breadcrumb_cap_w.png

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 11 years ago
Red Belt
0

Why not just put the postinstall task on your SI?


Comments:
  • 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 11 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 11 years ago
 
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