Hi, I was wondering if there is a tool which can take one .reg file, then examine the registry to create a "rollback" .reg file. i.e. If the key in the .reg file exists in the registry, the rollback file will reset it to the original value. If the key in the .reg file does not exist in the registry, the rollback file will have the "-" key to remove it. (this gets fiddly with parent "folders" etc). Thanks
do you need to have a software to do that? I think all you need to do is go to the registry editor by typing regedit and click file>export save the .reg file anywhere and if something goes wrong, you can alway s recover your registry by double clicking on the .reg file (merge the file) That's it.Your registry is restored
i think i misunderstood your post before. do you mean a software to restore your registry to the default value? (after you do a fresh install)
You understood correctly. Doing an export will do two thirds of the job: - it will reset any values which are overwritten by the .reg file - it will restore any keys which are removed by the .reg file But the third it will not do is: - remove any keys which are added by the .reg file Edit: Also, the export way is a little heavy handed. If I export the entire registry, then when restoring it, any unrelated changes made by other processes would also be lost. And to do a selective export, I would need to read the original .reg to know what to export.
You can first delete all regkeys and values in the key you made a backup from, and then restore the backup