Modules
Sign in
Get Help

Running Management Console script throws a RuntimeException error

Issue

When running the Management Console in PowerShell, the script throws the following error:

File C:\Program Files\Scorpion Software\AuthAnvil\AuthAnvilTools.AuthAnvilManagementConsole.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details.At line:1 char:33+ .\AuthAnvilManagementConsole.ps1 <<<<    + CategoryInfo          : NotSpecified: (:) [], PSSecurityException    + FullyQualifiedErrorId : RuntimeException

 

Cause

By default, PowerShell is not allowed to run ANY scripts.  This prevents the Management Console from working.

Resolution

The AuthAnvil Management Console is a script signed by a trusted publisher.  Run the following command to allow scripts signed by trusted publishers:

Set-ExecutionPolicy RemoteSigned(The default execution policy is set to "Restricted")

For more information about running PowerShell scripts, see this TechNet article: http://technet.microsoft.com/en-us/library/ee176949.aspx

Affects

AuthAnvil Two Factor Auth v4.0 and later

Questions?

If you have any questions or need some help, we would be happy to assist. Open a case at help.scorpionsoft.com or send an email to support@scorpionsoft.com.

Have more questions?

Contact us

Was this article helpful?
0 out of 0 found this helpful

Provide feedback for the Documentation team!

Browse this section