NwKey32.exe utility may return the following error codes:
| Error Code | Description |
|---|---|
| 0 | Process completed successfully |
| 1 | Process interrupted by the user |
| 2 | Memory allocation error |
| 3 | Wrong option |
| 4 | *.MSG file not found |
| 5 | Invalid file format |
| 6 | Windows-compatible dongle must be used |
| 7 | Dongle not found |
| 8 | File already protected |
| 9 | File already exists |
| 10 | File cannot be renamed |
| 11 | Dongle communication error |
| 32 | File opening error |
| 33 | File size cannot be changed |
| 34 | File reading error |
| 35 | File writing error |
| 36 | Overflow. Segment alignment is too large |
| 37 | Unable to protect the database file |
| 38 | Unable to protect the DLL file |
| 39 | Too many segments in the file being protected (more than 32) |
| 40 | Distributed segment found |
| 41 | Unable to change the code encryption mode |
| 42 | Unsupported format |
| 43 | Invalid dongle |
| 44 | Insufficient resource |
| 45 | Use NWKEY.EXE for protection |
| 128 | Invalid protection parameters file |
| 129 | Installation counter reached zero |