Hardware is not registered problem

Please see Sudden error, "Hardware not registered" after continuous use? for a solution.