LogonUser to remote machine fails with error 1326.

Just try to login to the remote via explorer and when you asked for credentials don’t forget to click save.