- Introdução
- Compreensão do UiPath Robot
- Requisitos de instalação
- Matriz de compatibilidade
- Requisitos de hardware e software
- Definição das configurações de rede
- Arquivos de configuração
- Instalação de Robôs para automações unattended
- Configuração de Robôs para automações unattended
- Implantação de automações unattended
- Conexão de Robôs para automações unattended ao Orchestrator
- Configurar o Windows Server para robôs de alta densidade
- Redirecionando Robôs por meio de um Servidor de Proxy
- Implementando autenticação com provedores de credenciais
- Configurando a Verificação de Assinatura de Pacote
- Configuração de pastas de pacote e caminhos de rede
- Configuração de feeds de atividades
- Uso de usuários EntraID com autenticação multifator (MFA) para robôs não assistidos
- Instalação de Robôs para automações attended
- Configuração de Robôs para automações attended
- Integrações
- Governança
- Solução de problemas
- Solução de problemas do Serviço de Robôs da UiPath
- Solução de problemas de execução
- Solução de problemas de gravação e controle remoto
- Solução de problemas de rede
- Solução de problemas de conexão
- Solução de problemas de licenciamento
- Solução de problemas de pacotes
- Solução de problemas do .NET
- Solução de problemas de registro em log
- Solução de problemas de sessão

