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:
- From the ManageSoft warehouse, expand the Scheduling node.
- Expand the schedule that contains the "Update Machine Policy" event you wish to edit.
- Right click the event and select Properties.
- On the General tab, click the Parameters button.
The "Specify additional parameters" dialog is displayed
- Enter your parameters. For example:
-o SaveAllUserSymbols=False -o SelfHeal=False
- Click OK.