JimmyJam said:
I would like to find a single util, but if there isnt a single one, here's
what I need.
1) a program that will delete and/or create a hierarchy in the
registry. i.e. category and all its various values
2) a program to watch the registry during a program's installation and the
ability to restore the registry to its previous state -- i.e. wiping out
evidence of the installation.
Why? I sometimes need to install a program in a lab, use it, and then get
the machine back to its previous condition. No copywrite violation
involved -- just trying to keep a public lab's machines clean.
Given your purpose, the solution Jason posted in a followup sounds ideal.
<
[email protected]>
Although, as he indicated, you'd have to consider which Win OS involved.
If you're dealing with later Windows, Total Uninstall (pricelessware.org)
should serve you. It doesn't have to be used to strictly to monitor an
installer. You can take the "before" snapshot whenever, and then the
"after" snapshot hours or days later. Then tell it "uninstall," and it
will revert the registry, and remove files.
Questions (1) and (2) taken *separately* from your purpose would have their
own answers. If you regularly want to have certain keys deleted, you can
use a regedit command in conjuction with .reg files (in ie a batch file).
Or you can use reg.exe that is distributed with the resource kits. To know
which keys you want deleted, you would use a registry monitor. TUN in this
role. Or InstallWatch. Or an Inctrl5 replacement, such as Regshot. This can
get involved, setting up what you want done there. A project only for when
you have very specific keys to systematically kill, and want to meanwhile
retain other ongoing registry changes. The circumstance you outlined, a
lab where you want no ongoing changes kept anyway, that is simpler. All
you need is something to let you run under a temporary registry, or else
to let you "go back in time"/revert to previous state.
Actually, about the lab. What is your role there? Just an end user? Or
if you are more involved, you should consider giving the decision-makers
a good talk about setting up systematic drive image restoratiosn. Such
that the machines always restore to a set state, each day, or each boot.
(If user files are allowed to be stored, then more complicate, but can
still be arranged.)