Windows runner and external script, job gets stuck

Hi,
I’m working with Gitlab CI and windows runner and I want to automate a desktop application.
I have used AutoIt and when I run the .au3 script file or the compiled .exe file from .gitlab-ci.yml, the job gets stuck.
I think I can’t use a graphical interface with Gitlab CI.
I tried to run the application from the script and also have the application open and the script only controls the inputs.
Is there any solution?

Solved.

I download psexec and then I’ve run the program like this:
psexec \\[domain] -u [admin] -p [password] -accepteula -h -i [program]

Could you let me know where are you trying to automate the desktop application using GitLab?