Wolfram Computation Meets Knowledge

Where does Wolfram store its license information?


The Wolfram application stores its license information, consisting of the machine name, Machine ID, activation key and password, in a text file named “mathpass”.

You may need to locate your mathpass file in order to reset your Wolfram license by hand or look up any of the above licensing details.

Looking Up Licensing Information from Within Wolfram

Evaluate FilePrint[$PasswordFile] to obtain the content of the mathpass file that this instance of Wolfram is referencing.

Where to Find the Mathpass File

In your respective operating system, please open your mathpass file using a basic text editor.

Windows

The mathpass file is at one of the three following locations:

  • C:\ProgramData\Wolfram\Licensing\mathpass
  • C:\Users\<user>\AppData\Roaming\Wolfram\Licensing\mathpass
  • C:\Program Files\Wolfram Research\Wolfram\<version>\Configuration\Licensing\mathpass

where <user> is your username on the computer and <version> is the version number of the Wolfram application.

You may need to adjust a setting to show hidden files.

macOS

The mathpass file is located at one of the following locations:

  • /Library/Wolfram/Licensing/mathpass
  • ~/Library/Wolfram/Licensing/mathpass

These files may be hidden on your computer. To navigate to a hidden folder, open the Finder application. Press Command + Shift + G to open a file search dialog and enter “~/Library/Wolfram/”. Finder opens the hidden folder.

Linux

The mathpass file is located at one of the following locations:

  • /usr/share/Wolfram/Licensing/mathpass
  • ~/.Wolfram/Licensing/mathpass
  • /usr/local/Wolfram/Wolfram/<version>/Configuration/Licensing/mathpass

where <version> is the version number of the Wolfram application.

On Linux you may need to show hidden files using Control + H.

Is this article helpful?
Yes
No

Any comments?

Thank you for your feedback.

Submit

Contact Support

Whether you have a question about billing, activation or something more technical, we are ready to help you.

1-800-WOLFRAM (+1-217-398-0700 for international callers)

Customer Support

Monday–Friday
8am–5pm US Central Time

  • Product registration or activation
  • Pre-sales information and ordering
  • Help with installation and first launch

Advanced Technical Support (for eligible customers)

Monday–Thursday
8am–5pm US Central Time

Friday
8:30–10am & 11am–5pm US Central Time

  • Priority technical support
  • Product assistance from Wolfram experts
  • Help with Wolfram Language programming
  • Advanced installation support