Click here to Skip to main content
15,354,313 members
Articles / Mobile Apps / Windows Mobile
Tip/Trick
Posted 31 Mar 2016

Stats

14.9K views
15 bookmarked

Quick Tip - Steps to Decode Windows Error Code

Rate me:
Please Sign up or sign in to vote.
4.95/5 (16 votes)
31 Mar 2016CPOL
Steps to decode Windows Error code

Introduction

In Microsoft world, many times we come across these types of errors (Message box with some error code / Hex code). I have experienced this on Windows services / Visual studio / Task schedulers / office tools etc.

A quick tip to analyze these errors or at least understand the cause before we hit Google and look for solution.

Using These Steps

  1. Sample Error

    Image 1

  2. Open the calculator in Scientific mode. Select ‘Dec’ and enter the above highlighted code.

    Image 2

  3. Click on the ‘Hex’ to convert it to Hex value. Value you should get is – ‘80070775’.
    C++
    // 8007 - Represents Win 32 Status code.
    // 0775 - Represents the error code.
  4. Enter the Error code – 0775 in the calculator, make sure ‘Hex’ is selected.

    Image 3

  5. Click on ‘Dec’ to get the decimal value – 1909 in this case.

    Image 4

  6. Go to command prompt and type as seen below. net helpmsg 1909.

    Image 5

Points of Interest

  • Decoding the hex code

History

  • 31st March, 2016: Initial version

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

TapasU
United States United States
No Biography provided

Comments and Discussions

 
GeneralQuick Tip - Steps to Decode Windows Error Code Pin
Member 124416876-Apr-16 17:53
MemberMember 124416876-Apr-16 17:53 
QuestionAppreciate Everyone's comments !! Pin
TapasU31-Mar-16 20:52
MemberTapasU31-Mar-16 20:52 
SuggestionPoints of Interest... Pin
Jim Meadors31-Mar-16 19:31
MemberJim Meadors31-Mar-16 19:31 
GeneralMy vote of 5 Pin
csharpbd31-Mar-16 10:40
professionalcsharpbd31-Mar-16 10:40 
Question[My vote of 2] A bit short Pin
Eric Lapouge31-Mar-16 9:12
MemberEric Lapouge31-Mar-16 9:12 
Hi,

First, nothing against your post.

Error decoding is a subject as old as Windows programming, and by just googling a bit you can find gems like this: Making Sense of HRESULTS | Fabulous Adventures In Coding[^]

A long time ago (nearly speaking in tenth of years) I was using a tool named HR Plus. If you search for some time, you'll surely find it; else I can provide an old copy.

Anyway, this is nice that you posted something and tried to help the community.

Best Regards,
Eric
GeneralMy vote of 5 Pin
Carlos190731-Mar-16 5:36
professionalCarlos190731-Mar-16 5:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.