search cancel

Agents are not able to download packages via HTTP

book

Article ID: 173599

calendar_today

Updated On:

Products

IT Management Suite Task Server

Issue/Introduction

Agents are not able to download packages via HTTP

The Agent gets the following error message when requesting Snapshot from the Package Server:
Download Snapshot failed: Failed to create NS Client component. Error number: 46. Error description: Permission denied (70)

Environment

8.5 +

Cause

The AeXNSAgent.exe is missing User permissions

Resolution

Browse to the AeXNSAgent.exe on the Package Server and add ServerName\Users with Read and Execute permissions.

You may be able to run a scripted task to accomplish the following using icacls command:

for /f "tokens=2,*" %%a 
 in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\"  /V InstallDir  ^|findstr /ri "REG_SZ"') 
do set DIR=%b
 icacls "%DIR%" /remove *S-1-5-32-545:(RX)

for /f "tokens=2,*" %%a 
  in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent" /V InstallDir ^|findstr /ri "REG_SZ"') 
 do icacls "%%b" /grant *S-1-5-32-545:(RX)