How to Deal With Windows Registry Errors?