Move File: Access to the path is denied. (HELP)

Hello everyone, I’m having this problem with access to the path is denied, I’ve already tried a few things like fixing the folder properties and checking the .nuget

but it didn’t work.

This is the message that appears in the logs

at UiPath.Studio.Plugin.Workflow.Shared.Project.ProjectTypes.WorkflowProjectModelBase.AssemblyInfo.GetVersion(), HResult -2146233033
16:41:38.0997 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [69] Move File: Access to the path is denied.

Hi @gustavo.souza

  • Ensure that the file or folder you are trying to access or modify has the correct permissions.
  • Right-click on the file or folder and select “Properties.” In the “Security” tab, make sure that the user account you’re using has the necessary permissions (Read, Write, Modify, etc.).
  • The files and folders involved in your project are not marked as “read-only.” Right-click on the file or folder, go to “Properties,” and uncheck the “Read-only” attribute if it’s selected.


Looks like the files are curropted may be…check by restarting

also better to check fi there are any temporary files created and delete them


1 Like

Hi @gustavo.souza

The error message you’re encountering, “Access to the path is denied,” typically indicates that the UiPath process or workflow is attempting to access or modify a file or folder for which it does not have the necessary permissions. To resolve this issue, you can follow these steps:

  1. Run UiPath as Administrator:

    • Right-click on the UiPath Studio or Robot shortcut.
    • Select “Run as administrator” to ensure that UiPath has the necessary permissions to access the file system.
  2. Check File/Folder Permissions:

    • Ensure that the file or folder you’re trying to access or modify has the correct permissions. Right-click on the file or folder, select “Properties,” and navigate to the “Security” tab to verify permissions.
  3. Verify Robot Permissions:

    • If you’re running a robot on a remote machine, ensure that the user account under which the robot is running has appropriate permissions to access the necessary files and folders.
  4. Check Antivirus or Security Software:

    • Sometimes, security software can block access to certain files or folders. Make sure that your antivirus or security software isn’t preventing UiPath from accessing the path.
  5. Check Robot Service Account:

    • If you’re using Orchestrator to run robots, verify that the Robot service is running under an account with sufficient permissions to access the required paths.
  6. Use Try-Catch Activities:

    • In your workflow, you can add “Try-Catch” activities to catch exceptions related to file system access. This can help you handle the error gracefully and potentially log more details about the issue.
  7. Check for Locked Files:

    • Ensure that no other process or application has locked the file or folder you’re trying to access, as this can also result in “Access denied” errors.
  8. Log More Details:

    • If the issue persists, consider adding logging activities in your workflow to capture additional details about the error, such as the file path and the user context in which the error occurs. This can help diagnose the problem more precisely.

By following these steps, you should be able to identify and resolve the “Access to the path is denied” issue in UiPath.


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.