I wrote a script to have a user change their own password when they are not logged into their own account.
set /p username= Enter Username:
runas /noprofile /user:%username% "net user %username% *"
this works great. however, if the users account is marked for the user to change their password at next login, RUNAS doesnt launch after the user has authenticated. this is the specific reason why i need this script.
so when their accounts are marked to change their passwords, they have the ability to do so without having to log into their own accounts.
you should set the script running automatically during startup.