Windows: Decode Win32 Error codes

Hi,

if you have a Windows Errorcode like 0xc000021a and want to decode it to a human readable format you can use certutil.

An example

D:\> certutil -error 0xc000021a
0xc000021a (NT: 0xc000021a STATUS_SYSTEM_PROCESS_TERMINATED) -- 3221226010 (-1073741286)
Error message text: {Fatal System Error}
The %hs system process terminated unexpectedly with a status of 0x%08x (0x%08x 0x%08x).
The system has been shut down.
CertUtil: -error command completed successfully.

Michael

Leave a Reply Cancel reply