Verify User Permissions for the <Agent_Home> Directory

The user account that runs the IIS worker process must have the correct user permissions for the files in the <Agent_Home> directory. The user account must also have access to Performance Monitor counters for the .NET agent to function properly. By default, the installer grants read access to Everyone on the <Agent_Home> directory. When you want to restrict access to this directory, modify the default permissions. Allow only the user accounts that run the IIS worker process to access the <Agent_Home> directory. 
apmdevops106
The user account that runs the IIS worker process must have the correct user permissions for the files in the 
<Agent_Home>
 directory. The user account must also have access to Performance Monitor counters for the .NET agent to function properly. By default, the installer grants read access to Everyone on the 
<Agent_Home>
 directory. When you want to restrict access to this directory, modify the default permissions. Allow only the user accounts that run the IIS worker process to access the 
<Agent_Home>
 directory. 
Follow these steps:
  1. In Windows Explorer, right-click on the root .NET agent folder and select 
    Properties
    .
  2. Click the 
    Security
     tab.
  3. Click 
    Add
    .
    The Select Users or Groups dialog is displayed.
  4. Type all or part of the user name in 
    Enter the object names to select
    .
  5. Click 
    Check Names
     to search for one or more matching user names.
  6. Select the appropriate user account, then click 
    OK
    .
    The 
    Permission Entry
     dialog displays.
  7. Underneath 
    Full Control
    , verify that the user has selected 
    Allow
    Enabling Full Control provides the user with permissions to Modify, Read & Execute, List Folder Contents, Read, and Write.
  8. Click 
    Advanced
    .
    The Advanced Security Settings dialog is displayed.
  9. Select 
    Replace permission entries on all child objects
     with entries shown here that apply to child objects to propagate permissions to the child directories. Click 
    OK
    .