How Do I Install and Configure the AeroFS Attachment Manager for Microsoft Exchange Server 2013?

The AeroFS Attachment Manager allows for easy management of large and small email attachments. It does so by automatically stripping out attachment content, placing the content in AeroFS, and replacing it in the original email using a secure AeroFS link. This is accomplished using a server-side plugin for Microsoft Exchange. No client-side or end-user configuration is needed.

This article describes how to install this plugin for Microsoft Exchange 2013.

Enabling Legacy Runtime Activation on Microsoft Exchange 2013

For AeroFS AttachmentManager to work, the Exchange server needs to enable its support for legacy runtime. To enable legacy runtime activation:
  1. Go to C:\Program Files\Microsoft\Exchange Server\V15\bin or to the same location relative to where your Exchange Server is installed.
  2. Edit EdgeTransport.exe.config in notepad.
  3. Either locate a block labelled startup or create one right before </configuration>.
  4. Edit the block to the following:
    <startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v4.0"/>
        <supportedRuntime version="v3.5"/>
        <supportedRuntime version="v3.0"/>
        <supportedRuntime version="v2.0"/>
  5. Open Exchange Management Shell and run the following command to restart Exchange:
    Restart-Service MSExchangeTransport

Installing AeroFS Attachment Manager

  1. Go to your Appliance Management Interface.
  2. Under Settings click on Email Integration.
  3. Download the zip file for Microsoft Exchange 2013. You may need to unblock the file by right-clicking on the downloaded zip file -> Properties -> Unblock this file.
  4. Extract the content from the zip file. Verify that AttachmentManager2013.dll is not blocked.
  5. Copy AttachmentManager2013.dll to C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\agents\AeroFS or to the location your Exchange Server is installed.
  6. Open the Exchange Management Shell and run the following command to install AeroFS Attachment Manager.
        -Name "AttachmentManager"
        -TransportAgentFactory "AttachmentManager.Factory"
        -AssemblyPath "C:\Program Files\Microsoft\
         Exchange Server\V15\TransportRoles\agents\

Configuring AeroFS Attachment Manager

  1. The zip file contains a file named Configure.reg. Double-click on or run Configure.reg to populate the Windows registry with the default configuration.
  2. Open the Windows Registry Editor (regedit.exe).
  3. Locate the key HKEY_LOCAL_MACHINE\Software\AeroFS\AttachmentManager and edit the values.
    • Domain should be set to the domain of the AeroFS Appliance, e.g.
    • AccessToken needs to be created. First, create an AeroFS user that will store all the attachment data content. Log onto AeroFS as this user, click the email address at the top right to go to Settings, then click Show Advanced Options. Last, click Create a New Access Token. Your token will be displayed, and this is what you should set as the value for AccessToken.
    • Threshold is the minimum size (in bytes) an attachment must exceed for it to be replaced by a link. Setting Threshold to 0 will instruct AttachmentManager to replace all attachments with links.
    • LogLevel is the logging level for the AttachmentManager. The supported log levels are "DEBUG", "INFO", and "WARN". It is recommended to set the log level at "INFO". Your logs are located at C:\Windows\ServiceProfiles\NetworkServices\AppData\Local\AeroFS.
  4. Open the Exchange Management Shell and run the following command to enable the Attachment Manager.

    Enable-TransportAgent -Identity "AttachmentManager"

  5. Next run the following command to restart the Microsoft Exchange.

    Restart-Service MSExchangeTransport

Important Notes

  • The attachments will only be replaced by AeroFS links if the sender is an AeroFS organization member and the size of the attachment is greater than or equal to the threshold size limit set by the administrator during configuration.
  • The Microsoft Exchange Server needs to be able to communicate with the AeroFS appliance over port 4433.

Uninstalling AeroFS Attachment Manager

If you'd like to uninstall the Attachment Manager, please refer to our article on uninstalling the AeroFS Attachment Manager.

Powered by Zendesk