If you need to know the Windows status codes for any reasons in your application/script, Microsoft publish in a MSDN article the “NTSTATUS values”.
These values are organized in a HTML table and you will find the status code and the description.
By combining the NTSTATUS into a single 32-bit numbering space, the following NTSTATUS values are defined. Most values also have a defined default message that can be used to map the value to a human-readable text message. When this is done, the NTSTATUS value is also known as a message identifier.
This document provides the common usage details of the NTSTATUS values; individual protocol specifications may provide expanded or modified definitions.
In the following descriptions, a percentage sign that is followed by one or more alphanumeric characters (for example, “%1” or “%hs”) indicates a variable that is replaced by text at the time the value is returned.
To simplify your life, I have transformed the table into a csv file you can download here : ntstatus
The file uses the following template :
Return value;Return code;Description 0x00000000;STATUS_SUCCESS;The operation completed successfully. 0x00000000;STATUS_WAIT_0;The caller specified WaitAny for WaitType and one of the dispatcher objects in the Object array has been set to the signaled state. 0x00000001;STATUS_WAIT_1;The caller specified WaitAny for WaitType and one of the dispatcher objects in the Object array has been set to the signaled state. 0x00000002;STATUS_WAIT_2;The caller specified WaitAny for WaitType and one of the dispatcher objects in the Object array has been set to the signaled state. 0x00000003;STATUS_WAIT_3;The caller specified WaitAny for WaitType and one of the dispatcher objects in the Object array has been set to the signaled state. 0x0000003F;STATUS_WAIT_63;The caller specified WaitAny for WaitType and one of the dispatcher objects in the Object array has been set to the signaled state. 0x00000080;STATUS_ABANDONED;The caller attempted to wait for a mutex that has been abandoned. 0x00000080;STATUS_ABANDONED_WAIT_0;The caller attempted to wait for a mutex that has been abandoned. 0x000000BF;STATUS_ABANDONED_WAIT_63;The caller attempted to wait for a mutex that has been abandoned. 0x000000C0;STATUS_USER_APC;A user-mode APC was delivered before the given Interval expired.
My Powershell script categories
- Active Directory
- Cluster
- Database
- Exchange
- Files and folders
- Hardware
- Network
- Operating System
- PKI
- SCCM
- Service and process
- Tips
- VMWare