Example: Managing Registry Information on a set of machines

Using a scope action, you can:

This tutorial includes an example for each objective.

Goal: Reporting Registry Information

You need to generate a report which returns the contents of the HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications key.

Solution

Goal: Detecting machines which have a Registry Value

You need to detect which machines have ASP.NET version 2.x installed. To do so, you want to detect all machines which have the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\2.xxxxx registry key configured.

Solution

Goal: Modifying machines Registry

The Scope Action feature provides you with many ways to modify the registry of your machines. You can create, set, modify or remove individual values and keys or upload entire registry key hives.

In this example, we need to transfer the entire set of configuration settings for a VPN client on a set of machines. The VPN Client settings are stored in the key: HKEY_LOCAL_MACHINE\SOFTWARE\VPNCPro. This registry key contains a lot of sub-keys and values, so it would be hard to configure a scope action to include an action for each individual registry object.  Instead, we will be save the entire key into a registry file and ask Goverlan to transfer and register this file into the registry of the machines.

Saving the Registry key, sub-keys and values into a file

Configuring the Scope Action

Viewing Execution Results

Once the scope action has been executed, you should check which machines were processed successfully and which machines failed.

If one or more machine failed to be processed in this run because they were temporarily unavailable, you can select to re-run the scope action only for these failed computers at a later time. To do so, select the scope action, right-click on the mouse and select Re-Run on Failed Objects.

You can also schedule the scope action to re-run periodically using the execution mode: Failed Objects Only - Merge Output Data (see: Scheduling a Scope Action). This method of execution only processes the machines which failed during the previous run.