Error 0x80070057. Cannot install AePAgent. Cannot start service. The parameter is incorrect. (source=AePwd.PwdInstEx.1).

i'm working on my test lab but stuck with this error. not sure which part was wrong. Both source and target domain was established with trust (validate in place). as i also already disable SID filtering in both dc.

Domain acc used for domain pairing is set on Administrators group in mmad sever. No AV was installed and firewall is disable.

source dc is window server 2012 r2 and target dc is windows server 2016

even with SID History untick, the session still failed. 

Anyone know what is wrong here?

Top Replies

Parents Reply
  • i did check on regedit:HLKM>Software>Aelita>MIgration Tools>Current Version>Password Agent, 'AllowAccess' key and 'PreInstalledMode' key is there.

    Ok, this is your issue. You used a x64 version to PowerShell to run the EnablePreinstalledMode.ps1 script. The documentation clearly states you need to use the x86 version of PowerShell to run this script on the DSA server. 

    The key should really been visible in regedit:HLKM\SOFTWARE\WOW6432Node\Aelita\Migration Tools\Current Version\Password Agent key 

Children