Symantec Mail Security for Microsoft Exchange installation fails with the error "Failed to verify user has mailbox" or "Failed to install SMSMSE transport agents"
When a group policy is configured for “Allow only signed scripts” OR another policy to block the Remote PowerShell execution, the SMSMSE installation will fail. As SMSMSE uses different PowerShell scripts during the installation process like checkMailbox.ps1, setRbacUser.ps1, script execution would fail as a result of execution policy restrictions and hence the installation will also fail. This behavior is documented in Error: "Failed to verify user has mailbox, exit code 100" when installing Symantec Mail Security for Microsoft Exchange to a server within a Windows Server 2008 domain.
Various other underlying problems can cause these errors to occur, but the mechanism built in to 7.5 and later will bypass all possible root causes as well.
With SMSMSE 7.5 and later, the SMSMSE Installer can be run from command line to bypass script execution and seperate any possible script execution errors from the installation of the main service. If this method is used, the steps normally completed by scripts must be executed manually as described in the Post Installation steps.
To bypass script execution during installation of SMSMSE:
Post installation steps:
Once the installation is successful verify that the transport agents are installed properly and application impersonation rights are given to the SMSMSE service account user.
To Verify/Install the transport agents manually:
Once all above commands are run the transport agents for SMSMSE will be installed and enabled.
Uninstalling/upgrade SMSMSE:
Note that if SMSMSE installed and configured using this method, please uninstall the SMSMSE transport agents manually if they are installed using above mentioned commands, because the underlying failure condition in installation can also affect the ability to uninstall successfully.
Once these steps are complete SMSMSE can be safely removed using the Programs and Features control panel.