Restoring Registry

To restore registry, do the following: