Executing Robots with screen unlocked

Hello guys, I’m running a robot using windows task scheduler and I want to add an argument to pass if the computer is locked.

Before I ran once and it worked the below script:

Parameters in Action :
Program/Script - “C:\Program Files (x86)\UiPath Studio\UiRobot.exe”
Additional Arguments - /file:“C:\Users\nilekhar\Documents\Training\CommandPrompt\Main.xaml” /monitored /cc /preferConsole

But for some reason now when I see the event viewer the log messages is that couldn’t find part of the path.

Do you have any ideas?

I don’t want to use orchestrator, as I know that this what they’re offering to schedule.


Give your Argument as -f “C:\Users\nilekhar\Documents\Training\CommandPrompt\Main.xaml” --monitor