none
Software Updates- Installed patches are showing as Not Installed and due to that machine showing as Non-Compliant

    Question

  • Hello All,

     

    In my infrastructure there are few servers which is now showing as Non-Compliant under "SCCM 2012 - Software Updates - Compliance 1 - Overall Compliance" Report.  I have checked that report in detail and found that any patches I had approved via SCCM is not installed in those machines as per report. In reality it is installed.

     

    I even tried reinstalling the client with no luck.

     

    I would really appreciate your help in resolving this issue?

     

    Thanks in Advance

    NSD


    Regards Nithin

    Tuesday, November 05, 2013 11:01 AM

Answers

  • are those servers all on the same OS?

    it might be a problem in wmi.

    try to run this script:

    Option Explicit
    On Error Resume Next

    Call RefreshServerComplianceState

    ' WScript.Echo "Finished"

    Sub RefreshServerComplianceState()

        ' Initialize the UpdatesStore variable.
        dim newCCMUpdatesStore
       
        ' Create the COM object.
        set newCCMUpdatesStore = CreateObject ("Microsoft.CCM.UpdatesStore")

        ' Refresh the server compliance state by running the RefreshServerComplianceState method.
        newCCMUpdatesStore.RefreshServerComplianceState
       
        ' Output success message.
    '    wscript.echo "Ran RefreshServerComplianceState."

    End Sub

    Wednesday, November 06, 2013 7:14 AM

All replies

  • are those servers all on the same OS?

    it might be a problem in wmi.

    try to run this script:

    Option Explicit
    On Error Resume Next

    Call RefreshServerComplianceState

    ' WScript.Echo "Finished"

    Sub RefreshServerComplianceState()

        ' Initialize the UpdatesStore variable.
        dim newCCMUpdatesStore
       
        ' Create the COM object.
        set newCCMUpdatesStore = CreateObject ("Microsoft.CCM.UpdatesStore")

        ' Refresh the server compliance state by running the RefreshServerComplianceState method.
        newCCMUpdatesStore.RefreshServerComplianceState
       
        ' Output success message.
    '    wscript.echo "Ran RefreshServerComplianceState."

    End Sub

    Wednesday, November 06, 2013 7:14 AM
  • Hello,

    These servers are having different OS. 

    What exactly is gonna happen if i run this script. I would like to know what is gonna happen in background.

    Also please let me know from where do i need to run this script.

    Thanks

    NSD


    Regards Nithin

    Wednesday, November 06, 2013 7:21 AM
  •   ' Refresh the server compliance state by running the RefreshServerComplianceState method.
        newCCMUpdatesStore.RefreshServerComplianceState

    This is what will happen. It has to be run on the client.

    Torsten Meringer | http://www.mssccmfaq.de

    Wednesday, November 06, 2013 8:24 AM
  • Hi,

    Please check the following log files.

    CAS.log

    Content Access service. Maintains the local package cache on the client.

    UpdatesDeployment.log

    Provides information about the deployment on the client, including software update activation, evaluation, and enforcement. Verbose logging shows additional information about the interaction with the client user interface.

    UpdatesHandler.log

    Provides information about software update compliance scanning, and the download and installation of software updates on the client.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

    Thursday, November 07, 2013 1:54 AM
  • Hi ,

    I tried this script , but no luck. :(

    Regards

    Nithin


    Regards Nithin

    Thursday, November 14, 2013 10:10 AM
  • I tried this script , but no luck. :(

    What doesn't work? What error are you getting?  Did you run this script on the affected PCs?

    http://www.enhansoft.com/


    Saturday, November 23, 2013 4:43 PM
  • I didnt get any error message after running the script. At the same time, it didnt fix my issue.

    Regards

    Nithin


    Regards Nithin

    Sunday, November 24, 2013 3:20 AM
  • I didnt get any error message after running the script. At the same time, it didnt fix my issue.


    What did the log say? Did they show that they re-scanned the PC for SU?

    http://www.enhansoft.com/

    Sunday, November 24, 2013 6:05 PM