Hi there, thanks for the reply.
I made tests again once the machine was restarted and everything works again. I didn't know what was wrong but after the restart all works again with the new domain.
Reggards.

Hi, thanks for the reply.
I made the change that you suggest, and the same error persists. Also I installed it (remote session launcher) in a new machine and I got the same error.
Is there a way to enable more debug? So could find more easily whats wrong.

Hi there.
I had a functionally installation of passwordstate, but I decided change the domain to enter at web page of Passwordstate, I create a new ssl certificate and installed it, but when I try to launch remote session launcher i get the error in the file "PSLauncher.txt"
Remote Session Launcher API Key not found for user.
With the previous domain works perfect.
How can I resolve this issue?
Reggards.

Hi there.
Because root is a super user, didn't ask for the current password, only the new password and confirm.
I try run the script manually again modifying the line #73 that you comment:
$ResetCmd = "echo -e '$NewPassword\n$NewPassword' | passwd"
And the script made the change successfully.
Now, testing the script again with a normal account, works well too, so the problem is when modify superuser accounts.

Hi,
Next show you the output about what you suggest:
Executing for Host 'centos7v2.xxxx.xx' at 19/10/2016 08:37:02 a.m..
Success
Changing password for user root.
New password: Retype new password: Sorry, passwords do not match.
New password: Retype new password: Password change aborted.
New password: Password change aborted.
passwd: Have exhausted maximum number of retries for service

Hi there, thanks for your reply.
This is the translated error:
/var/log/secure <==
Oct 18 18:18:11 localhost passwd: pam_pwquality(passwd:chauthtok): pam_get_authtok_verify returned error: Failed preliminary check by password service
Oct 18 18:18:11 localhost passwd: pam_pwquality(passwd:chauthtok): pam_get_authtok_verify returned error: Authentication token manipulation error
Oct 18 18:18:11 localhost passwd: pam_pwquality(passwd:chauthtok): pam_get_authtok_noverify returned error: Authentication token manipulation error
Oct 18 18:18:14 localhost sshd[2004]: pam_unix(sshd:session): session closed for user root
The CentOS version are minimal and I installed a new one only for test the reset script, nothing are configured on the machine.
The script selected for this purpose is "Reset Linux Password" and YES, the Operating System for this Host record in Passwordstate is set to CentOS.
I think the issue can be related with my initial problem, about missing Visual C++ 2013. Is there a way to make a complete uninstall of Passwordstate and do a new clean install?
Regards.