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)
Please log in to answer
Posted by:
SMal.tmcc
10 years ago
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/