/build/static/layout/Breadcrumb_cap_w.png

KACE Product Support Question


K2000 SI Set Local Account to Never Expire

09/12/2013 3937 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

Comments


All Answers

0

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.

Don't be a Stranger!

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

Sign up! or login

Share

 
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