How to apply an agent based code drop for N-able N-central

Last Modified

Wed Oct 24 15:41 GMT 2018

Description

  • This document describes applying a code update from N-able support.

Environment

  • N-able N-central 10.x+

Solution

  • Manual Steps:
  • Here are the manual steps. Some command line options are below.
  1. Stop the Windows Agent Services via Start > Run > services.msc
    1. ?Windows Agent Service
    2. Windows Agent Maintenance Service
  2. Support will provide you with a .zip containing .dll or .exe files. Open the CodeDropMeta.xml
  3. The CodeDropMeta.xml describes the target locations of the other files within the .zip.
  4. Navigatethe location(s), e.g. C:\Program Files (x86)\N-able Technologies\Windows Agent\bin.
  5. Renamethe existing file(s) which will be replaced to "example.old"
  6. Extractthe new file from the .zip into the target location.
  7. Right click the file and choose Properties, ensure the operating system has not blocked them on the general tab. If blocked, click "unblock".
  8. Restart the agent services.
  9. Test the issue is resolved. If not, please note the time of your test for support.
  • Command Line steps (batch commands):
  • Here are some commands to use to stop services, replace the dll/exe, and start services.
  • Open the command prompt (Run as administrator):
            ::stop n-able agent services on the devicenet stop "Windows Agent Maintenance Service"net stop "Windows Agent Service"::wait for services to stop. This is not needed but included at command line for creating a .bat.ping 111.111.111.111 -n 1 -w 45000::copy new dll payloadcopy /Y [location of good dll] C:\Program Files (x86)\[N-able bin folder, typically: N-able Technologies\Windows Agent\bin\]::restart n-able agent so it checks in to the correct addressnet start "Windows Agent Maintenance Service"net start "Windows Agent Service"