recover registry config