Maybe one of these will help?
http://www.rlmueller.net/Programs/CannotChgPW.txt
http://www.wisesoft.co.uk/scripts/vbscript_enable-disable_user_cannot_change_password.aspx
http://orangescripts.blogspot.com/2007/10/vbscript-user-cannot-change-password.html