Registry Settings and DLLs save/restore utility for NT/w2k/XP
Alter (alterX@alter.org.ua (remove X))
Entity (entityX@alter.org.ua (remove X))
rconf_v1a.rar/tgz (60.1 Kb/62.8 Kb) - rconf.bat
ang GUI for it -
rconf_v1.rar/tgz (43.3 Kb/45.1 Kb) -
previous version of
At least I had some time to implement import/export utility for application-specific setting.
It can also save to separate directory libraries required by specific application. This is
rather simple utility. Some time ago Axxie planned to develop much more powerful tool.
But for now - use rconf.bat or RegConf.exe. It keeps lists of required
registry keys and libraries in .INI files. According to these configs utility can
save application specific parts of registry and libraries to separate directory and
later restore settings and place libraries to proper places under another OS.
The only restriction are paths. They must be persistent across OS'es. See also
All configs are stored in ini subfolder. All configs treat ';' character as comment.
The main config file is targets.ini. It contains list of targets (applications) and their
uman-readable descriptions. Each line has the following format:
<tag> <some spaces> <Full name of application>
<tag> - short name of savable target. It must contain alpha-numeric characters only.
<some spaces> - one or more spaces. Do not use TABs here. <Full name of application> -
human readable target description. There is one mandatory file for each target. It must have
name <tag>.reglist. Such files contain list of Registry keys to be saved for given target.
Each line contains key name. If name contains spaces, it must be quoted with double quotations ("):
If you need to exclude some velues from saving, use <tag>.badvarlist file. Each line contains
templete for the value name to be excluded. For example when saving environment variables, we must
exclude OS-dependent values:
Additionally for each tag you can create <tag>.reqvarlist file. It contains templete for
values to be mandatory saved without saving entire key. For example for CBuilder 6.0 the following
value is required:
"<SysDrive>:\\Program Files\\Common Files\\Borland Shared\\Debugger\\bordbk61.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs]. For this case
the config file can be as following:
To describe list of required libraries use <tag>.binlist file. It contains folder names and
filename templetes for saving. For example:
And now about usage:
rconf <action> [target]"
s - save registry settings of target app
sb - save registry settings and required binaries of target app
r - restore registry settings of target app
rb - restore registry settings and required binaries of target app
l - show list of known target app
any item listed in ini\targets.ini or 'all'
rconf sb all
will save settings and binaries for all described targets
rconf r env
will restore settings for target 'env' (Environment variables)
Settings are stored in settings_<username> directory.
rconf_v1.rar/tgz (43.3 Kb/45.1 Kb) - rconf itself
Please, send your comments and propositions here:
or mail alterX@alter.org.ua (remove X)