Discussion Locked

Doing a registry query

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I need to come up with a method that would allow me to query remote registry settings, or a method that would alert me to changes made to a specific key on a remote machine.

Does anyone know of such utility software or ways to accomplish this?
Tom Morris

6 replies

by sheryl v

I stole this from a Tech Republic E-Mail Tip, I remebered reading it when I saw your question. Hope it helps. My guess is you can find out more about it searching the tips on this site regarding it. To sign up for the 95/98/NT Tips go to:

https://www.techrepublic.com/techmails.jhtml

Today's Windows 95/98 Tip

AN EASY WAY TO DISTRIBUTE REGISTRY CHANGES
In many of our tips, we discuss registry changes that might be of
benefit to you or your users, cautioning always, of course, to be sure
you have a verified backup before beginning. These registry tweaks can
be put together in .reg files for distribution. The syntax of the .reg
file is simple, as in this example:

REGEDIT4
[HKEY_USERS\,DEFAULT\Software\MicrosoftWindows\CurrentVersion\Internet Settings]
"GlobalUserOffline"=1

By default, there's a file association created in Windows that lets
users double-click on a .reg file and then confirm the action, thereby
merging the contents of the file into the local registry. It's your job
as the administrator, of course, to get that .reg file out to all your
users. If your users don't run login scripts or are geographically
remote, this might seem problematic, but there's a simple solution. If
you have e-mail within your organization (and who doesn't these days?),
there's no reason why the .reg file can't be distributed as an
attachment. Just send an accompanying note that explains the change and
reminds users to confirm the action once they've double-clicked the
file open.

by it-sage (bschirf)

I use SMS Installer (from the NT BackOffice CD) Even though this utility comes with Microsoft's SMS, it does not REQUIRE it to be installed anywhere.

SMS Installer (or Windows Installer on the W2K Server CD) is just a utility to create an executable package to distribute software.

One of the neat scripting features within this is that you can query the registry for specific values. If found, place a certain file somewhere on the HD. if not found, place a different file.

A batch filecould launch this executable. Once the executable finishes running, the batch file could check to see which file exists and then perform some action.

Or, you could just code that action into the SMS Installer script so that the executable does whatever you want it to do.

Unfortunately, the only other command line Registry searching utility is "Registrar for the Command Line 1.00" found at Download.com

HTH...

This discussion is closed to new replies.