Recently 'Move Folder' issues an error: Access to the path is denied

The automation has been working well many times for more than 2 years, but recently I get a ‘Move Folder’* exception in every use, which says:

Access to the path ‘{a path to one of the subfolders}’ is denied.
I tried to use 2 activities instead, CopyFolder and then DeleteFolder, the Copy works fine but then the Delete issues a similar exception similar to the MoveFolder.

  • UiPath.Core.Activities.MoveFolderX

Thanks for any advice

@Udiar

As per error looks like the folder is locked or user does not have access

Or there is a file that in use in folder

Cheers

@Udiar,

It could happen due to operating system update. If you are storing something temporary, better to use a folder directly on C drive or anything else which is not user specific.

These user specific folder could result in such errors.

Thanks, I’ve checked these options and found out that non of them is the issue in my case.