Error: cannot access UI Automation DLLs

Hi, I am testing my unattended automation runs from Orchestrator. Lately, I find that sometimes, after testing from Orchestrator, when I launch UiPath Studio on the dev machine and try to Debug, I get this error when doing a UI Automation activity such as Start Process - E.g.
Start Process: Error: cannot access UI Automation DLLs [C:\Users.….nuget\packages\UiPath\23.4.62.63011\build\UiPath]. In case you have an antivirus running, try either whitelisting the folder or temporarily disabling the antivirus.

I can get around this by going to Control Panel → add or remove programs → UiPath Studio → Modify, and get the installer to “reinstall” again. However, am just wondering what might be causing this?

Thanks

@wendy.pang

Looks like the files or folders are being locked…

or the path variables are changing…can you check on the same

cheers

Hi

It’s possible that some dependencies or DLLs used by UiPath are not correctly loaded or are being blocked by antivirus software. The error message suggests that UI Automation DLLs are not accessible.
Temporarily disable your antivirus or anti-malware software to see if it resolves the issue, as Certain security software can interfere with the functioning of UiPath or block access to DLLs.

Remember that antivirus software is an essential security measure, and disabling it for an extended period is not advisable. Instead, aim to configure it to work harmoniously with UiPath by excluding UiPath-related directories or files from scans.

Cheers @wendy.pang