fbpx

Knowledge Base

Search Knowledge Base

KB #240131: “not a valid Win32 application” error in the Windows System Log

Type:

Fix

Summary:

In a very rare circumstance, the Encryptionizer Key Management Service (KMS) will fail to start with this error message in the Windows System Log:

“Encryptionizer Key Management Service is not a valid Win32 application”

This may sometimes be associated with error number 193. Alternatively the error message may be “File Not Found”.

Encrypted databases will not be accessible, because KMS is required to be running prior to SQL start in order for encrypted databases to come online.

Additional Information:

  • Enter Regedit and drill down to this Registry Key in the left pane:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NLCBTASK

  • In the right pane you will see this REG_SZ Value: ImagePath
  • The Value will look something like this (no quotes):

C:\Program Files (x86)\NetLib\Secsql\NLCBTASK.EXE

  • If the Value is unquoted, modify the existing Value to be enclosed in “quotes” so it looks like this
    (for example):

"C:\Program Files (x86)\NetLib\Secsql\NLCBTASK.EXE"

(If the Value is already quoted, this is not the issue and you should contact Support)

  • Exit RegEdit and reboot.

Related Topics:

240102: Encrypted Databases not accessible (Recovery Pending, Suspect)

240085: SQL will not start – related articles

240086: fn_n_keycount() returns Zero, when greater than Zero expected

Last modified: 3/1/2020

Top