How to create a never expiring password & user via net user through .bat file
Solution 1:
Add this line to the batch file:
WMIC USERACCOUNT WHERE "Name='%1'" SET PasswordExpires=FALSE
Solution 2:
The option /expires is for account, not for password, check the command help.
http://support.microsoft.com/kb/251394/en-us
From the documentation: "Causes the user account to expire if you specify the date."