How to Quickly Determine Whether or not Specific Hotfixes or Updates are Installed?

I have a handful of applications that require specific hotfixes or updates to be installed.  An excellent example of this is Internet Explorer 11 which has
9 prerequisites. (well only 6 are required, the remaining 3 prerequisites provide a better experience.)
Is there a reliable & fast way of checking for whether or not a specific hotfix and/or patch/update has been installed? 
I am aware of `wmic qfe` but
According to
this, it will only "retrieve updates for Windows OS itself and its components (such as Windows Internet Explorer (IE) or Windows Server roles and features)"
Even if I'm checking for just 1 hotifx, it takes roughly 6 seconds to retrieve that information.  When we're checking for dozen or two hotfixid's that quickly adds up. `Measure-Command {wmic qfe where "hotfixid='kb982018'"}`  So
for IE11, we're looking at nearly 1 minute of waiting.  Nonsense.
Note: I'm not asking "is my system patched?" nor am I asking for a report of installed patches.  I could use WSUS, SCCM, MBSA and a multitude of other solutions for that.  I need something scriptable that will install a specific prerequisite
at runtime, so I'm looking for a batch/vbscript/powershell solution that'll be quick, like 1 second quick, not 5+ per KB.

Thanks.  I'm no expert.  I don't have a slew of characters before or after my name.  This isn't an I'm right/you're wrong situation.  I don't claim to know everything - just trying to mitigate the questions I know I'm going to be asked.
Prior to posting, I saw
your post here (which is great I might add) which works, and it will work for determining whether or not a machine has a specific update/hotfix installed.  But it consistently took 6 seconds to retrieve a single result on our assets.  This
was on a Core i7 with 8GB and an SSD running Windows 8.1 Pro.  This doesn't bode well for our day-to-day systems which are Core 2 Duo's with 4GB and spindle disks.  Unless my math is wrong, if I'm checking for all 6 possible required IE11 prereqs
thats 36 seconds of wait time just for WMI queries.  I'm just shocked it takes so long which made me wonder whether or not there was a faster retrieval method.
Why would I think there's a faster method?  The closest example I can think of might be a software install.  Sure, I can query WMI, but that too takes a while.  But I could a
`reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{product code}` or `reg query HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox 29.0.1 (x86 en-US)`
then check errorlevel to determine if the product was installed, right?  Or take it a step further & check the `/v Version` to make sure it matches what I expect it to be, right?   We don't have fancy tools here like Altiris or SCCM
:(  Reg query just appears to be significantly faster than wmic/gwmi in that specific scenario.  That gave me hope there
might be a faster option for checking for installed updates & hotfixes.
IE11
tries to install the proper prerequisites.  If that fails, they'll have to be done manually. 
And it just so happens that the IE11 install
does fail in our environment when we don't install the manually.  Fortunately we're not ready to deploy IE11, so there's no rush to push IE11.  I was merely using IE11 as an example because by virtue of the articles existence, this
is a possible real-world scenario.  If I know that we can safely regression test the 6 patches for IE11, and just have it be an optional installation for the users that want or need it, then I can add the prerequisite logic to the script to help ensure
a successful installation.  Again, an IE11 deployment isn't the goal here.  IE11 is just the example.

Similar Messages

  • How do I Determine the latest product-specific patches for EBS 10.1.1 updgr

    I am in the process upgrading EBS 11i to 12.1.1 and currently at step 3:12 of page 3-6 (Apply latest product patches (required)) of doc Part No. E16342-03.
    How do I determine the latest product-specific patches - EBS in particular?
    Can someone give me the link for the "download the American English patches."
    Thanks and God blesss.
    Mathias

    Hi,
    1) Is there a script that I can execute to find out exactly which are the installed products on our system so as to select the right products from the 'Product or Product Family'?How to Establish if a Product is Installed in e-Business Suite 11i [ID 420648.1]
    2) I have installed 12.1.1 and I believe I have to upgrade to 12.1.3 but with the dozens of documentations around the upgrade it is just so difficult to pinpoint exactly which way to move forward with. For example I have lead to
    Oracle E-Business Suite Release 12.1.3 Readme [ID 1080973.1] and I am wondering if I should follow the guidlines in this document?You will need to follow all the documents listed in
    Database Preparation Guidelines for an E-Business Suite Release 12.1.1 Upgrade [ID 761570.1]
    Interoperability Notes EBS R12 with Database 11gR2 [ID 1058763.1]
    Database Initialization Parameters for Oracle Applications Release 12 [ID 396009.1]
    Upgrading OracleAS 10g Forms and Reports in Oracle E-Business Suite Release 12 [ID 437878.1]
    Oracle E-Business Suite Release 12.1.3 Readme [ID 1080973.1]
    R12.1: Oracle Financials Pre-Upgrade Patch - Supplemental List for EBS CUP [ID 1127593.1]
    EBS: R12.1 Oracle Financials Recommended Patches [ID 954704.1]
    Thanks

  • How does one know whether or not they use "Java applets"?

    The support doc for the recent Java update (Update 8, for Snow Leopard), entitled "About Java for Mac OS X 10.6 Update 8," advises the following:
    If you do not use Java applets, it is recommended that you disable the Java web plug-in in your web browser.
    How does one know whether or not they use "Java applets"?
    Thanks.
    URL:  http://support.apple.com/kb/HT5243

    K.S. wrote:
    dymar wrote:
    Also, how would I know that a missing applet was causing some feature(s) not to work in a situation where no error mesage was returned?
    Sometimes you have to dig to find out: http://earthnow.usgs.gov/earthnow_app.html
    doesn't tell you directly, but it is mentioned in the FAQ that Java is required. If the content is appropriate, you can always ask here.
    Thanks.  According to that webpage, my "Java is out of date."  When an error message like that is returned, I guess it's clear that "it's a Java problem."  Presumably, one would then just go to java.com and download the applet if he/she wanted to view the webpage.
    I was wondering more about situation when unexplained problems that involved missing Java applets weren't noted in error messages.
    But maybe I'm worrying about something that doesn't really need to be worried about.

  • I bought 2 new memory card to 4 grams each - replace them in your MacBook Pro 13-inch but it will not turn on - If you are installing a card for 2 and one for 4 d all works - tell me what could be the problem

    I bought 2 new memory card to 4 grams each - replace them in your MacBook Pro 13-inch but it will not turn on - If you are installing a card for 2 and one for 4 d all works - tell me what could be the problem

    I assume that you have installed new RAM in your MBP.
    It would be helpful if you indicated the EXACT model/year MBP that you have.
    What the the RAM specifications that you are trying to install?
    Ciao.

  • Servers where patches will not install automatically or manually, Live updates are broken and when checking installed updates shows "NO UPDATES ARE INSTALLED ON THIS COMPUTER" SFC \SCANNOW will not run

    Hello, (Bit of a long one but please read)
    We have 3 servers in same physical location and server OU etc that are exhibiting the exact same behaviors (we have server servers in this location that are not), as above theyt are all W2008 R2 SP1 and all built from the same standard
    image we use on hundreds of other computers, they have also been in production for different amounts of time and we started to see this behavior at different times with them: (Its odd they are all in the same site where there are also several other servers
    that are not effected, there must be a link ? )
    These servers are all missing several patches when checking our internal tool that reports from IBM endpoint management that we use to deliver patches (they are not all missing the exact same patches some ore or less than other), although
    SCCM (we used SCCM to deliver patches until around 6 months ago) and IBM EM are both running (some ptches hark back to the SCCM Delievry days) they are not patching and when attempting to patch manually by downloading the exact patch coresponding to the fixlet
    ID and the KB , the stanbdalone installer starts and after some time you receive an error message “The update is not applicable to yoru computer”. Windows update returns error 80070006 for all of the servers.
    it is worth noting that other applications and products also using the .MSU extension will insatll so it is not a problem with the installer service.
    The above led me to think a corrupt patch may have stopped the sequence of patching so I then looked in “Programs and Features” => “Installed updates” and this is blank for all of them returening the message:
    “NO UPDATES ARE INSTALLED ON THIS COMPUTER”.  (this I believe is a part of the fundamental issues and resolving this may resolve the patching)
    Another issue is that if you run  “SFC /SCANNOW” It starts the scan and then returns: “Windows Resource Protection could not perform the requested operation” (Also in safe mode and both from an elevated CMD and WMI is started as a service)
    The all three are probably related so I think fixing the “SFC and NO UPDATES SHOWN” issues will resolve the first.
    The things I have tried so far are:
    Running : wmic qfe list full /format:htable > c:\updates.htm             Should produce a list of updates but instead returns :  No Instance(s) Available (this is not hopeful)
    Fix: Ran the “SYSTEM UPDATE REDINESS TOOL” from  http://support.microsoft.com/kb/947821
    Result : Update Ran successfully but NO CHANGE
    Fix: Ran the automated and manual fix “RESET WINDOWS UPDATE COMPONENTS” here :
    http://support.microsoft.com/kb/971058/en then undated windows update agent.
    Result : All ran successfully and NO CHANGE
    Fix: Ran MBSA
    Result : Runs successfully and then stays at “Done downloading security update information” (Log gives no obvious information)
    Fix: Renamed the software distribution folder/restarted services (Various variations of this fix online, tried a few)
    Result: Runs as described in article with new Software distribution folder being created,
    NO CHANGE
    Fix: Create/Correct the  reg key for windows trusted installer located here HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Version (several articles relating to this and the above issues)
    Result: the existing key was correct as should be from internal system information gathered , required in article.
    Fix: Ran the “Windows update trouble-shooter”
    as here :
    http://windows.microsoft.com/en-us/windows/troubleshoot-problems-installing-updates#1TC=windows-7
    Result:  It detected and fixed error’s but still no change.
    The WMI Repository checks out on them all for both of the methods I know to verify “Get-wmiobject –list |measure” and ensure count is over 900 and also “C:\>winmgmt /verifyrepository” and the repository came back as “WMI Repository is consistent”. I guess
    this is not hard evidence the WMI is OK, but these are the only methods I know.
    I have also tried removing the server from its OU , running a GP Update and then rebooting and testing but to no avail (Bit of a longshot but tried to link the distinction between the three servers and the OU GP is one of them)
    I have tried a few other articles registering .Dll’s etc , but I did not take a note of links as I was at the start of this and didn’t expect it to go so long so please reply with anything you see not above im happy to try again.
    I have thought about removing SP1 and reinstalling it but this will require a major downtime and only possible if the backup files of SP1 have not been removed.
    Any help is apreciated !

    Hi,
    Please try to rebuil the WMI repository.
    For detailed information, please refer to the blog below,
    http://blogs.technet.com/b/askperf/archive/2009/04/13/wmi-rebuilding-the-wmi-repository.aspx
    If issue persists, due to sfc doesn't work, could you try to repair your system with the installation disk?
    Best Regards.
    Steven Lee
    TechNet Community Support

  • Is there a fix to touch not working? All updates are done. Intermittent problem

    Is there a fix to touch not working? All updates are done. Intermittent problem

    Do a reboot by holding both the power and home buttons until the apple logo appears, ignore the red slider if that appears.
    If that does not help, take it to an Apple store genius bar and have the techs check it out to make sure there is not a hardware issue.

  • How to choose when windows updates are installed

    On previous versions of Windows I always used to set updates to be installed on a Monday, 6 days after Patch Tuesday, allowing enough time for any buggy updates to get redacted so I didn't end up with a bricked system.
    I cannot find how to do this on Winodws 8.1, there doesn't seem to be any option to choose when updates are installed.
    Snake

    Hi,
    You can control the schedule behavior via group policy, run gpedit.msc to launch the group policy editor
    Computer Configuration\Administrative Templates\Windows Components\Windows Update\Configure Automatic Updates, then change the options as you want
    after that, run gpupdate /force to update the policy
    Yolanda Zhu
    TechNet Community Support

  • How do I determine whether I have PCI Express v1.1 or v2.0?

    This article in Mac Fixit states that computers with PCI Express v1.1 slots will NOT be able to take full advantage of OpenCL in Snow Leopard:
    http://www.macfixit.com/article.php?story=20090612121357227
    ... In terms of PCI Express, My Mac Pro is on the cusp. PCI 2.0 was announced in January 2007 and presumably made it's way onto the assembly line a few months after that. I bought my refurbished Mac Pro in June 2007. I can't determine in the System Profiler if I have PCIv1.1 or v2.0. Does anyone know how to find out? MacTracker and machistory.com haven't answered the question. It seems some of the MacPro1,1 models shipped with v1.1 and some with v2.0. How do I determine what I have? Thanks for your help!
    SPECS FROM MY SYSTEM PROFILER (SERIAL RM727......)
    GRAPHICS/DISPLAYS
    NVIDIA GeForce 7300 GT
    Chipset Model: NVIDIA GeForce 7300 GT
    Type: Display
    Bus: PCIe
    Slot: Slot-1
    PCIe Lane Width: x16
    VRAM (Total): 256 MB
    Vendor: NVIDIA (0x10de)
    Device ID: 0x0393
    Revision ID: 0x00a1
    ROM Revision: 3008
    PCI CARDS
    NVIDIA GeForce 7300 GT
    Name: NVDA,Display-B
    Type: display
    Bus: PCI
    Slot: Slot-1
    Vendor ID: 0x10de
    Device ID: 0x0393
    Subsystem Vendor ID: 0x0000
    Subsystem ID: 0x0010
    ROM Revision: 3008
    Revision ID: 0x00a1
    Link Width: x16

    How do I determine whether I have PCI Express v1.1 or v2.0?
    Hi,
    Open Apple System Profiler (About this Mac:More info) and look at the Hardware: Model Identifier. If it says Mac Pro 1,1 or Mac Pro 2,1 you have PCIe v1.1 slots.
    http://www.amug.org/amug-web/html/amug/reviews/articles/intel/macpro/
    If it says Mac Pro 3,1 you have PCIe v1.1 in slots 3 and 4 and PCIe v2.0 in slots 1 and 2.
    http://www.amug.org/amug-web/html/amug/reviews/articles/intel/macpro-2008/
    If it says Mac Pro 4,1 you have PCIe v2.0 in all four slots.
    http://www.amug.org/amug-web/html/amug/reviews/articles/intel/macpro-2009/
    Hope that helps!

  • How should we determine whether a business document is edi enabled

    Hi,
    One of my requirement is to find whether a business document is edi enabled or not.Example : Sales Order,ASN,PO,Planning Schedule,Warehouse Shipping Order,Warehouse Shipping Advice.The requirement is we should be able to send these documents to/from SAP system.
    Custom development is not preferred.Could any one help me in saying how should I research whether a these documents are EDI enabled or not.
    Regards ,
    Nagaraju Donikena.

    Nagaraju,
    If you are talking about IDOCs for the documents that you have specified, then they are NOT EDI enabled. EDI is nothing but a specific format.
    You might need a middleware.
    Regards,
    Ravi
    Message was edited by: Ravikumar Allampallam

  • How to get the web templates not specific to any locale GetAvailableWebTemplates

    Hi
    I am using spweb.GetAvailableWebTemplates((uint)1033, true) to get all the available web templates. Since i use 1033, i get the en-US site like Teams Site(en-US). But i would like to get the templates with locale not specific to any.
    like Teams site(All)
    How to achieve this.

    Hi,    
    The locale ID specified when a site definition is created which controls the default language used in the corresponding site template.
    If there are no other site definitions created based on other languages, then we can pass the default locale ID(1033) to the
    SPWeb.GetAvalableWebTemplates method, it will retrieve a collection of site templates which are created with locale ID 1033.
    The OOTB Teams Site template is created based on the locale ID 1033, so we can use this ID to retrieve it.
    Best regards
    Patrick Liang
    TechNet Community Support

  • How do I determine whether a serial number is still good?

    I have two serial numbers for Final Cut Studio, and one of them has been used. How do I determine which number is still good without installing the software?

    You can't. The only way you can tell if a serial number is already used is if you try to launch FCP and another machine on the same network already has FCP open with the same SN.  If the other machine isn't on...or not on the network, then FCP will launch fine. This is how you can install one copy of FCP with one SN onto two machines...a tower and a laptop...but use only one at a time...per the license agreement.

  • How can I tell whether or not a photo I delete from iPhone will also be deleted from iPhoto on my Mac?

    I would like to download the new iOS, however when I go to do that, a message tells me that I cannot because I need 4.6 GB of storage in order to install it. I only currently have 864 MB of storage available on my 16 GB iPhone 5s.
    The storage problem would be fairly easy to solve through deleting photos and/or videos, as the Photos & Camera app shows a current usage of 5.7 GB. I am perfectly comfortable deleting photos off my iPhone if I know that they will remain in iPhoto on my Mac. However, when I select photos to delete, the phone warns me that the photo(s) will also be deleted from Photo Stream on all my devices. I tested this with some photos I didn't care about (whether or not they got permanently deleted from all devices), and it is perplexing, because even though the iPhone warned me that the photos would be deleted on other devices, they have not deleted out of iPhoto on my Mac. I even Quit iPhoto and re-started it, but the photos are still there. Why would the iPhone claim that the photos would be deleted from other devices, but yet clearly the photos are not being deleted from my other device? This leaves me confused and unsure.
    Meanwhile, if I select a bunch of photos then click Delete, the phone warns me that SOME photos will also be deleted from Photo Stream on all my devices.
    I am very annoyed by the ambiguity of the word "some," and not being able to know for sure whether or not photos I delete off my iPhone will still remain in iPhoto on my Mac.
    I would just like a really clear answer if possible: currently all my iPhone photos are showing up in iPhoto on my Mac. If I delete photos off of my iPhone, will they or won't they be deleted from iPhoto on my Mac?
    Thanks if anybody can help.

    xcwomac wrote:
    I would just like a really clear answer if possible: currently all my iPhone photos are showing up in iPhoto on my Mac. If I delete photos off of my iPhone, will they or won't they be deleted from iPhoto on my Mac?
    Thanks if anybody can help.
    If the Photos have been moved into the Library (Events, Photos, Faces, Places) in iPhoto on your Mac (either because you did it manually or as a result of iPhoto > Preferences > iCloud > Automatic Import being on) then nothing you do on the phone will delete them from iPhoto on your Mac.
    If the Photos are ONLY in the Shared - iCloud section of iPhoto then you risk losing them as deleting them from Photo Stream will delete them from there.

  • Method to determine whether or not the main clip is playing

    Is there an AS3 method that will return whether or not the swf has been paused? I tried to google this but I'm not getting anything.

    I have no familiarity with Captivate.  Isn't there any ability for the captivate button to indicate that the pause has been executed?  Maybe you should try posting in the Captivate forum.

  • How do I determine if a non-LabVIE​W windows program is installed on a computer?

    I would like to know how to generate a true/false condition based on whether a program is installed on a target machine. I have a couple applications that need to self adjust with their functionality, based on which computer they are installed on, so I would only need to maintain one version of the code. The first step with the program would be to check program files, program files(x86), or the registry just to determine if the program is installed. The result will move to the next step, which is that if the program is not present, then is a specific GPIB device attached? I think i can determine that by trying to initialize the device, and reading an error cluster. What I am having trouble with is determining if a non-National Instruments related program is installed on the target computer. Any direction toward the solution is greatly appreciated.
    Solved!
    Go to Solution.

    The software I am searching for is only installed by me, so it would be in the default location, but I like the registry idea better anyway. I have not worked with registry searches before with LabVIEW, so a couple of pointers on how to do it would be great. The whole goal is to have the program decide which computer it is installed on, so different levels of functionality can be achieved with a "One size fits all" approach.

  • How can I tell which Apple Security Updates are installed?

    While troubleshooting a printer issue, I installed some 'Extra' printer profiles from my OS 10.6 Install DVD. After which, I got a dialog box from the Installer saying that I may have replaced some newer items with older ones, and it suggested I run the latest OS "Combo" installer. Which I did, even tho Software Update said I was up-to-date.
    But apparently, when I ran the "Mac OS X 10.6.8 Update Combo v1.1" -- it downgraded some of my Apple software to older versions. For example, I know for sure Safari was at 5.1.2 before I ran the Combo, and it's now at 5.0.5. Yet Software Update is not telling me about v.5.1.2, which it shows as already being installed (at a date prior to me running the Combo updater).
    So my question is:
    What other software might have been downgraded by the 10.6.8 Combo v1.1 -- and if Software Update thinks I running the current versions, how am I going to find out for sure?
    Obviously, I can check version numbers of my installed Apple software like iTunes and Aperture against the latest updates available at Apple Downloads, but I don't know how to check on background files like Security Updates, Java, etc.
    I am particularly concerned that I am running the latest Security Updates.
    Thanking you in advance,
    - gw

    steve626 said:
    "... There you will be able to see if a more recent version of Safari, etc. was replaced with an older version."
    Not exactly. That screen shows my most recent Safari update was 5.1.2 on 12/16/11 -- then it shows the Mac OS X Update Combined was installed on 1/2/12. That's when my Safari got downgraded to 5.0.5, but that detail is missing from the Installed Updates preference pane.
    It looks like once an update gets installed, Software Update remembers that -- but does not take the newer update off the list if an older version replaces it???
    So, even though I see Security Update 2011-006 was installed on 10/21/11, I'm not sure if the OS Combo Update replaced any security items with older bits. Is there anything specific to security updates that I might be able to check?
    -gw

Maybe you are looking for