Hi LucD,
I have again tested the same script with windows 2012, it changed password but it needs manual intervention. like first I've to insert old password then it restart and then it ask for Language, keyboard selection and then it asked to click accept on license agreement.
setupact log
Setuperr log
waiting for the reply
Thanks