Support Forum: Get Support for Patch My PC Products and Services

Commercial Products: Support for Our Enterprise Product for Microsoft ConfigMgr and Intune => Commercial/Paid Products: Support and General Questions (ConfigMgr and Intune) => Topic started by: Martin Krakau on October 27, 2020, 05:01:25 AM

Title: Detection Script for Dell Command Update is wrong
Post by: Martin Krakau on October 27, 2020, 05:01:25 AM
I'm using PatchMyPC with Intune Standalone Mode. The Installation of Dell Comman Update end with status failed.

I found this information in de Logs:

"C:\ProgramData\PatchMyPCIntuneLogs\PatchMyPC-SoftwareDetectionScript.log"
10/27/2020 10:57:47~[Dell Command* Update*  3.1.3]~[Found:False]~[Purpose:Detection]~[Context:NT-AUTORIT├äT\SYSTEM]~[Hive:HKLM:\SOFTWARE\microsoft\windows\currentversion\uninstall\*]
10/27/2020 10:57:47~[Dell Command* Update*  3.1.3]~[Found:False]~[Purpose:Detection]~[Context:NT-AUTORIT├äT\SYSTEM]~[Hive:HKLM:\SOFTWARE\wow6432node\microsoft\windows\currentversion\uninstall\*]


"C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\IntuneManagementExtension.log"
[Win32App] ===Step=== Set EnforcementStateMessage   IntuneManagementExtension   27.10.2020 10:52:37   5 (0x0005)
[Win32App] SetEnforcementStateMessageWithDetectionAfterExecution starts   IntuneManagementExtension   27.10.2020 10:52:37   5 (0x0005)
[Win32App] Exitcode is defined as success but it actually failed according to detection result   IntuneManagementExtension   27.10.2020 10:52:37   5 (0x0005)
[StatusService] Saved AppInstallStatusReport for user c3859031-686f-4d74-a1ae-44d126166584 for app 2270f62f-05ab-4dc1-a1e7-3d71a568e87b in the StatusServiceReports registry.   IntuneManagementExtension   27.10.2020 10:52:37   5 (0x0005)
[StatusService] Sending update from StatusServicePublisher.   IntuneManagementExtension   27.10.2020 10:52:37   5 (0x0005)
[StatusService] Received AppInstallStatusUpdate to send via Callback.   IntuneManagementExtension   27.10.2020 10:52:37   5 (0x0005)


The application is sucessfull installed.

I changed the Detection Methode in Intune to MSI product Code {0C8D5FDB-111E-4F8C-B469-5F330066410E} and the app shows as installed in the company portal.

Can you please check the dectection script please.


Title: Re: Detection Script for Dell Command Update is wrong
Post by: Support Team (Patch My PC) on October 27, 2020, 12:28:20 PM
If you delete the app in Intune and re-sync does the new version detect okay?
Title: Re: Detection Script for Dell Command Update is wrong
Post by: Martin Krakau on October 28, 2020, 04:57:43 AM
Yes, after deleting the app in intune an re-sync the detection works.

Thanks.