Guia do admin do Robô
Once you edit configuration files, you need to restart the relevant Robot components for changes to take effect. The following list summarizes how to restart several components, based on the Robot installation mode.
Lembre-se de salvar algum trabalho em andamento antes de reiniciar para evitar perder qualquer progresso não salvo.
- Serviço de robôs
- Instalação do Modo de Serviço
- Abra Gerenciador de tarefas > Serviços.
- Procure o serviço
UiPathRobotSvc. - Clique com o botão direito do mouse no serviço e selecione Reiniciar.
- User Mode installation - Quit, then relaunch the Assistant, or:
- Abra Gerenciador de tarefas > Detalhes.
- Selecione o processo
UiPath.Service.UserHost.exe. - Selecione Encerrar tarefa.
- Instalação do Modo de Serviço
- Atualizar Serviço
- Abra Gerenciador de tarefas > Serviços.
- Procure o serviço
UiPath.UpdateService.Agent. - Clique com o botão direito do mouse no serviço e selecione Reiniciar.
- UiPath RobotJS ServiceHost
- Abra Gerenciador de tarefas > Serviços.
- Procure o serviço
UiPath.RobotJS.ServiceHost. - Clique com o botão direito do mouse no serviço e selecione Reiniciar.
- UiPath Assistant
- No UiPath Assistant, selecione Preferências e, em seguida, Sair.
- Reinicie o UiPath Assistant.
- Widgets - Restart the Assistant, or:
- Clique com o botão direito do mouse no ícone do UiPath Assistant na barra de tarefas.
- Select Reload Widgets
UiPath.config contém parâmetros de configuração essenciais para o robô. Como administrador, você pode personalizar o comportamento de seus robôs editando a lista de parâmetros no arquivo de configuração.
Cada ambiente pode precisar de avisos específicos, portanto, o UiPath permite que você aplique diferentes configurações com base no ambiente atual do robô, seja Desenvolvimento, Preparação ou Produção. Sempre tenha cuidado ao editar esse arquivo, pois a configuração imprecisa pode causar problemas de aplicativos.
Acessando o arquivo
UiPath.config.
C:\Program Files\UiPath\Studio\UiPath.config.
Configurações personalizáveis
O arquivoUiPath.config consiste nos seguintes parâmetros:
- In the
connectionSettingsconfig section-
DefaultServiceUrl(string) - Sets the default address the Robot uses to connect to Orchestrator. Example:string DefaultServiceUrl = "https://cloud.uipath.com"string DefaultServiceUrl = "https://cloud.uipath.com" -
AutoSignIn(bool) - Enables the auto sign-in feature for Assistant. Default value isfalse. Example:bool AutoSignIn = true.bool AutoSignIn = true. -
EnforceDefaultServiceUrl(bool) - Enforces the address provided asDefaultServiceUrlto all users. Default value isfalse. Example:bool EnforceDefaultServiceUrl = true.bool EnforceDefaultServiceUrl = true.
-
- In the
communicationSettingsconfig section-
MaxMessageSizeInMegabytes(byte) - Sets the maximum size of a message the system can send or receive, in MB. Default value is10.This is used to prevent overload or process crashes due to handling messages too large. Example:
byte MaxMessageSizeInMegabytes = 10;byte MaxMessageSizeInMegabytes = 10; -
InstallPackageTimeout(TimeSpan) - Sets the time limit for package installations. Default value is 20 minutes.If a package installation takes longer than the defined time, the system aborts the installation. Example:
TimeSpan InstallPackageTimeout = TimeSpan.FromMinutes(20);TimeSpan InstallPackageTimeout = TimeSpan.FromMinutes(20); -
RequestTimeout(TimeSpan) - Defines how long the system waits for a communication response. Default value is 40 seconds.If the system does not receive a response in the set period, it stops and moves forward. This prevents system hang-ups. Example:
TimeSpan RequestTimeout = TimeSpan.FromSeconds(40);TimeSpan RequestTimeout = TimeSpan.FromSeconds(40);
-
- In the
packageSettingsconfig sectionPackagesInstallationFolder(string) - Sets the default directory where packages are installed. Default value isC:\UiPath\Packages.-
SkipHttpConfigurationSources(bool) - Enables the system to ignore package sources configured over HTTP, such as NuGet feeds. Default value isfalse.Isso significa que o sistema não recupera pacotes dessas fontes, o que é útil quando as fontes não são confiáveis ou seguras.
DisableSecureXaml(bool) - Allows the Robot to run potentially unsafe workflows. Default value isfalse.DirectDownload(bool) - Allows direct download of packages, without prompting the user. Default value isfalse.-
PackageSaveWithoutNupkg(bool) - Allows saving the packages without the.nupkgfile. Default value isfalse.Isso é útil para reduzir o tamanho do download.
- In the
analyticsSettingsconfig sectionTelemetry.Enabled(bool) - Allows UiPath to collect and send usage data for analysis. Default value isfalse.
- In the
robotCacheSettingsconfig section-
SessionCacheDuration(TimeSpan) - Defines how long the data from a specific session should be retained in the cache before being discarded. Default value is 30 seconds.This is useful for reusing data such as variable values or details of operations, instead of recreating or refetching it. Example:
TimeSpan SessionCacheDuration = TimeSpan.FromSeconds(30);TimeSpan SessionCacheDuration = TimeSpan.FromSeconds(30); -
GetResourceUrlCacheDuration(TimeSpan) - Defines how long the URLs for resources, such as APIs or webpages, are stored in cache. Default value is one (1) hour.This is useful for optimizing performance in scenarios where your robots need to access certain resources regularly. Example:
TimeSpan GetResourceUrlCacheDuration = TimeSpan.FromHours(1);TimeSpan GetResourceUrlCacheDuration = TimeSpan.FromHours(1);
-
-
In the
robotJsSettingsconfig section-
ListenerPort(int) - Sets the port number on which the Robot.js listens for incoming connections. Default value is2323.This allows the robot service to interact with web applications running on local or remote servers. Example:
int ListenerPort = 2323;int ListenerPort = 2323; -
TokenExpiryInDays(int) - Sets the validity period, in days, of authentication tokens generated by the robot service. Default value is 30 days.The robot service uses these tokens to authenticate itself when interacting with other software components or services. Example:
int TokenExpiryInDays = 30;int TokenExpiryInDays = 30; -
AllowUrlList(string) - Sets the list of URLS that the robot service can access. This helps ensure your robot service only interacts with approved services. Example:string AllowUrlList = "https://cloud.uipath.com";string AllowUrlList = "https://cloud.uipath.com";
-
-
Sempre crie uma cópia de segurança do arquivo original
UiPath.configantes de fazer qualquer alteração. Isso pode ajudar a restaurar as configurações originais se algo der errado. -
Para aplicar as atualizações feitas ao arquivo
UiPath.config, reinicie o serviço UiPath ou o sistema. -
As configurações locais no arquivo
UiPath.configtêm precedência sobre as configurações definidas no Orchestrator. -
Os dados confidenciais no arquivo
UiPath.configpodem ser criptografados para segurança adicional.
O comportamento personalizado adicional pode ser configurado por meio de variáveis de ambiente do sistema.
Depois de modificar qualquer uma das variáveis do sistema, reinicie o Serviço de Robôs da UiPath.
A lista a seguir resume os casos de uso mais comuns:
-
UIPATH_SESSION_TIMEOUT- Changes the default 60-second timeout for creating an interactive session. Adjust this value to adapt the Robot behavior based on the performance and load times of the system it interacts with.Exemplo:
UIPATH_SESSION_TIMEOUT=75UIPATH_SESSION_TIMEOUT=75 -
UIPATH_PIP_SESSION_TIMEOUT- Changes the default 180-second timeout for starting a process in a Robot session.Exemplo:
UIPATH_PIP_SESSION_TIMEOUT=60UIPATH_PIP_SESSION_TIMEOUT=60 UIPATH_LANGUAGE- Sets the language the Robot operates in. The order of precedence is:- Valor
UIPATH_LANGUAGE - Machine environment variable
- Current thread UI culture
- Idioma padrão do UiPath (inglês)
Exemplo:
UIPATH_LANGUAGE=FrenchUIPATH_LANGUAGE=French- Valor
-
UIPATH_HEADLESS_WITH_USER- Uses the credentials of a specific user, which was previously configured in Orchestrator.Exemplo:
UIPATH_HEADLESS_WITH_USER=TrueUIPATH_HEADLESS_WITH_USER=True -
UIPATH_PRE_LOADED_EXECUTOR- By default, a preloaded executor is launched when the Robot starts. To change this behavior and launch the preloaded executor only when the first process runs, set this variable toNone.Exemplo:
UIPATH_PRE_LOADED_EXECUTOR=NoneUIPATH_PRE_LOADED_EXECUTOR=None -
UIPATH_DISABLE_PRE_LOADED_EXECUTOR- Disables the preloaded executor feature.Exemplo:
UIPATH_PRE_LOADED_EXECUTOR=NoneUIPATH_PRE_LOADED_EXECUTOR=None -
UIPATH_ROBOTJS_ALLOWLIST- Automatically accepts the robot consent dialog, when establishing the connection between the Robot JS SDK and the Robot Executor.A variável aceita URLs de aplicativos personalizados, separados por ponto e vírgula. Inclua o número da porta na URL se ele diferir das portas padrão (80 ou 443).
Exemplo:
UIPATH_ROBOTJS_ALLOWLIST=cloud.uipath.com;mydomain.com;UIPATH_ROBOTJS_ALLOWLIST=cloud.uipath.com;mydomain.com; -
UIPATH_DNS_MACHINENAME- Allows using the DNS host name for Localhost when creating RDP sessions. To execute unattended jobs in environments with Kerberos authentication for RDP, set this value to True.Exemplo:
UIPATH_DNS_MACHINENAME=TrueUIPATH_DNS_MACHINENAME=True -
NUGET_FALLBACK_PACKAGES- Configures the paths to fallback packages folders. Use semicolons to separate multiple paths.Na ausência dessa variável, o Robô pesquisa por pastas de pacotes de fallback no arquivoNuget.config. -
NUGET_SCRATCH- Allows multiple User Mode robots on the same machine to share a local path for storing packages.O valor deve ser um caminho diferente da pasta de instalação do Nuget e atua como uma pasta temporária para o NuGet.
Note: Only theNUGET_SCRATCHvariable should use the configured temporary folder.Exemplo:
NUGET_SCRATCH=C:\NuGetTempFolderNUGET_SCRATCH=C:\NuGetTempFolder -
UIPATH_PRESERVE_CREDENTIALS_CASE- Preserves the original casing of logging credentials (domain\username).Exemplo:
UIPATH_PRESERVE_CREDENTIALS_CASE = TrueUIPATH_PRESERVE_CREDENTIALS_CASE = True -
UIPATH_SESSION_BEHAVIOR- Configures the way the session restore behaves after a job completes. The following options are available:TryReuseAndRestoreSession—Opção padrão. Tenta reutilizar a sessão e restaurá-la para o estado anterior após a conclusão da tarefa. Se não houver uma sessão inicial para reutilizar, ela será desconectada na restauração.ForceNew—Cria uma sessão completamente nova, independentemente do estado da sessão anterior. Sempre desconecta ao restaurar.LeaveSessionActive—Impede a restauração do estado da sessão inicial.LeaveSessionDisconnected—Sempre desconecta a sessão ao restaurar.
UIPATH_SESSION_BEHAVIOR = LeaveSessionDisconnectedUIPATH_SESSION_BEHAVIOR = LeaveSessionDisconnected