Run robot/Script without login in to computer using Windows Task Scheduler

Step 1:Open Notepad
Step 2: “C:<Users>\AppData\Local\UiPath\app-20.10.0-beta0511\UiRobot.exe” -file “C:\Users<Users>\Documents\UiPath\test\test.1.0.1.nupkg”
Step 3:Save it as batch file ( Sample.bat )
Step 4: Open Task Scheduler & Create task and point it out to batch file.
select Option :
----Run whether user is logged on or not

image

Problem :- Task Scheduler runs but script dose not get executed, but script get executed when
“Run Only when user is logged on” option is selected when creating task Scheduler

Do you run batch and TaskScheduler as Administrator?

Yes, It works when I run TaskScheduler manually but when i try to Schedule it and my windows user is not logged in (Machine is restarted and user has not logged in ) and task scheduler runs but script dose not get executed.

All you need is described here:

Cheers

1 Like

Dose this solution work with Web script, Where we launch the browser and do some scraping OR download ? because I am trying to run web script which gives error in logs file as “Cannot communicate with the browser, please check the UiPath extension.”

It should indeed. I use this on daily basis wihtout any problem. The fact is that I still use IE browser.

Cheers

It Works with IE but not with other browsers

And also not working with Notepad OR desktop app

Well. We use this approach with practicaly any app, including Notepad.
So the problem must be set-up.

Cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.