A transfer fails with message “XCOMN0287E Error setting remote user id”
One of the parameters passed to function LogonUser() is the type of logon requested. XCOM requests an interactive logon from Windows (LOGON32_LOGON_INTERACTIVE, also known as "Logon locally") which is the same as, for example, a human user logging on via the keyboard. The user specified in the transfer request needs to be allowed this type of logon in order to be used with XCOM.
Also please see related KB article:
XCOMN0287E Error setting remote user id