Converting Error Messages from Hex to Decimal

Recently, I was having issues distributing content to a specific Distribution Point. After parsing the distmgr.log, I came across a nugget. But, was this nugget fools gold?

Image

How am I supposed to know what that error code means? Well, I could Google (or Bing) around until I stumble across an answer. Or, I could be more proactive and convert the string to decimal and then search through the Windows databanks for the meaning. Let’s choose NOT to be lazy today and go with option two.

First, open the Windows provided calculator and change the view to Programmer. Then, select Hex and plug in the last 4 digits of the error code (in this case, 06BA, or just 6BA as the 0 is null):

Image

Next, just click Dec to convert the number to decimal:

Image

Last, open a command prompt and type (without quotes) “net helpmsg <decimal number>” and hit enter for the error message:

Image

In this example, the message reads “The RPC server is unavailable” which is actually pretty helpful, as it points WMI connectivity issues. Now, you can search the webs for the proper issue.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s