A transfer fails due to the xcompp.bat failing with message "OpenWindowStation failed. Err:5(Access Denied).
XCOM™ Data Transport® for Windows
An XCOM trace shows the user doesn't have the correct permissions for xcompp.bat processing.
Make sure to have the following setup:
See online documentation:
Create the CA-XCOM-Batch-Interactive Group
Use the Processing Scripts
When Windows NT came out, it allowed popups from services. They were displayed on the active logon session. As pointed out, this is a potential security exposure and Microsoft implemented proper controls as of Windows 7. All services use Windows station 0, WinSta0. With XCOM’s implementation, we wanted to satisfy two customer requests:
1. Spawn child processes which run beyond the duration of the XCOM transfer
2. Offer interactive dialogues for the purpose of debugging scripts
The initial solution was
- search among the logged on users, and if there is a match with the XCOM transfer user, use that session for interactive displays.
- create an entry in WinSta0 if the XCOM userid is not logged on and leave the entry beyond the XCOM transfer.
The latter case created a new ACE for every transfer. The system would eventually run out of storage and often needed to be re-booted. At this point, the CA-XCOM-Batch-Interactive group helps. If a user is defined in that group, XCOM creates the ACE for that user only once and then re-uses it for subsequent script processing for that user.