VelocIT Tools

Useful tools for your toolbox


Every now and then we develop useful utilities for use internally that we’d like to share with others. This is the place where we will announce and share such tools.

We Deliver IT

Not only do we deliver IT, we get IT. Count on us when delivering is important.

We are experts in .NET, SQL Server, Analysis Services, DotNetNuke, AJAX and Sharepoint

www.veloc-it.com

 

Ad

Top Downloads

You can read more about us on our corporate site.

Unless otherwise stated, the code contained here are freely available under the BSD License. The download links will not work if you have Javascript disabled or a script blocker installed.

RegmonToRegfile v1.0.2


It's easier to explain what you can do with RegmonToRegfile than to explain what it is. RegmonToRegfile works with Regmon (a free tool from SysInternals) to record and playback the registry changes that another program or installation makes. For example, I used it to create the registry files for the IE7 Standalone launcher I've been distributing. I recorded the registry entries when I installed, ran, and uninstalled IE7 and saved the logs, then ran RegmonToRegfile to convert then to regfiles.

Regmon is an excellent tool that monitors what other programs do with the Windows registry. It saves everything that happens to a log file, but doesn't include the option to export to a registry (.reg) file. RegmonToRegfile reads Regmon logs and translates them into .reg files.

WARNING: Registry flies can do great damage to your computer. You should always review registry files before you merge them, but that is even more important in this case since the registry files are being generated by a new and unsupported application. I also recommend testing your registry changes on a Virtual PC or VMWare Windows image. This application and the registry files you produce with it are unsupported; use at your own risk.

USAGE: regmontoregfile -input [-output] [-path] [-process] [-keys] [-maxRecords] [-lookup]
Input: Filename of the RegMon log.
Output: Filename of the output registry file. Default: input filename with extension changed to .reg.
Path: Path to input and output file.
Process: Comma delimited list of processes to include. Default:all processes.
Keys: Regular expression of key(s) to include. Default:all keys.
MaxRecords: Maximum number of records (log entries) to process. Default:all records.
Lookup: If true, looks up truncated binary values in the registry. Default:false (do not lookup values).

All parameters can be set via config files settings as well. If you specify the path parameter, input and output should not be qualified with a full path.

Sample call:
C:\>regmontoregfile -path:"c:\projects\jon\regmontoregfile" -input:"ie7rc1_install.log" -process:"iexplore.exe:676,update.exe:412" -keys:"\\Interface\\|\\Cryptography\\\\"

There are a few limitations:

  1. Regmon only logs the first few bytes of binary values (REG_Binary) written to the registry, so RegmonToRegfile just skips writing these values. In most cases, that's not an issue since I haven't seen any binary values written by a program that would make sense to script anyways - they're usually things like crypto keys or keyboard scan codes. Version 1.0.2 adds the option of looking up truncated binary values in the local registry.
  2. RegmonToRegfile has limited support for registry value types. It handles STRING and DWORD values and can try to lookup BINARY values in your local registry. It does not handle other types, such as EXPAND_SZ, and MULTI_SZ types. This hasn't been a problem in practical use, since most registry entries are either STRING or DWORD type.

Source is included under BSD license.



File size 124 K
Downloads 3033
Date Thu 02/22/2007 @ 11:50
Author Jon Galloway
EMail

RATING:   COMMENTS (3)  DOWNLOAD
IE7 Standalone


The Internet Explorer 7 installation replaces previous versions, which is pretty inconvenient if you need to test how a site displays in both browsers. This set of batch and registry files allow you to to run IE7 in  standalone mode (without installing it), so you can keep IE6 installed and fire up IE7 only when you need it.

Version 1.6 and up will work with IE7 RC1. The version vector key is now being removed when you run standalone, so you can test conditional comments.
Version 1.7 includes a fix to the registry cleanup scripts.
Version 1.8 works with the IE7 release version and fixes registry cleanup path error.

Note: Yousif's IE7 Standalone is a little easier to install - it automatically downloads the IE7 installation package for you. Rather than duplicate his efforts, I asked Yousif for information on what had changed with RC1 and he very graciously provided me with the complete source for his standalone, which was invaluable in releasing the RC1 version. If you like the control and transparency of bat and reg files, this should work well for you, but if you'd like an easier installation experience I recommend Yousif's IE7 Standalone.

Read the release announcement here.



File size 37 K
Downloads 37021
Date Mon 10/23/2006 @ 04:12
Author Jon Galloway
EMail

RATING:   COMMENTS (18)  DOWNLOAD
< BACK  1 of 1  NEXT >