This article is for those that don’t know that 0x80070002 is “The system cannot find the file specified.” or that 0x80070020 is “The process cannot access the file because it is being used by another process”. It seems impossible to memorize all the error codes in Windows and what they mean. Thankfully there is no need to do this, as there is a utility built into Windows to decode them.
To find out what an error code means launch a command window and run this command slui 0x2a <error code>. For instance slui 0x2a 0x80070002. You will get a popup similar to the following:
You will need to Show details. The description is the error code text.
I hope you found this article informative. If you have anything to add please do so in the comments below.