Wolfram Computation Meets Knowledge

Where does Mathematica store its license information?

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

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

Looking Up Licensing Information from Within Mathematica

Evaluate FilePrint[$PasswordFile] to obtain the content of the mathpass file that this instance of Mathematica 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\Mathematica\Licensing\mathpass
  • C:\Users\<user>\AppData\Roaming\Mathematica\Licensing\mathpass
  • C:\Program Files\Wolfram Research\Mathematica\Configuration\Licensing\mathpass

where <user> is your username on the computer.

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

Mac

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

  • /Library/Mathematica/Licensing/mathpass
  • ~/Library/Mathematica/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/Mathematica/”. Finder opens the hidden folder.

Linux

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

  • /usr/share/Mathematica/Licensing/mathpass
  • ~/.Mathematica/Licensing/mathpass
  • /usr/local/Wolfram/Mathematica/Configuration/Licensing/mathpass

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

该文档是否有帮助?

任何建议?

非常感谢您的反馈!

提交

联系支持团队

从账单到产品激活,以及任何技术相关内容,无论您遇到任何问题,我们都在此为您提供帮助。

1-800-WOLFRAM (+1-217-398-0700 美国境外用户)

客服支持

周一至周五
8am–5pm 美国中部时区

  • 产品注册或激活
  • 预售信息和订单
  • 安装帮助和首次启动

高级技术支持 (面向特定用户)

周一至周四
8am–7pm 美国中部时区

周五
8:30–10am & 11am–5pm 美国中部时区

  • 优先技术支持
  • Wolfram 专家助理专员
  • Wolfram 语言编程帮助
  • 高级安装支持