It is a 2 Step Process
Step 1: Create a windows Task in Task scheduler
Invoke this in task e.g. "C:\Program Files (x86)\UiPath\Studio\UiRobot.exe" Pass xaml path as argument e.g. /file:"C:\Users\<username>\ScheduleJobs\BOT.xaml" [ Note the xaml path location preferably should be in the <username> profile folder for full access]
Step 2: Setup Credential
Open Windows Credential Manager : Choose
Windows Credentials and add a** new
Generic Credentials** with the following format
- Internet or network address: UiPath:user=domain\username
- User name: domain\username
- Password: Your user’s password