All return codes displayed in the DA logs and diagnostic trace files are Microsoft return codes.
To find out what a specific return code means, simply drop to a command prompt and type NET HELPMSG n and hit the return key.
For example: If running the command "NET HELPMSG 5", it will return the Microsoft text message for a return code 5 which is "Access is Denied."
| Return Code | Description |
| 0 | The operation completed successfully. |
| 1 | Incorrect Functon. |
| 2 | The system cannot find the file specified. |
| 3 | The system cannot find the path specified. |
| 5 | Access is Denied. |
| 10 | The environment is incorrect. |
| 53 | The network path was not found. |
| 55 | The specified network resource or device is no longer available. |
| 80 | The file exists. |
| 85 | The local device name is already in use. |
| 86 | The specified network password is not correct. |
| 87 | The parameter is incorrect. |
| 122 | The data passed to a system call is too small. |
| 123 | The filename, directory name, or volume label syntax is incorrect. |
| 161 | The specified path is invalid. |
| 193 | %1 is not a valid Win32 application. (More info...) |
| 203 | The system could not find the environment option that was entered. |
| 259 | No more data is available |
| 997 | Overlapped I/O operation is in progress. |
| 1202 | The local device name has a remembered connection to another network resource. |
| 1203 | The network path was either typed incorrectly, does not exist, or the network provider is not currently available... |
| 1208 | An extended error has occurred. |
| 1223 | The operation was canceled by the user. |
| 1260 | This program is blocked by group policy. |
| 1309 | Error Reading from file: .. |
| 1337 | The security ID structure is invalid. |
| 1722 | The RPC server is unavailable. |
| 1726 | The remote procedure call failed. |
| 1797 | The printer driver is unknown. |
| 1801 | The printer name is invalid. |
| 3010 | The requested operation is successful. Changes will not be effective until the system is rebooted. |
| 2147024773 | The filename, directory name, or volume label syntax is incorrect. |
| 2147024809 | The parameter is incorrect. |
| 2147221005 | Error encountered while attempting to create the COM object. |
| 2147467259 | Error encountered while attempting to create a shortcut. |
Additional Resources:
System Error Codes 0-499
System Error Codes 500-999
Windows Installer Error Messages
MsiExec.exe and InstMsi.exe Error Messages