Custom Report - Show Deployed, But Not Installed, Security Updates

I'm trying to create a custom report that will show all patches that have been deployed, but have not been installed for a particular collection. Any ideas?

Answered my own question.
This will pull all Security Updates that have been Deployed but are still Required (not installed) for the All Systems collection (SMS00001). You can directly modify the code to limit it to the All Servers or All Workstations depending on your site code. You
can also change the CategoryInstanceName filter to see different Update Classifications.
select distinct
sys.Name0,
ui.BulletinID as BulletinID,
ui.ArticleID as ArticleID,
ui.Title as Title,
catinfo.CategoryInstanceName as Vendor,
catinfo2.CategoryInstanceName as UpdateClassification,
CASE ((ui.IsDeployed))
When 0 Then 'No'
Else 'Yes' End as 'Deployed',
CASE((ui.Severity))
When 2 Then 'Low'
When 6 Then 'Moderate'
When 8 Then 'Important'
When 10 Then 'Critical'
Else 'NA' End as 'Severity'
from v_UpdateComplianceStatus css
join v_UpdateInfo ui on ui.CI_ID=css.CI_ID
join v_R_System sys on css.ResourceID=sys.ResourceID
join v_ClientCollectionMembers ccm on ccm.ResourceID=sys.ResourceID
join v_CICategories_All catall on catall.CI_ID=ui.CI_ID
join v_CategoryInfo catinfo on catall.CategoryInstance_UniqueID = catinfo.CategoryInstance_UniqueID and catinfo.CategoryTypeName='Company'
join v_CICategories_All catall2 on catall2.CI_ID=ui.CI_ID
join v_CategoryInfo catinfo2 on catall2.CategoryInstance_UniqueID = catinfo2.CategoryInstance_UniqueID and catinfo2.CategoryTypeName='UpdateClassification'
where css.Status=2
and ccm.CollectionID='SMS00001'
and ui.isDeployed=1
and catinfo2.CategoryInstanceName='Security Updates'
and catinfo.CategoryInstanceName = 'Microsoft'
order by sys.Name0, ui.ArticleID
select distinct
sys.Name0,
ui.BulletinID as BulletinID,
ui.ArticleID as ArticleID,
ui.Title as Title,
catinfo.CategoryInstanceName as Vendor,
catinfo2.CategoryInstanceName as UpdateClassification,
CASE ((ui.IsDeployed))
  When 0 Then 'No'
  Else 'Yes' End as 'Deployed',
CASE((ui.Severity))
  When 2 Then 'Low'
  When 6 Then 'Moderate'
  When 8 Then 'Important'
  When 10 Then 'Critical'
  Else 'NA' End as 'Severity'
from v_UpdateComplianceStatus css
join v_UpdateInfo ui on ui.CI_ID=css.CI_ID
join v_R_System sys on css.ResourceID=sys.ResourceID
join v_ClientCollectionMembers ccm on ccm.ResourceID=sys.ResourceID
join v_CICategories_All catall on catall.CI_ID=ui.CI_ID
join v_CategoryInfo catinfo on catall.CategoryInstance_UniqueID = catinfo.CategoryInstance_UniqueID and catinfo.CategoryTypeName='Company'
join v_CICategories_All catall2 on catall2.CI_ID=ui.CI_ID
join v_CategoryInfo catinfo2 on catall2.CategoryInstance_UniqueID = catinfo2.CategoryInstance_UniqueID and catinfo2.CategoryTypeName='UpdateClassification'
where css.Status=2
and ccm.CollectionID='SMS00001'
and ui.isDeployed=1
and catinfo2.CategoryInstanceName='Security Updates'
and catinfo.CategoryInstanceName = 'Microsoft'
order by sys.Name0, ui.ArticleID

