/build/static/layout/Breadcrumb_cap_w.png

Admin Password Set no to expire

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? - BHC-Austin 10 years ago

Answers (1)

Posted by: SMal.tmcc 10 years ago
Red Belt
0

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

like in this example

http://www.msfn.org/board/topic/143463-prevent-password-expiration/


Comments:
  • Does the commnand work with spaces? Have you tried it in 3.6? - hjansari 10 years ago
    • as BHC-Austin asked, are you running this as a app or bat script? - SMal.tmcc 10 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