If you are reading this guide prior to November 2021, please not that a fully silent install is not possible with the MFA client and when the user logs on they will be prompted to click OK and Close to finalise installation, if the customer is not happy with this they can use the Entrust identity essentials client instead of our own. The upgraded version of the Censornet MFA client will be available end of October 2021 


EDC client: https://www.entrust.com/-/media/identity-essentials/28826/EntrustIdentityEssentials-2021-SP2.zip


A slient install is carried out using Powershell scripts. These scripts are included at the bottom of this article as attachments. The purpose of these files are:


  • Install-Smspc.ps1 - Used for unattended install (or to modify and existing installation unattended)
  • Uninstall-Smspc.ps1 - Used for an unattended install


If you want to deploy the MFA client with a config file, the script for doing so is below


Please note that in the example code given, some things will need to be changed


ComputerName - by default it should be set to %computername%. This means the client will use the hostname of the computer it is being installed on


Script Block - location of the scripts


$AllArgs - this is the location of the config file that you will need to import into your SMS PASSCODE Configuration Tool


To obtain a config file, one MFA client needs to be configured manually and set up in a desired way. Once this is done, navigate to Import/Export on the SMS Passcode Configuration Tool to export the config file



Below is the Powershell command


$Parameters = @{

    ComputerName = "%computername%"

    ScriptBlock = {C:\Users\Administrator\Desktop\SilentInstall\Install-Smspc.ps1 -SharedSecret 'I_Am_Not_Going_To_Be_Used_But_Have_To_Be_Here' -InstallProtection WindowsLogon -Action Execute -FilePath C:\Users\Administrator\Desktop\CensornetMfa-2020-SP1-x64.exe}

}

 

Invoke-Command @Parameters

 

 

$AllArgs = @('-import:"C:\Users\Administrator\Desktop\test.xml"', '-quiet’)

$Configtool = & 'C:\Program Files (x86)\Censornet MFA\config.exe' $AllArgs

$Parameters = @{

    ComputerName = "%computername%“

    ScriptBlock = {$Configtool}

}

Invoke-Command @Parameters