Inventory tasks or policies fail with error -1, XML document must have a top level element

book

Article ID: 173681

calendar_today

Updated On:

Products

Inventory Solution

Cause

This is caused by Windows 10 native applications that have incorrectly formatted properties.

Environment

8.5x

Resolution

This issue will be addressed in 8.5 RU2.

To work around the issue, the scan of Windows 10 native applications can be disabled.

Create DWORD registry value:

  • Location Key: HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent\SMFAgent\Inventory
  • Property: DisableWindowsAppScanner
  • Value: 1

A .reg key can be delivered to all affected systems to add the above registry key, or a script to insert it.