IBM Support

How to obtain the lock-code on a Macintosh computer? Where can I find the lservrc file?

Technote (FAQ)


I need to obtain the lock-code of my machine, how do I do this on a Macintosh operating system? Afterwards I will have to alter the license file: lservrc, where is this file located ?


The lock-code can be obtained by executing the following steps :

1. Start the Finder application.
2. In the Finder menu, click on -> Utilities.
3. Open
4. You need to navigate to the installation folder of the software

For example, if you have Statistics version 23, type the following command:
cd /Applications/IBM/SPSS/Statistics/23/

and press Enter

5. type:
./echoid -d

and press Enter

To locate the lservrc file, you must

1. Start the Finder application
2. In the Finder menu, click on -> Applications
3. Look for the IBM folder in the applications list and click on it
4. In the IBM folder click on SPSS -> Statistics -> 23
5. Ctrl+click on (or right mouse click)

A pop-up menu will appear, click on "Show Package Contents"

6. Click on Contents -> Bin folder
7. The lservrc file is located in this folder.

Related information

Need more help? Our Statistics forum is Live!

Historical Number


Document information

More support for: SPSS Statistics

Software version: 20.0, 21.0, 22.0, 23.0

Operating system(s): iOS

Reference #: 1481887

Modified date: 20 April 2012