How to manually register the license for Premium AntiSpam with Symantec Mail Security for Microsoft Exchange (SMSMSE)


Article ID: 177123


Updated On:


Mail Security for Microsoft Exchange


SMSMSE requires a separate license to enable Symantec Premium AntiSpam (SPA). This article provides a walkthrough on how to manually register the license for SPA.

NOTE: Registering the SPA license requires Internet access on port 443.


There are some Microsoft Exchange environments where direct Internet access is not available or you need to manually register the license.


For Symantec Mail Security for Microsoft Exchange (SMSMSE) versions 7.5.1 and later:

The following process leverages Windows PowerShell version 4.0 and later.  Windows Server 2008 R2 has PowerShell version 2.0 installed by default.  Powershell needs to be updated on the system prior to running this script. See:

Note:  To check the current powershell version run the following powershell command:  $PSVersionTable.PSVersion  (Major.Minor is the version)

Steps to run script:

  1. Download the PowerShell script (RegisterAS.ps1) attached to this article.
  2. Right-Click RegisterAs.ps1 and choose "Run With PowerShell"
  3. Follow the on-screen instructions to specify the required information.

Note:  After clicking "Run With PowerShell" if Administrator is not listed in the title bar you will need to launch PowerShell as administrator.  Then navigate to the script location and run the script using .\RegisterAS.ps1.



 What's happening behind the scenes

This script automates the following steps:

1. CD to the SMSMSE installation directory.
2. Run the following command:

register -c SpamPrevention\bmiconfig.xml -L SpamPrevention\SPAlicense.slf

3. Set the value of the registry key HKEY_LOCAL_MACHINE\Software\Wow6432Node\Symantec\SMSMSE\<version>\Licensing\SpaRunRegister to zero.




RegisterAS.ps1 get_app