Before Editing the registry, export the keys or back up the whole registry. If a problem occurs after editing, then you can restore the registry:
How to Export Registry Keys
1.Click Start, and then click Run.
2.In the Open box, type regedit, and then click OK.
3.On the File menu, click Export.
4.In the Save in box, select the boxs at the bottom the bottom according to weather you want to export all or only selected branches of the registry.Next select a location in which to save the backup .reg file. In the File name box, type a file name, and then click Save.
How to Restore the Registry
To restore registry keys that you exported, double-click the .reg file that you saved.