Access to the path 'C:\Program Files\UiPath\Studio\Packages\system.componentmodel.annotations.4.7.0.nupkg' is denied

I cant install the microsoft activities

@Nathan_Betters1 What is your studio version

@Nathan_Betters1

You can do few checks

  1. Open Studio in Run as Administrator and see if you are facing the same issue
  2. Check you have the local access to the folder which it is showing in the screenshot

Check below link for your reference

Hope this may help you

Thanks,
Srini

Can you try this approach and let us know the results?

  1. Go to "C:\Program Files\UiPath\Studio\Packages"
  2. Open a cmd.exe as Administrator in that path
  3. Execute

icacls .\*.nupkg /grant "Users":(OI)(CI)M

This should enforce the inheritance of permissions from the upper level (Packages folder) for the Users group.

  1. If the above didn’t help, try to run this command:
FOR /R "C:\Program Files\UiPath\Studio\Packages" %G IN (*.nupkg) DO icacls "%G" /grant:r Everyone:F

This command grants “Full Control” permissions to the “Everyone” group for all .nupkg files located in the "C:\Program Files\UiPath\Studio\Packages" directory and its subdirectories.


In Studio/Robot 2023.4.1, was fixed this bug: “A permission issue on the NuGet local packages feed sometimes occurred.”

https://docs.uipath.com/studio/standalone/2023.4/user-guide/release-notes-2023-4-1#bug-fixes

The installer can be found here: https://download.uipath.com/versions/23.4.1/UiPathStudio.msi

2 Likes