It might not be the registry. It might be the windows installer. You can try installing a new copy. Also do a full RAM check since these little errors often come from corrupted data.