Any reports in MECM to get devices not patched since last 90 days

Devraj Mukherjee 1 Reputation point
2021-03-05T16:39:15.133+00:00

I have a requirement to check which devices are not patched since last 90 days. Is there any way I can get that. idea is to find the devices which are not getting patched month by month.

Microsoft Configuration Manager Updates
Microsoft Configuration Manager Updates
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Updates: Broadly released fixes addressing specific issue(s) or related bug(s). Updates may also include new or modified features (i.e. changing default behavior).
960 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Youssef Saad 3,401 Reputation points
    2021-03-05T20:13:37.757+00:00

    Hi @Devraj Mukherjee ,

    Either you can check under Monitoring > Deployments node for which devices are not patched in the latest Tuesday patches or try with CMPivot following the below article:

    See also:

    Regards,


    Youssef Saad | Blog: https://youssef-saad.blogspot.com
    Please remember to ** “Accept answer” ** or upvote for useful answers, thank you!

    2 people found this answer helpful.
    0 comments No comments

  2. Amandayou-MSFT 11,046 Reputation points
    2021-03-08T08:07:27.14+00:00

    Hi @Devraj Mukherjee ,

    Agree with YoussefSaad, Configuration Manager CMPivot tool allows us to quickly assess the state of devices. When we run a query against a device collection, the CMPivot shall run a query in real-time on all currently connected (online) devices in the selected collection.

    Besides, we could use SQL script to query that the date the patch was last installed on the device, and then check again for devices that have not had patches installed in the last 90 days. Here is the article we could refer to:
    https://www.attosol.com/sccm-custom-sql-query-for-patch-compliance/
    Note: This is non-official Microsoft article just for your reference.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  3. Garth Jones 2,071 Reputation points
    2021-03-08T14:22:45.773+00:00

    You can try this free report. https://w3.enhansoft.com/giveaway it is only available this month.

    0 comments No comments

  4. Jay Mulwani 0 Reputation points
    2023-07-12T16:50:29.2133333+00:00
    1. Create Configuration Item Add code below
    $Days = 90
    $Result = Get-WmiObject -Class win32_quickfixengineering |  Where-Object { $_.InstalledOn -gt (Get-Date).AddDays(-$Days) }
    If ($Result -ne $null) {
    	Write-Output "Compliant"
    }
    else {
    	Write-Output "Non-Compliant"
    }
    
    1. Ensure the Compliance Rules is set to "Compliant" for Value
    2. Check option to Report Noncompliance if this setting is not found
    3. Create Configuration Baseline
    4. Deploy the your collection of choice
    5. Right Click on Deployment > Create New Collection > Non-compliant

    All the Non-compliant devices should be devices that have not patched in the last 90 days ;)

    0 comments No comments