How to maintain the storage locations of a Robot? There is lack of space on the C: Drive where the BOT is storing the NuGet Packages. It needs to be determined how to configure to move this to the another Drive as the BOTS used up a lot of storage.
By default, the local nuget storage location is %userProfile%\.nuget\packages. This folder can grow in size and on a computer with limited resources, it can create storage issues.
In order to address this scenario, follow either of the below approaches:
In order to address this scenario, follow either of the below approaches:
- Upon installing the Robot/Studio product via CLI, use the Packages_Folder parameter to change the download location of the workflows and their dependencies. Read more on the Command Line parameters page
- If Studio/Robot are installed already, modify the package folder location from the configuration files. For instructions on how to do that, read the Custom package folders page
- Robot log files are also stored locally, which can consume storage space. You can change the destination of these logs, as explained in the Robot Logs page.
Note: Restart the UiPath Robot service (Type: services.msc in the run command -> Search for UiPath Robot) after making any of the above changes.
- Deleting local package folders - this should be performed whilst no job is running on the computer. UiPath is not responsible for restoring the deleting package folders or if the deletion fails. Local storage management falls under the accountability of the hardware owner. Default locations used by UiPath:
%programdata%\UiPath
%localappdata%\UiPath
%userprofile%\.nuget
%localappdata%\UiPath
%userprofile%\.nuget
- Starting with Studio v 23.4, separate the dependencies in two categories: design time and runtime dependencies. Using runtime dependencies decreases the overall size of the workflow package. Read more about it on the Release notes for 23.4.