{"id":44,"date":"2017-06-18T13:05:15","date_gmt":"2017-06-18T17:05:15","guid":{"rendered":"http:\/\/ziviz.us\/WP\/?p=44"},"modified":"2017-06-18T13:05:57","modified_gmt":"2017-06-18T17:05:57","slug":"44","status":"publish","type":"post","link":"https:\/\/www.ziviz.net\/WP\/2017\/06\/18\/44\/","title":{"rendered":"Win32Exceptions"},"content":{"rendered":"<p style=\"text-align: center;\"><em>This post was migrated from my older blog.<\/em><\/p>\n<p>There have been a few times where I found myself starting at an error prompt stating Error: 0x000006C1 or some other unhelpful hex number. Then upon searching for the error code, only finding results for a specific instance of the error for an unrelated application with generic fixes that still don&#8217;t hint at the root issue. I found that you can translate some of these error codes using .Net and by extension PowerShell. If you find yourself in this situation, try the following command:<\/p>\n<pre><code>new-object System.ComponentModel.Win32Exception @($ErrorCode);<\/code><\/pre>\n<p>Where &#8220;$ErrorCode&#8221; is your error. Example:<\/p>\n<pre><code>new-object System.ComponentModel.Win32Exception @(0x80190193); #Can use integers or hex numbers<\/code><\/pre>\n<p>I also generated a list of the exceptions here: <a class=\"external text\" href=\"http:\/\/ziviz.us\/Win32Exceptions.html\" rel=\"nofollow\">Win32Exceptions List<\/a> If the list does not contain your error code, then it is likely just &#8220;Unknown error&#8221;&#8230; not very helpful.<\/p>\n<p>Alternatively, if you utilize SCCM and have the CMTrace tool, you can preform error code lookups directly from the CMTrace application.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post was migrated from my older blog. There have been a few times where I found myself starting at an error prompt stating Error: 0x000006C1 or some other unhelpful hex number. Then upon searching for the error code, only finding results for a specific instance of the error for an unrelated application with generic &hellip; <a href=\"https:\/\/www.ziviz.net\/WP\/2017\/06\/18\/44\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Win32Exceptions&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,7],"tags":[],"class_list":["post-44","post","type-post","status-publish","format-standard","hentry","category-powershell","category-sysadmin"],"_links":{"self":[{"href":"https:\/\/www.ziviz.net\/WP\/wp-json\/wp\/v2\/posts\/44","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ziviz.net\/WP\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ziviz.net\/WP\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ziviz.net\/WP\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ziviz.net\/WP\/wp-json\/wp\/v2\/comments?post=44"}],"version-history":[{"count":2,"href":"https:\/\/www.ziviz.net\/WP\/wp-json\/wp\/v2\/posts\/44\/revisions"}],"predecessor-version":[{"id":47,"href":"https:\/\/www.ziviz.net\/WP\/wp-json\/wp\/v2\/posts\/44\/revisions\/47"}],"wp:attachment":[{"href":"https:\/\/www.ziviz.net\/WP\/wp-json\/wp\/v2\/media?parent=44"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ziviz.net\/WP\/wp-json\/wp\/v2\/categories?post=44"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ziviz.net\/WP\/wp-json\/wp\/v2\/tags?post=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}