A Software Delivery policy, Patch Management policy, or task executes on machines it should not target, runs outside its scheduled maintenance window, or repeats when it should not. In some cases the policy or task no longer exists in the SMP Console after the incident, making the audit trail harder to reconstruct.
This article covers what to collect and where to look to identify whether the cause was a configuration problem, a detection or applicability rule failure, a human change, or a product behavior issue. It applies to Managed Delivery policies, Software Update policies, and Task Server tasks in ITMS 8.x on-premise.
Scenario | Description |
Wrong-target failure | The policy ran on machines outside its intended scope. Cause is usually a target filter, applicability rule, or detection rule problem. |
Wrong-time failure | The policy ran outside its schedule or restriction window. Cause is usually a schedule misconfiguration, a policy being inadvertently enabled, or the Default Software Update Plug-in (DSUP) being active unexpectedly. |
SWD loop after restart | A specific job within a multi-job Managed Delivery policy repeats after every reboot because the nextjobindex value in the client task data does not advance past a given step. |
IT Management Suite 8.x (on-premise) Client Management Suite |
Software Management Solution Patch Management Solution Symantec Management Agent |
A policy or task delivery follows this sequence:
|
Determine whether the issue is a wrong-target failure, a wrong-time failure, or a SWD loop. This determines which artifacts to collect first.
If the policy or task still exists in the SMP Console, check Properties → Audit tab immediately. This tab shows when the item was last modified and by whom. It is unavailable once the item is deleted.
Figure 1 — Policy Properties → Audit tab. Check this immediately while the policy still exists.
Collect these artifacts as close to the incident time as possible. Log data can be overwritten by subsequent activity.
NS logs from the time of the incident:
|
Server-side policy XML:
In the SMP Console, right-click the policy → Export.
For Managed Delivery policies, also right-click each participating software component → Detailed Export. This exports the complete collection of items associated with each software component and is required to reproduce the policy behavior in a test environment. Tasks referenced in the policy are included automatically; do not export them separately.
Figure 2 — Detailed Export options for each software component participating in the policy.
Figure 3 — Detailed Export dialog. Select all applicable options shown.
Agent logs from the time of the incident:
|
Client policy XML (only useful if the policy is still active on the client—it is removed once the policy is retracted):
|
Task history folder (collect as a zipped archive):
|
For Managed Delivery policies — Software Management data folder (zipped; exclude SoftwareCache_v2.xml if it is large):
|
Client-side active SWD policy file:
|
Note: |
For patch policies — patch install log:
|
For patch policies where detection rules appear to be failing — patch assessment log:
|
Review the following in the SMP Console:
If the policy or task no longer exists in the SMP Console, query Evt_NS_Item_Management to find deletion and modification events:
|
Note: |
To locate the item's GUID across all database tables, see Find all tables that contain a specific GUID (KB 171823).
If a specific job within a multi-job Managed Delivery policy repeats after every reboot, the nextjobindex counter may not be advancing. Follow these steps:
Workaround: |
Item Trackers provide in-depth auditing of changes made through the SMP Console. See Using Item Trackers to audit/research who made changes in the Management Console (KB 173483) for setup steps, including a Samples.xml file covering patch and software management trackers.
Item Trackers are found at: Settings → Notification Server → Internals → Item Tracking → Item Trackers
Add the following registry values on affected client machines. Restart the Symantec Management Agent service after making changes.
|
After troubleshooting, revert: set Severity to 7 (hex), and delete MaxFiles and MaxSize.
Add or confirm the following registry values on the SMP server. Restart the Altiris Services service after making changes.
Note: |
|
After troubleshooting, revert all three keys to their previous values. If they did not previously exist, delete them.
If patches were pushed to servers outside their maintenance window and no custom policy appears responsible, check whether the DSUP was inadvertently enabled.
The DSUP is active by default. If it is left enabled between patching cycles, it can push patches to servers that are in scope before their scheduled maintenance period begins. There is no way to determine who enabled the DSUP after the fact unless Item Trackers were configured beforehand.
To prevent recurrence:
Confirm the root cause has been identified when:
What are some ways to identify if a computer received a security update? (KB 400886)
Software Management 8.x Best Practices and Troubleshooting Guide (KB 175693)
Using Item Trackers to audit/research who made changes in the Management Console (KB 173483)
Find all tables that contain a specific GUID (KB 171823)
ITMS TechDocs — About Policy Applicability, Compliance, and Remediation