Sym Agents are not able to download packages via HTTP
search cancel

Sym 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

Why are Sym Agents 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

ITMS 8.x

Cause

The AeXNSAgent.exe is missing needed 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 this with 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)