IBM Support

Running clemb in Windows 7 will produce the following error: Windows RegCreateKeyEx(...) returned error code 5

Technote (troubleshooting)


After running a clemb command under Windows 7 with Modeler 14.1 the following error is produced:

java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs
at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.


The error occurs because java.util.prefs.WindowsPreferences is trying to save information in HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs instead of under HKEY_CURRENT_USER\Software\JavaSoft\Prefs.


Windows 7 64-bit

Resolving the problem

The work around is to login as the administrator and create the key HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs.

Related information

Need more help? Our Modeler forum is Live!

Document information

More support for: SPSS Modeler

Software version: 14.1.0

Operating system(s): Windows

Reference #: 1496098

Modified date: 07 September 2016