M100333: SelfHeal behavior when using ndpolicy.exe

This article describes ManageSoft SelfHeal behavior when using ndpolicy.exe.

By default, ManageSoft records any symbols applied when installing an application in a ManageSoft symbol file (.sym). This file is located in the same folder as any cached details for that application.

Symbols stored here are from the command line (apart from some internal ManageSoft symbols). Symbols are saved and reapplied if a package is self healed.

The policy command line passes any command line arguments (symbols) to the ManageSoft installation agent on the managed device. By default, these symbols are then saved away and used for subsequent invocations of ManageSoft on that package.

If the command line option SelfHeal=False is set on the first application of policy, the symbols are saved and reapplied. If, however, the next time policy is applied *without* the command line option being set, symbols will still get applied.

Therefore, when applying command line arguments to policy you need to decide whether you want the symbols to be persistent and reapplied on subsequent policy runs. If you do, then you don't need to do anything but set the -o options on the command line.

If you *do not* want them to be persistent, then you should add the option: -o SaveAllUserSymbols=False

Note: -o SaveAllUserSymbols=False must appear before the symbols you do not wish to save.

Command line example
ndpolicy.exe -o SaveAllUserSymbols=False -o SelfHeal=False

User interface example:

  1. From the ManageSoft warehouse, expand the Scheduling node.
  2. Expand the schedule that contains the "Update Machine Policy" event you wish to edit.
  3. Right click the event and select Properties.
  4. On the General tab, click the Parameters button.

    The "Specify additional parameters" dialog is displayed

  5. Enter your parameters. For example: 
    -o SaveAllUserSymbols=False -o SelfHeal=False
  6. Click OK.

Comments

Powered by Zendesk