Please download and unzip the attached zip file on any of your servers running the Mi-Token RADIUS plugin or the Mi-Token API Service.
This tool will allow you to create and assign temporary tokens for a given user.
Syntax
MTTempTokenGenerator.exe -user userName -expirationminutes minutes [-port portNumber]
Mandatory parameters:
-username userName -expirationminutes minutes
where userName is the samAccountName of the desired user, minutes is the time the temporary token will be valid in minutes, tt must be greater than or equal to 1, and you can have a token valid up to 31 days (44640).
Optional:
-port portNumber
You can use this parameter if the Mi-Token instance was installed using a different port (the default port is 5000).
Examples:
MTTempTokenGenerator.exe -user gil -expirationminutes 44640
Sample output:
The generated token is visible in the Temporary Tokens folder of the AD UI tools window as shown:
Required libraries
The program requires the server to have the .Net Framework 6.0 runtime installed. If it is not present, you can get it from here: