Error Codes (e.g. 0x80070002, 0×80070006) are common things with Windows that you will get while performing an action, for example installing/uninstalling software, inserting a USB device to your PC, etc. and can be happened by a wide range of reasons.
After running the program, type the error code in the text field and click the ErrorMsg button. You will get basic information about it (see screen shot below).
I hope it will be more helpful to search online using this term to get exact solutions to solve the issue. Interested readers can download this offline Windows Error Code Lookup Tool at the source or from here.