Hardware recovery