WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Registry
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

How to Compare Registry - Before and After

Keywords: 	 changes compare registry

Question:

I need to automate a word application distrabution package. And I have to change the User Template Location under Menu Tools-->Options-->File Locations in the end of the automation. Think could be done in Registry file. But don't know how to do.

Any help on this would be really appreciated!!!

Answer:

  1. Set that items to something you can recognise. Like C:\CATSANDDOGS

    Close Word.

  2. Run regedit and search for CATSANDDOGS See where it shows up

  3. Then use a registry fucntion, probably RegSetValue to set that registry entry to the desired value.

As a generic solution you might try regmon.exe from sysinternals. It watches the registry and records any accesses ,&/or changes. The output can get to be a bit cumbersome. Another possibility is regsnap @ http://soft4you.com . You take a snapshot before & after & it does a comparison.

Can be real handy trying to run down registry items/changes.


For a network-neutral "snapshot" tool, I would recommend you browse on over to http://www.altiris.com and look at their Rapid Install product.

If you are in NetWare 4.x or 5.x environment then I highly advise you to look at the ZenWorks SnapShot utility (part what was formerly known as the NetWare Application Launcher, e.g. NAL product). The ZenWorks starter kit is FREE with NetWare 4.x/5.x. The SnapShot utility will take before and after snapshots of a workstation and it will journal ALL changes made during a software installation.

In situations where I want to use a WinBatch script to make a change, instead of a NAL kit, but I don't know what the change is I'll perform the configuration steps manually and let SnapShot journal the changes. Then I just read the plain-text output from SnapShot (e.g. a ".AXT" file) and then I write my WinBatch script to make the proper changes as identified by SnapShot.


Article ID:   W14392
Filename:   Compare Registry - Before and After.txt
File Created: 2001:07:13:11:06:28
Last Updated: 2001:07:13:11:06:28