Software Deployment Question

Admin Password Set no to expire

04/23/2014 2784 views

Just upgraded to 3.6 on K2000 and suddently the Postinstallation of one of my task is getting error message for Admin Password to set to expire.

The command I have is 

wmic useraccount where"name='Administrator'"setPasswordExpires=false 

I know the quotes should be taken out for 3.6 and the K2 Tool seems to pass this command.

Someone who might have any other ideas or command to use.


1 Comment   [ + ] Show comment


  • Do you know what the error is? Also, how was the task created? i.e. is it an Application or BAT Script?

All Answers


I left the quotes in but I have spaces in my wmic call.

like in this example


Answered 04/23/2014 by: SMal.tmcc
Red Belt

  • Does the commnand work with spaces? Have you tried it in 3.6?
    • as BHC-Austin asked, are you running this as a app or bat script?
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