Administer RPA as service
Run RPA as service
To run RPA as a service, without logging in Windows, you can use the AlwausUp software. The software is not free and has a trial version for 30 days. With AlwaysUp, you can use RPA as service in RDP session 0 in Windows. The approach was tested (RDP-in-RDP option, too), and no issues were found.
To run RPA as a service, do as follows:
Download and install AlwaysUp, if needed.
Run AlwaysUp, and select Application > Add to open the Add Application window.

On the General tab in the Application field, enter the full path to the batch file, for example:
C:\RPA\wfagent\bin\wfagent-hub.batOn the General tab in the Start in directory field, enter the full path to directory where you batch file should be started, for example:
C:\RPA\wfagent\bin\On the General tab in the Name field, enter the name that you will call the batch file application in AlwaysUp (for example, wfagent-hub).

On the Logon tab, click on three dots next to the User Name field, enter your Bot relay username and click Check names.

On the Logon tab in the Password field, enter the password for your Bot relay user.

On the Extras tab, select option Prevent the computer from automatically going to sleep.

Click Save. In a couple of seconds, the wfagent-hub application shows up in the AlwaysUp window.
To run the wfagent-hub application, right-click the application and select Start "wfagent-hub".

As a result, the batch file is running in Session 0. Next time, when your computer loads, the batch file will be launched immediately, before anyone logs on.
Restart RPA as service
- Open Services (services.msc).
- Find the WFSvc service, right-click on it, and press Stop.

tip
If the Stop button is disabled, wait a couple of minutes and right-click on WFSvc again.
- After the service is successfully stopped, right-click on WFSvc, and press Start. The service will start running again.
