How to make UiPath Assistant to stay in System tray and not launched as UI application, when server is started/rebooted?

Starting from UiPath Robot [fresh installation or upgrade] v 20.4.x, when the Windows servers are restarted or rebooted, UiPath Assistant launches as Desktop application. How to make sure that UiPath Assistant should only show as icon in System Tray but does not launch as a Desktop Application/UI on Windows Login?

Starting from UiPath Robot [fresh installation or upgrade] v 20.4.x, when the Windows servers are restarted or rebooted, UiPath Assistant launches as Desktop application. How to make sure that UiPath Assistant should only show as icon in System Tray but does not launch as a Desktop Application/UI on Windows Login?

When the Robot is installed or upgraded from lower version to 20.4.x or later version, if the option for Automatically start Client is selected then this flag is responsible for making the UiPath Assistant as startup apps, which would make UiPath Assistant to get launched on every Windows restart / reboot.

Reference:

Automatically start Client option is disabled by default, when the fresh installation for Robot is performed and unless this option is manually selected - UiPath Assistant will not be started on System launch/ reboot, as mentioned in below UiPath Studio MSI Installation .

Resolution: To enable or disable UiPath Assistant from opening on Windows start-up, below are the 2 approaches:

Approach #1: Change Startup Applications

In order to make any application as Windows startup apps or remove them from being a startup app, refer the Microsoft blog - Change Which Apps Run Automatically At Startup In Windows for guidance to check the application in Windows Startup Apps or by using below steps,

  1. Change the startup state of the application
1.png
  1. Press the Windows logo key + R , type: shell:startup , then select OK . This opens the Startup folder
  1. Right click the UiPath Assistant shortcut and choose Properties
  1. Set the Run state to Minimized like shown in above screenshot
  1. Add "--startup" in the target as shown below

2.png




Approach #2: Re-run the same msi or exe installer

If the same installer is triggered we can select the option to change and modify only Automatic start client option and other settings would be taken care as they were before, hence there will not be any impact on the existing setup, apart from UiPath Assistant will no longer launch at Windows startup application.

Note: Above links will be useful when the UiPath Assistant needs to enabled or disabled as a start-up application. However, in order to have UiPath Assistant as startup application but launch only in system tray and not as desktop UI, follow below steps :

  1. Disable UiPath Assistanct from Start-up using any of the above approaches
  2. Run a powershell script which can be set to run on every windows restart or reboot. Below is the sample powershell script which starts UiPath Assistant in System Tray :
  • Start-Process -FilePath "${env:ProgramFiles(x86)}\UiPath\Studio\UiPathAssistant\UiPath.Assistant.exe" -WindowStyle Hidden .

2 Likes