{"id":941,"date":"2016-07-05T16:17:02","date_gmt":"2016-07-05T14:17:02","guid":{"rendered":"http:\/\/borncity.com\/win\/?p=941"},"modified":"2020-12-13T00:16:43","modified_gmt":"2020-12-12T23:16:43","slug":"how-to-decode-windows-errors","status":"publish","type":"post","link":"https:\/\/borncity.com\/win\/2016\/07\/05\/how-to-decode-windows-errors\/","title":{"rendered":"How to decode Windows errors?"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" style=\"float: left; margin: 0px 10px 0px 0px; display: inline;\" src=\"http:\/\/www.borncity.com\/blog\/wp-content\/uploads\/2013\/03\/winb.jpg\" width=\"58\" height=\"58\" align=\"left\" \/>[<a href=\"http:\/\/www.borncity.com\/blog\/2016\/07\/04\/windows-fehler-entschlsseln\/\" target=\"_blank\" rel=\"noopener\">German<\/a>]In case of error Windows reports a cryptic error code instead of a detailed error description. Within this blog post I will try to give a few hints to decode this Windows error codes.<\/p>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ssl-vg03.met.vgwort.de\/na\/8057542abd204eaaaae3c049b75c5063\" alt=\"\" width=\"1\" height=\"1\" \/>If Windows reports an error (like code 1605) it's not clear for what this code stands for. In most cases users are searching the web for pages dealing with the error code. Also Stop codes issued in a blue screen or errors shown in device manager are cryptic. Unfortunately there are also many error sources. So let's take a look how to proceed and decode error codes.<\/p>\n<h3>Decipher error codes like 1, 2, 1025<\/h3>\n<p>If Windows reports a simple error number like 1, 2, 13, 1065, you may ask the operating system for error details. Just open the command prompt windows (typing <em>cmd <\/em>in search bar and press enter key).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Error\" src=\"https:\/\/web.archive.org\/web\/20190604175724\/http:\/\/x24.imgup.net\/Errorce1e.jpg\" alt=\"Error\" width=\"678\" height=\"250\" border=\"0\" \/><\/p>\n<p>Then enter the command:<\/p>\n<p><em>net helpmsg &lt;error code&gt; <\/em><\/p>\n<p>This will show the error message associated to this code in plain text.<\/p>\n<h3>How to decipher device manager error codes<\/h3>\n<p>If you opens device manager and double click an entry, the property windows will be show. Device errors will be shown on <em>general<\/em> tab. To decode such an error code, open this <a href=\"http:\/\/support.microsoft.com\/kb\/310123\" target=\"_blank\" rel=\"noopener\">Microsoft device manager error codes website<\/a>. The site documents all error codes related to Windows device manager.<\/p>\n<h3>Decipher system error codes 0 \u2013 15999<\/h3>\n<p>All system errors with error codes between 0 (0x0) and 15999 (0x3e7f) are decoded in the Microsoft web site <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms681381(VS.85).aspx\">System errors 0 \u2013 15999<\/a>.<\/p>\n<h3>Stop errors in blue screens<\/h3>\n<p>If Windows crashes with a blue screen, a stop code will be shown. The stop code gives an hint, what went wrong. Stop codes are documented in Microsoft's <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/hardware\/hh994433%28v=vs.85%29.aspx?f=255&amp;MSPPError=-2147217396\" target=\"_blank\" rel=\"noopener\">Bug Check Code Reference<\/a>.<\/p>\n<h3>Decipher Windows HRESULT errors<\/h3>\n<p>Many errors reported from Windows are using a format like 0x80010005. The error code consists of 8 hex digits, with prefix code 0x (stands for hexadecimal number). Such error numbers are returned from Windows HRESULT function. Most users are trying to search the internet to find pages dealing the error code. But in some cases it could be more helpful to have a clue, for what the HRESULT err stands for. Microsoft has published <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/cc231198.aspx\" target=\"_blank\" rel=\"noopener\">this web site<\/a> with an explanation, how HRESULT values are decoded.<\/p>\n<p><a href=\"http:\/\/www.borncity.com\/blog\/wp-content\/uploads\/2016\/07\/HRESULT-Err.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"HRESULT-Err\" src=\"http:\/\/www.borncity.com\/blog\/wp-content\/uploads\/2016\/07\/HRESULT-Err_thumb.jpg\" alt=\"HRESULT-Err\" width=\"660\" height=\"59\" border=\"0\" \/><\/a><\/p>\n<p>A HRESULT value reported from Windows in hexadecimal digits are decoded as shown in the figure above. An error code <em>0x80010005 <\/em>mean, the facility error code is 1, which stands for a RPC problem (RPC = Remote Procedure Call). And the error code is 08. Here are the meaning of the error bits:<\/p>\n<ul>\n<li>S \u2013 Severity \u2013 indicates success\/fail\n<ul>\n<li>0 \u2013 Success<\/li>\n<li>1 \u2013 Failure<\/li>\n<\/ul>\n<\/li>\n<li>R \u2013 Reserved portion of the facility code, corresponds to NT's second severity bit.\n<ul>\n<li>1 \u2013 Severe Failure<\/li>\n<\/ul>\n<\/li>\n<li>C \u2013 Customer. This bit specifies if the value is customer-defined or Microsoft-defined.\n<ul>\n<li>0 \u2013 Microsoft-defined<\/li>\n<li>1 \u2013 Customer-defined<\/li>\n<\/ul>\n<\/li>\n<li>N \u2013 Reserved portion of the facility code. Used to indicate a mapped NT status value.<\/li>\n<li>X \u2013 Reserved portion of the facility code. Reserved for internal use. Used to indicate HRESULT values that are not status values, but are instead message ids for display strings.<\/li>\n<li>Facility \u2013 indicates the system service that is responsible for the error.\n<ul>\n<li>1 \u2013 RPC<\/li>\n<li>2 \u2013 Dispatch (COM dispatch)<\/li>\n<li>3 \u2013 Storage (OLE storage)<\/li>\n<li>4 \u2013 ITF (COM\/OLE Interface management)<\/li>\n<li>7 \u2013 Win32 (raw Win32 error codes)<\/li>\n<li>8 \u2013 Windows<\/li>\n<li>9 \u2013 SSPI<\/li>\n<li>10 \u2013 Control<\/li>\n<li>11 \u2013 CERT (Client or server certificate)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/cc704587.aspx\" target=\"_blank\" rel=\"noopener\">This HRESULT web site<\/a> and <a href=\"https:\/\/de.scribd.com\/doc\/89465561\/Windows-Error-Codes-MSDN\">this document<\/a> contains a list of many HRESULT errors with its error description. After deciphering a HRESULT error code, it's probably more easy to search for the error using the internet.<\/p>\n<p>Microsoft has posted a Technet article in October 2016, detailing some upgrade errors in Windows 10 (see my blog post\u00a0<a href=\"https:\/\/borncity.com\/win\/2016\/10\/15\/windows-10-analyze-upgrade-errors\/\">Windows 10: Analyze upgrade errors<\/a>).<\/p>\n<p><strong>Similar blog posts<\/strong><br \/>\n<a href=\"https:\/\/borncity.com\/win\/win10-wiki\/\">Windows 10 Wiki<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2016\/08\/08\/windows-10-anniversary-update-faq-and-tips\/\">Windows 10 Anniversary Update \u2013 FAQ and Tips<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2016\/08\/09\/windows-10-anniversary-update-trouble-shooting\/\">Windows 10 Anniversary Update trouble shooting<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2016\/07\/05\/how-to-decode-windows-errors\/\">How to decode Windows errors?<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2016\/07\/08\/check-and-repair-windows-system-files-and-component-store\/\">Check and repair Windows system files and component store<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2015\/07\/31\/windows-10-upgrade-error-0xc1900101-0x20004\/\">Windows 10: Upgrade error 0xC1900101 \u2013 0x20004<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2012\/11\/05\/windows-8-upgrade-troubleshooting-and-analysis\/\">Windows 8 Upgrade: Troubleshooting and analysis<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2016\/08\/03\/windows-10-update-error-0x80070057\/\">Windows 10: Update error 0x80070057<\/a><br \/>\n<a href=\"https:\/\/borncity.com\/win\/2016\/07\/28\/windows-10-rollback-to-windows-8-1-is-missing\/\">Windows 10: Rollback to Windows 8.1 is 'missing'<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[German]In case of error Windows reports a cryptic error code instead of a detailed error description. Within this blog post I will try to give a few hints to decode this Windows error codes.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[4,30,194],"class_list":["post-941","post","type-post","status-publish","format-standard","hentry","category-windows","tag-error","tag-tip","tag-windows"],"_links":{"self":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/941","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/comments?post=941"}],"version-history":[{"count":0,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/941\/revisions"}],"wp:attachment":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/media?parent=941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/categories?post=941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/tags?post=941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}