Getting back in to the AuthAnvil Manager after being locked out

Don’t worry, you’re not alone. It’s happened plenty of times before. You are the only AuthAnvil administrator for your organization and something’s happened to your token. You may have lost your keys, forgotten to back up your iPhone before upgrading, or dropped your YubiKey down the storm drain in the parking lot. Now, you have no way of getting into the AuthAnvil Manager to assign yourself a new token. That’s where the AuthAnvil Management Console comes in. Using your Master Admin password, you can use the Console to access AuthAnvil Two Factor Auth and assign yourself a temporary password in order to regain access to the Manager. From there, you can assign yourself a new token and get back to work. Here’s how you do it:

1. Log on to your AuthAnvil Two Factor Auth server using your preferred remote access solution (Remote Desktop, LogMeIn, etc.), and load up PowerShell as an administrator. You’ll need PowerShell 2.0 or later to complete this process. If you’re not sure which version of PowerShell you have, check the copyright date in the PowerShell console. If it’s 2009 or later, you’re good to go.

2. Run the command Set-ExecutionPolicy Unrestricted This will allow you to run unsigned scripts, such as the AuthAnvil Management Console.

3. Navigate to the script directory by running the command cd "C:\Program Files\Scorpion Software\AuthAnvil\AuthAnvilTools"

4. Start the management console using the command .\AuthAnvilManagementConsole.ps1

5. The console will connect to the AuthAnvil Two Factor Auth web services, and since you are connecting to the local machine, it will give you the option to log on as either a site admin or a master admin. You’ll log on as a master admin, and provide the master admin password that you set up when you installed the Two Factor Auth server. If you have trouble logging in, check out this Knowledge Base article for advice.

Note: To prevent outside attacks, Master Admin logins are allowed from the Two Factor Auth Server itself only. That’s why we need to do this from the server’s desktop.

6. Once you’re successfully logged in, select option 1 (Manage Users) from the menu, then option 2 (Modify User) from the next menu. Finally, type in the user’s username and hit enter.

7. From the user menu, select option 3 to set a temporary password, enter and confirm it, and hit any key to continue once it is successfully set.

Now, you’re good to go. You can close the Management Console, log into the AuthAnvil Manager, re-assign yourself a token and continue with your day.



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



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