How detect an Wusa update that it is installed.

Answered How detect an Wusa update that it is installed.

  • Tuesday, May 08, 2012 7:56 AM
     
     

    Hi,

    How detect an Wusa update that it is installed?

    When you install an msu update and it is already installed, how does wusa detect that that it is installed and dont install the update.

    I have try with sysinternal tool, WindowsUpdate.log, registy. When you install an MSI you can use the msi guid.


    /SaiTech




    • Edited by SaiTech Tuesday, May 08, 2012 7:57 AM
    • Edited by SaiTech Tuesday, May 08, 2012 7:58 AM
    • Edited by SaiTech Tuesday, May 08, 2012 7:59 AM
    •  

All Replies

  • Tuesday, May 08, 2012 9:50 PM
    Moderator
     
     Answered
    Since MSU packages are typically associated witih hotfixes, and hotfixes typically only involve one, or a very few, number of files, the best way to verify the presence of an MSU-based update is to review the file changes documented in the associated KB article and visually confirm their presence on the target system.

    Lawrence Garvin, M.S., MCITP:EA, MCDBA, MCSA
    Microsoft MVP - Software Distribution (2005-2012)
    My MVP Profile: http://mvp.support.microsoft.com/profile/Lawrence.Garvin

  • Monday, May 14, 2012 2:40 AM
    Moderator
     
     
    Hi,

    I would like to confirm what is the current situation? If there is anything that I can do for you, please do not hesitate to let me know, and I will be happy to help.

    Regards,
    Clarence
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contacttnmff@microsoft.com.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Wednesday, May 16, 2012 10:04 PM
     
     

    Hi,

    it is "Remote Server Administration Tools for Windows 7", Windows6.1-KB958830-x86-RefreshPkg.msu And I would like to install it with SCCM 2012 and there is a detection method if it is install. MSi get its guid but MSU?


    /SaiTech

  • Thursday, May 17, 2012 12:51 AM
    Moderator
     
     

    And I would like to install it with SCCM 2012

    You should inquire in the System Center Configuration Manager Software Distribution forum.

    Lawrence Garvin, M.S., MCITP:EA, MCDBA, MCSA
    Microsoft MVP - Software Distribution (2005-2012)
    My MVP Profile: http://mvp.support.microsoft.com/profile/Lawrence.Garvin

  • Thursday, May 17, 2012 10:28 AM
     
     
    ok, maybe you right, but I have no problem with the SCCM part, I have problem with the nature of the .msu file. So I thought WSUS folks was the one to ask.

    /SaiTech

  • Saturday, May 19, 2012 8:52 PM
    Moderator
     
     
    I have problem with the nature of the .msu file. So I thought WSUS folks was the one to ask.
    Nope. MSU and WSUS have absolutely zero in common.

    Lawrence Garvin, M.S., MCITP:EA, MCDBA, MCSA
    Microsoft MVP - Software Distribution (2005-2012)
    My MVP Profile: http://mvp.support.microsoft.com/profile/Lawrence.Garvin

  • Tuesday, May 22, 2012 8:56 PM
     
     
    Thanks, Lawrence for the information..

    /SaiTech

  • Thursday, May 31, 2012 6:59 PM
     
     

    Hi,

    it is "Remote Server Administration Tools for Windows 7", Windows6.1-KB958830-x86-RefreshPkg.msu And I would like to install it with SCCM 2012 and there is a detection method if it is install. MSi get its guid but MSU?


    /SaiTech


    Same problem, need to create detection method for sccm 2012 application deployment, otherwise all status messages will fail. Perhaps some registery key..?
  • Saturday, June 02, 2012 4:24 PM
    Moderator
     
     
    Same problem, need to create detection method for sccm 2012 application deployment, otherwise all status messages will fail. Perhaps some registery key..?
    Please ask Configuration Manager questions in the appropriate Configuration Manager forum.

    Lawrence Garvin, M.S., MCITP:EA, MCDBA, MCSA
    Microsoft MVP - Software Distribution (2005-2012)
    My MVP Profile: http://mvp.support.microsoft.com/profile/Lawrence.Garvin

  • Wednesday, November 14, 2012 2:12 PM
     
     

    Hi,

    one way would be to search for the Patch Code the registry and add this as powershell detection method:

    $str_PC = "{8E2CD0B5-0F4A-3ECD-98DA-3CC6B0428048}"

     Get-ChildItem HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall -rec -ea SilentlyContinue | foreach {
       $CurrentKey = (Get-ItemProperty -Path $_.PsPath)
       select-string $str_PC -input $CurrentKey -AllMatches | foreach {($_.matches)|select-object Value}
     }


    if ([System.IntPtr]::Size -eq 8) { 
    #"64-bit"
      Get-ChildItem HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall -rec -ea SilentlyContinue | foreach {
       $CurrentKey = (Get-ItemProperty -Path $_.PsPath)
        select-string $str_PC -input $CurrentKey -AllMatches | foreach {($_.matches) -ne $NULL | select-object value }

        
     }
     
     }

  • Friday, November 23, 2012 1:38 PM
     
     Answered

    Or.... Or

    Get-WmiObject -Class Win32_QuickFixEngineering -ComputerName . -Property HotFixId -filter "HotFixID = 'KB958559'"