Windows scheduler

I’ve got an issue about Windows Scheduler and I would be appreciate for any tips. I wrote a bat file which starts my UiPath process. I set windows Scheduler to open this file. After executing I can see on UiPath robot that the Uipath process is getting started but it looks like nothing has happened.When I AM executing bat file all works fine
Does anybody know if the problem is that UiPath doesn’t support Windows Scheduler or the cause is different?
Thank you in advice