Similar Messages

  • When trying to update and install Mountain Lion's 10.8.3 update from 10.8.2, the App Store will restart my computer but not install the update.  Any ideas on how to update my Macbook Pro 15" from 2008?

    I was wondering, does anyone have an idea on how to update my Macbook Pro 15" to Mountain Lion's 10.8.3 from Mountain Lion's 10.8.2 version?  When I attempt to use the App Store, it will restart my computer but it will not install the update.  The update also still shows up in the App Store as available and when going to "About my Mac," it still shows the current version being 10.8.2.
    Computer:
    Macbook Pro 15" Aluminum Body
    Purchased Late 2008
    Current OS: Mountain Lion 10.8.2
    Original OS: Leopard

    I will be attempting this fix this fix tonight:
    https://discussions.apple.com/message/21529499#21529499

  • When I check for software updates only itunes and random other updates show up but not security updates or safari update. When i check installed updates I realized my last security update was 2011-004 and I still have safari 5.0.6. Can anyone help me?

    When I check for software updates only itunes and random other updates show up but not security updates or safari update. When i check installed updates I realized my last security update was 2011-004 and I still have safari 5.0.6. Can anyone help me?

    Don't panic. OS X 10.5.8 is the most popular PowerPC OS out there. People run it everyday without security breaches, including myself. It isn't Windows!
    If you're really that worried, I highly recommend Sophos Anti-Virus for Mac Home Edition. Supports PowerPC & Intel and Mac OS X 10.4-10.7.
    http://www.sophos.com/en-us/products/free-tools/sophos-antivirus-for-mac-home-ed ition/system-requirements.aspx
    Direct download: http://downloads.sophos.com/home-edition/savosx_73_he.dmg

  • Apps installed from disk, but Application Manager shows them as not installed

    I have all Creative Suite (Master) apps installed from disk, but Application Manager shows them as not installed. Why?

    I find a way that could be firing this issue.
    First, I installed Creative Cloud in spanish language, then installed some apps like DW, PS, FW, FL, and some more.
    Then, some days ago, I realized that my apps were in spanish language, but I prefer them in english, so I switched the language of CC to english in settings options.
    Now, these apps installed in spanish language are marked as "not installed" and I see the option to install them. And applications installed before language change, are fine and tracked for updates.
    Maybe the issue is related to language changed, the CC manager can't track the language change.
    Hope to find a solution in short time, this could be a major issue for someone.
    At this time, I'm re-installing the apps in english, I think they must override the spanish ones.
    I'm using MacOS 10.8.4 (Mountain Lion) on MacBook AIR, Core i7 (if that make sense)
    Cheers!
    Mariano Carrizo

  • HT1923 Before I un-install itunes has anyone had a problem getting an ipad mini to show up in itunes as a device when connected to the computer? My old ipad shows up but not the new mini.

    Before I un-install itunes has anyone had a problem getting an ipad mini to show up in itunes as a device when connected to the computer? My old ipad shows up but not the new mini.

    Just wondered if anyone had any other suggestions.

  • Just installed security update 2014-002, now Itunes will not open. Have rstrated but no change, need help to fix, please

    Just installed security update 2014-002, now Itunes will not open, I have rebooted twice with no effect, I don't know what else to do to get my itunes back. Need help please

    Believe I've firxed my problem, at least, ITunes is now working again. I followed the information provided from a couple of posts on this thread, (1) re restarting with command-s held down; did it twice, made no differerence; (2) manually re-installed the Security update; no difference; each time restarting, no effect; (3) shutdown the computer; I did for 35 minutes, upon restart, ITunes is back to normal, seems to be working fine. Turning the computer off must clear the cache?

  • TestStand deployment does not install LabView on WinXp SP1

    I have built a TestStand 3.1 deployment that installs correctly on Windows XP SP2. However, when I install the same deployment on Windows XP SP1, it does not seem to get the LabView runtime installed correctly. LabView does not show up on the Start menu, and attempting to load any .seq files that use .vis lead to an error message about not being able to start the LabView ActiveX server.
    Any ideas what could cause this? I found the FAQ about running dcomcnfg.exe, and, of course LabView is not listed as a DCOM application on the Win XP SP1, but it is OK on Win XP SP2. That still doesn't tell me why it isn't loading - it just confirms that it isn't.
    Thanks and regards,
    Ed Kuzemchak
    Software Design Solutions, Inc.

    LabVIEW development system is the only thing that shows up in the start menu; the runtime engine does not have an entry there. Based on your messages I'll bet you have LabVIEW installed on your SP2 machine but not installed on the SP1 machine.
    Did you set the LabVIEW module adaptor to use the runtime engine instead of the development system?

  • I am unable to open Calendar on my iMac - this occurred after installing Security Update 2015-002.  I don't know if related.  A message pops up after several minutes saying Calendar quit unexpectedly (but it never really opens). How do get Calendar b

    I am unable to open Calendar on my iMac - this occurred after installing Security Update 2015-002.  I don't know if related.  A message pops up after several minutes saying Calendar quit unexpectedly (but it never really opens). How do get Calendar back?

    Hi Magsrobby,
    Welcome to the forum and thanks for posting. I'm really sorry to hear you've had so many problems. I can look into this for you if you wish. Drop me an email with the details. You'll find the "contact us" form in the about me section of my profile. Once I have the details we'll take it from there.
    Cheers
    David
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • Finder shows some but not all files in a folder

    In some circumstances, Finder only shows some (but not all) of the files in a folder. Why?
    I notice this with Excel autosave files in the Office 2011 Autorecovery folder (Macintosh HD ▸ Users ▸ Conor ▸ Library ▸ Application Support ▸ Microsoft ▸ Office ▸ Office 2011 AutoRecovery). In my case, Finder shows 34 files but "ls" in a Terminal window reports 40 files. The missing files do not start with a period (.) and have the same permissions as other files that show in Finder (-rw-r--r--@ 1 <myname>  staff). Here's the last four lines of "ls -al" - the first two appear in Finder, but not the last two:
    -rw-r--r--@  1 myname  staff    55296  8 Oct  2013 Word Work File D_1239425731.tmp
    -rw-r--r--@  1 myname  staff    55296  8 Oct  2013 Word Work File D_1240072173.tmp
    -rw-r--r--@  1 myname  staff    52796 13 Feb 11:08 safe1.xlk
    -rw-r--r--@  1 myname  staff    95320 12 Mar 16:06 safe2.xlk
    I have tried copying files from this folder to another folder, and/or changing their names. They still do not appear in Finder, nor are they visible in the File Open dialog of applications, even when the dialog is listing other files in that directory - but if I manually type the name into the File Open dialog, the app manages to find and open the file.
    If I Spotlight-search for the file name, or search in Finder, without specifying that specific directory ("This Mac"), the file is not found, but if I direct the Finder search at that particular directory, then the search returns the relevant files.
    So: why does Finder hide certain files when showing a folder, even though it can find and show those files if you specifically ask for them?
    Now using OSX 10.10 (Yosemite), but I'm pretty sure I noticed this on OSX 10.8 as well.

    So simple - thanks. I'd not been aware of the hidden flag, and now I've found the -O option on ls to display it.
    Follow-on question: I now see that you can change the system-wide defaults to display hidden files with this...
         defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder
    ...but is there a way to specify this on a per folder basis? I'm happy enough to hide hidden files in general, but it would be nice if I could set an attribute/flag/whatever on the Office AutoRecovery directory that told Finder "in this folder, always display hidden files". Can I do this?

  • Report Viewer controls are not installed

    Hi guys
    I try to install the Management/Web console on my workstation and it will tell me the Report Viewer Tools is not install. The setup will then give me a link to where to download it which is here
    http://www.microsoft.com/download/en/details.aspx?id=6610 - I then download and install it and rerun the setup only to be stopped at the exact same screen asking to install the Report Viewer
    Tools. I'm running RC 2012
    Why would this happen?

    You can upgrade from RC to RTM but it is unsupported unless you are on the SCOM TAP program - feel free to post here and we'll try and help. The instructions are basically the same as for a SCOM 2007 R2 to SCOM 2012 GA upgrade so disable notifications, connectors
    and importantly, there is a SQL script to run against the OperationsManager database at the end.
    Agents will go pending approval and you just need to approve them on completion of the upgrade.
    If you ACS installed, then upgrading disables all forwarders (a feature!). You just need to reenable after the upgrade.
    To remove the 180 day timebomb from RC, follow these instructions:
    http://support.microsoft.com/kb/2699998
    Regards Graham New System Center 2012 Blog! -
    http://www.systemcentersolutions.co.uk
    View OpsMgr tips and tricks at
    http://systemcentersolutions.wordpress.com/

  • HT201366 CAC readers not working after installing security update 2013-003?

    Is anyone else having problems with CAC readers not working after installing security update 2013-003? CAC required websites are causing safari and chrome to crash.

    For CAC issues, see:
    MilitaryCAC's Mac OS X support landing page
    Please follow these directions to delete the Mail "sandbox" folder.
    Back up all data.
    Triple-click the line below to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Quit and relaunch Mail, and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Post your results.
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • TS1363 I can't connect to the itunes store from my Windows Vista PC. I have run diagnostics and itunes have verified my internet connection as positive, but not the secure link to the itunes store. This comes up as failed.  Any suggestions?

    I can't connect to the itunes store from my Windows Vista PC. I have run diagnostics and itunes have verified my internet connection as positive, but not the secure link to the itunes store. This comes up as failed.  Any suggestions?

    everytime I try to open the store it endlessly says "accessing iTunes store" but it never opens.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • HT201210 My download for iOS 7 was interrupted, it has downloaded but not installed. it goes through routine Terms & Agreements and everything, but when i try to update it tries to verify the update then says that the update is not available.

    I dont understand, when i try to update it will go through routine apple stuff, then it it will say " Software Update Unavailable (under) Software Update is not available at this time. Try again later." The thing is that i was downloading it and my wi-fi had restarted for some unknown reason and it downloaded onto my phone but not installed. and at the moment it is really bothering me because I have waited a long time for iOS 7 and I am not being allowed to update my phone to it and i just wanted to know how to fix it. Thank you.

    I imagine a ton of people are attempting to download it right now. Simple patience, maybe keep trying, and if possible, try a little later. Think of it as all those people lining up at Apple Stores + about a million more.

  • How do I download an app from the Mac App Store but not install it yet?

    How do I download an app from the Mac App Store but not install it yet?
    Can I simply download it and not install?
    What if the App gets updated before I download it?
    Why? Well, I am very busy and wish to install at my leisure even though I have purchased the App (required at a specific day in the month in order to appear on my business accounts).
    Thanks.

    There is a difference in what Kappy stated and what you stated. A major paid upgrade (v2.x to v3.0), yes, costs money, as it would in any other delivery stream. Updates (v3.0 to v3.1) to a a major version are free.
    Most apps sold through the Mac App Store (MAS) are the type that use the simple drag & drop installation. Those are downloaded directly to the designated apps folder and installation is done. Large pro-type apps download an installer to your Apps folder. Those you can install at your leisure. The MAS does not have a lot of apps using this type of installation.
    Be sure to always backup your MAS purchases, because there is no guarantee that the app will always be available for download in the future and it is your responsibility to archive copies.

  • How to download but not install OSX Mountain Lion on Mavericks

    Hi all
    I would like to download but not install OSX Mountain Lion on my MBP which is currently running OSX Mavericks.
    This however seems impossible. I think OSX Mavericks were already installed on my MBP and therefore it seems "impossible" to download it.
    Now, why would I to do this? The answer is quite reasonable, due to certain demands related to an application portfolio I need Mountain Lion, because the portfolio is not upgraded to run on Mavericks. And, it is more reasonable to downgrade a version of OSX, rather waiting for the portfolio upgrade which can take years.
    Yes, I need to downgrade my secondary MBP which also came with preinstalled Mavericks. This can be done, if I only could download but not install Moutain Lion.
    It should be easy enough; download Mountain Lion, make an installer and make a bootable thumb usb stick. Then erase Mavericks and install Mountain Lion.
    I have previously bought Mountain Lion so it is accessible to me in the App Store, but whenever I try to hit the Download button, I get a message saying this can't be done, since I am running Mavericks.
    This bugs me, it should be obvious users needs the flexibility to swap whatever OSX version they need. It is still software.
    So, how can I download but not install Mountain Lion on my newer MBP that came with preinstalled Mavericks?
    I would like to see answers like:
    "In order to get this to work, you first have to disable the locking mechanism in [...] " instead of "No, this is impossible to do"
    Regards

    Thanks for your reply Eric
    Can't help wondering thought, people are ok with this?
    Basically Apple are saying: "Do not attempt to install an older version of OSX which came preinstalled. If so, expect multiple failures." Really?! Has it always been so? For me it's not like I'm going to install Snow Leopard on my Late 2013 Retina MBP, but I would expect some form of backward compatibility between the previous version and it successor. Apparently this is not possible, and how is this even acceptable? 
    Personally, I am not going to downgrade, as if I had a choice, but I would and I expected however, the possibility to at least download the previous OSX version. What do you do if you have bought several applications, not necessarily online from App Store and buy yourself a new Mac with preinstalled Mavericks and after installing your "old" applications they fail to work properly? What do you do since downgrading apparently is not an option. So... again, what do you do? 
    If you don't have friends with an older Mac, you could be facing serious problems. And I'm not talking about gaming, but serious business. 
    I find this quite disturbing actually, and please tell me it's not so. There gotta be a way to do this?
    I simply want to download the OS but I expect some registry values (like windows' registry) keeps preventing this.
    It should be possible to simply download and not download and install in one operation, shouldn't it?
    Regards

Maybe you are looking for

  • Songs on ipod annot be updated because all of the playlists ..dont exist!!!

    Went to update my nano and got the above message although all the playlists are apparently still there in iTunes and can be played on the computer. Do I need to reinstall iTunes on my computer? Can I export the playlists to my music on windows and dr

  • AppV - Adobe Media Encoder not in default location?

    I'm virtualizing Adobe Captivate 5, which includes Adobe Media Encoder. During virtualization, when I launch AME, I get a message: Adobe Media Encoder is not being run from the default installation location. This is not a supported configuration." I

  • If I buy a copy of Aperture, how many macs can I install it on legally?

    I have an older version of Aperture on my Mac Mini which was my first mac. I'm migratiing over to all mac's (have a 21.5 in my office) and just purchased a 27 in iMac... Anyway I am going to buy Aperature for that mac which will be my home Mac taking

  • Problem in displaying total no of pages in Smartform

    Hello experts, I have a problem while displaying total no of pages in Smartform. When no of pages are more than 10 then in total no of pages , a * is shown till current page is 9, then after it is displaying correct no of pages. I am using &sfsy-form

  • How to run a batch file

    Hi, How to run a batch file from Oracle. Is it possible directly from PLSQl, or should I write the java code. Oracle Version: 10g 2.0.1.0. Thanks in advance Rizly