Friday, November 8, 2013

How to convert Windows error code into Simple English decription

While troubleshooting, most of the times you can see Windows OS is throwing error in Hexadecimal code. You may find this error in event viewer or msi logs, or CBS logs. Most of the time there wont be any description for this error code in the logs or events. You can convert this error codes into Simple error description. Here I am going to show how to do this. Lets take the below error code as an example.

You can see from the above error message that calling of vbscript.dll was failed with error code 0x80004005. The error code is in Hexadecimal. You have to convert the code into decimal before finding out its error description. Lets convert the code 0x80004005 in to decimal. You donot need to convert whole number into decimal. Take only last four or three last digits from the error code. Here we are going to convert last 3 digit of the error code "005". 

Open the calculator in Programmer mode.  

Enter the value in Hexadecimal

Click on Decimal to get the decimal value

Copy the decimal value. Open a command prompt and run the command net helpmsg <decimalnumber>
in our example command will be net helpmsg 5

You can see the error description for decimal value 5 as "Access is denied". You can further investigate the issue according to the error description. There might be permission issue to access the regitsry location of vbscript.dll in our example, hence the windows throwed the error. Below are some more error codes and its description

0x80070490 - Element not found. 
0x80004005  -  Access is denied. 
0x8007054f  -  An internal error occurred. 
0x80070bc2   -  The requested operation is successful. Changes will not be effective until the system is rebooted. 
0x80070643  -  Fatal error during installation. 

No comments:

Post a Comment