Prepare Devices for Warranty Reporting in Patch My PC Advanced Insights for Intune
Applies to: Advanced Insights for Intune
The Patch My PC (PMPC) Client collects warranty data that manufacturer software publishes locally on Windows devices. Configure the relevant manufacturer component before you expect warranty data to appear in the Warranty tab on the Hardware page.
Supported manufacturers
The device client currently collects warranty data for the following manufacturers.
Dell
Dell Command | Monitor
WMI
DCIM_AssetWarrantyInformation in root\DCIM\SYSMAN
HP
HP Client Management Script Library (HPCMSL), with warranty data populated
WMI
HP_Warranty in root\HP\InstrumentedServices\v1
Lenovo
Lenovo Commercial Vantage, with warranty publishing enabled
WMI
Lenovo_WarrantyElement in root\Lenovo
Before you begin
Confirm that:
The Patch My PC Client is installed and enrolled.
The manufacturer component has published warranty data on the device.
The device can complete its normal inventory upload to PMPC Cloud.
Configure Dell devices
The device client reads warranty data captured by Dell Command | Monitor.
Install Dell Command | Monitor on each supported Dell device using your normal device-management process.
Allow Dell Command | Monitor to populate its warranty data.
Allow the next PMPC warranty inventory run to complete.
The device client reads these Dell fields when available:
Warranty name
Identifying number
Warranty duration
Start date
End date
Last refreshed date
If the WMI class is missing, the device client reports that the Dell dependency is missing. If the class exists but contains no records, Dell Command | Monitor may not have refreshed the warranty data yet.
Configure HP devices
The device client reads warranty data that the HP Client Management Script Library (CMSL) publishes through HP Instrumented Services.
Install HP CSML using HP's supported deployment method.
Open an elevated PowerShell session.
Run the HP CMSL warranty command:
Confirm that HP populated the warranty class:
Confirm that the command returns one or more warranty records.
Allow the next Patch My PC warranty inventory run to complete.
The device client reads these HP fields when available:
Service type
Serial number
Warranty start date
Warranty end date
Last HPCMSL check
If the WMI class is missing, the device client reports that the HP dependency is missing. If the class exists but contains no records, HP CMSL may not have refreshed the warranty data yet.
Configure Lenovo Commercial Vantage to expose warranty information in WMI
Patch My PC can collect Lenovo warranty information from Windows Management Instrumentation (WMI). Before warranty information can be collected, Lenovo Commercial Vantage must be installed and configured to publish warranty data to WMI.
Lenovo stores warranty information in the ROOT\Lenovo namespace using the following classes:
Requirements
The device must have Lenovo Commercial Vantage installed. This can be achieved by deploying the Lenovo Vantage Service application from the PMPC Cloud Catalog. The application uses Lenovo's full Commercial Vantage installation command:
This installs the Commercial Vantage application, the Critical Service for Lenovo Vantage, and the required Vantage add-ins.
Configure the warranty WMI policy
Create a deployment for Lenovo Vantage Service in PMPC Cloud with the following settings:
Open the deployment.
Go to Configurations.
Expand Scripts.
Under Install Scripts, add a Post-Install script.
Add the PowerShell script below.
The resulting registry configuration is:
Allow time for Lenovo to populate WMI
Warranty information is not populated immediately after the policy is enabled.
In Patch My PC testing, Commercial Vantage populated the Lenovo warranty WMI classes approximately five minutes after the Lenovo Vantage Service was restarted.
Verify the configuration
To confirm the registry policy
Run:
Expected value:
To confirm the Lenovo warranty WMI classes
After allowing Lenovo Commercial Vantage time to retrieve and publish the warranty information, run:
Expected output:
To view the warranty summary
To view individual warranty entitlements
Troubleshooting
To confirm Lenovo Commercial Vantage is installed
Run:
A successful Lenovo Commercial Vantage installation should return a package named:
The Consumer Lenovo Vantage application uses a different package identity:
To confirm the Lenovo Vantage Service is running
Run:
The service normally appears in Windows Services as:
If the registry policy is present but the warranty WMI classes are still missing, restart the service:
Then wait several minutes and check WMI again.
To confirm the WMI namespace exists
Run:
If ROOT\Lenovo does not exist immediately after installation or service restart, wait several minutes and retry.
Expected result
Once Lenovo Commercial Vantage has processed the policy and completed the warranty lookup, the following classes should be available under ROOT\Lenovo:
Lenovo_WarrantyInformationLenovo_WarrantyElement
Patch My PC can then use these classes to discover Lenovo warranty information from the endpoint.
How the device client collects warranty data
On each scheduled warranty inventory run, the device client:
Checks whether warranty inventory is enabled for the device.
Selects a provider that matches the device manufacturer.
Reads warranty records from the manufacturer's local WMI or CIM class.
Maps each manufacturer entitlement to a warranty record.
Sends only changes through the normal inventory delta pipeline.
When warranty inventory is disabled, the device client skips collection and leaves previously reported warranty data unchanged.
When a provider fails after previously reporting warranty data, the device client retains the last known records and marks their source as failed. This prevents a temporary manufacturer-component failure from deleting the last known warranty dates.
Warranty source status
Warranty source status explains whether the device client could read the manufacturer data source. It is separate from any warranty status displayed in the table.
Success
The device client read the manufacturer's source and returned warranty data.
Dependency missing
The manufacturer applies to the device, but the required WMI or CIM class is missing. Install or configure the required manufacturer component.
Failed
The provider applies to the device, but the collection attempt failed. The device client retains previously reported warranty records when possible.
Unknown
The source has no recorded collection outcome.
A supported device might not have warranty data in the table when its source status is Dependency missing or Failed and no previous record is available.
To verify collection
After the next warranty inventory run:
Open the Hardware page and click the Warranty tab.
Search for the device.
Confirm that the warranty name, start date, end date, and source match the manufacturer data.
If the device has no warranty data, verify the WMI or CIM class again and review the Patch My PC Client log.
The Patch My PC Client writes warranty collection messages to Client.log.
Last updated
Was this helpful?