SCCM Custom report

Hi
I have been asked to put together some custom reports out of SCCM 2012. Now I have looked through the reference for 2007 but there have been changes between the two products so now all the information is valid. I am hoping that someone has either already
created similar reports that they would be happy to share or that someone can point me in the direction of some documentation for 2012 similar to that of 2007.
SCCM reports:
Report 1: Windows security update effectiveness
Desktops          % having all Windows security updates
Average time to deploy updates: average time from when update was released to when it was deployed to collection RH Workstations (PRODUCTION), in days rounded up to nearest day
Average time for updates to be installed: complex formula, see below
Servers             % having all Windows security updates
                        Average time for updates to be installed: complex formula,
see below
“Having all Windows security updates” is defined as: for all security updates, if the update was required for the target, the update has been installed.  Exclude superseded and expired updates.
For average time for updates to be installed, the method would be:
            Time to install an update = (date updated installed, or current date if update is not installed) - (later of: date update was
released, or system install date)
            Result to report = average of all the Time to install for all updates on all systems being reported, in days, rounded up to
nearest day
This is to avoid systems that are recloned or deployed after the update was released causing the metrics to go crazy.
Thanks in advance.
Ryan

This report will get you started.
http://smsug.ca/blogs/garth_jones/archive/2009/02/25/patch-compliance-progression-report.aspx
http://www.enhansoft.com/

Similar Messages

  • How to Custom Report using sql server report builder for SCCM 2012 SP1

    Hi ,
    I am new to database, if i want to create a manual report using sql server report builder for SCCM 2012 SP1, what step should i take.
    i want to create a report in which computer name, total disk space, physical disk serial no come together. i already added class (physical disk serial no.) in hardware inventory classes. refer snapshot

    Hi,
    Here is a guide on how to create custom reports in Configuration Manager 2012, it is a great place to start, change to the data you want to display instead.
    http://sccmgeekdiary.wordpress.com/2012/10/29/sccm-2012-reporting-for-dummies-creating-your-own-ssrs-reports/
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • SCCM 2007 SQL SSRS Custom Report Backup Automation

    Has anybody tried to automate Configuration Manager 2007 SSRS Backup / Recovery process to a new hardware thru AfterBackup.bat? To backup and recover all custom reports
    Manual:- .
    http://technet.microsoft.com/library/ms155814(SQL.100).aspx
    Thanks and Regards, Mohd Zaid www.techforcast.com

    @ Simon - Thanks a lot, this helps. I will test for my environment and confirm the output. Meanwhile could you help me the steps for the restore part as this link only talks about the Backup SSRS. Below is what I have thought of shud work:-
    1. Install SQL Server 2008 Reporting Services
    2. Move the Report Server Database
    3. Configure the Report Server
    4. Create a reporting services point on a Configuration Manager 2007 site system computer (not sure if we need to create the folder on report server)
    5. Configuring Properties for the Reporting Services Point
    6. Copying standard Configuration Manager reports to Reporting Services (not sure if we need this when the SSRS database is recovered?)
    Thanks and Regards, Mohd Zaid www.techforcast.com

  • Error creating custom reports. Permissions issue with custom reports

    I am having permission issues with reports. I am building a new Configuration Manager  2012 infrastructure and I have configured the Site server on Server1 and the DB is on Server2. Server2 also hosts the Reporting Point and SSRS roles/features. If
    I look in Monitoring at the Site Status and Component Status are all green no issues with the setup.
    Running SQL 2008 SP2 (no CUs). I have a service account that I used to install Configuration Manager and SQL. This service account is running the SQL service on Server2 and i am using the same account as the Reporting Services Point Account.
    I log into the SCCM console with a different user account, lets call it Admin1. This account is a member of the Full Administrator role. I can run any built in report.
    When I open the SSRS website and try to create a custom report I connect the DataSource using Windows Authentication. So the Datasource is connecting using the logged in users account. In this case Admin1. I test the connection and it connects fine.
    I test this query. (Select * from v_R_System) I only have about 10 workstations discovered so the report shouldn’t be very big. I get an error “The Select permission was denied on the object ‘v_R_System’, Database ‘CM_XXX’, schema ‘dbo’. (Microsoft sql server,
    Error: 229)”
    I have fixed the SELECT permission error by going into the database (using SQL Management studio) and granting Admin1 Select rights to the Configuration Manager database. I can now run the above query and make custom reports.
    My 2<sup>nd</sup> problem is that other members of the Full Administrator role cannot run these custom reports unless I go into the database and grant them the SELECT permission.
    Question:
    Should I have to manually go into the database to add SELECT permissions(i could use a group)? shouldnt Configuration Manager take care of this for me?
    Maybe the built in reports use the SQL service account rights and the custom ones do not? Am I doing something wrong with the Datasource when I create these custom reports?
    What is the correct process for creating custom reports?

    I think i am getting closer to a solution. After the Custom report is created. i can go back into the report. Delete the DataSource. Then browse for a dataSource. there is a datasource located in http://server2/reportserver/ConfigMgr_XXX/
    That datasource is used by all builtin reports. if you view the properties on the Credentials tab it is set to "do not use credentials" and the option is greyed out / cannot be changed.
    it looks like i still need the SELECT permissions on the database to create the report initially but at least i have solved the problem with viewing these reports.
    Can anyone confirm that what i did is correct?

  • Custom Report for Application Catalog History

    Hi All,
    I am going to create custom report that display request and approval history from application catalog. Required parameters are Application name, requested by, approved by, request time, approval time. AFAIK there is no out of the box default report from
    SCCM 2012 SP1 that display those parameters. Which tables view and columns I could use for this purpose?
    Thanks for your help.

    The information which user installed what from the application catalog is not stored anywhere if I am not mistaken. 
    Torsten Meringer | http://www.mssccmfaq.de

  • Custom reports for servers managed by administrators

    Hi,
    I'm trying to create a report using the report builder but I need some helps. First I have added the attribute "Managedby" in my system discovery method.
    Now i want to create a report that display the server name, the OS, and the managed by attribute. How can I do that ?
    any helps ?

    Here are few links that should get you started with reporting:
    http://www.scconfigmgr.com/2014/01/24/create-custom-reports-for-configmgr-2012-with-report-builder/
    https://sccmgeekdiary.wordpress.com/2012/10/29/sccm-2012-reporting-for-dummies-creating-your-own-ssrs-reports/
    Basically you need to find out where the ManagedBy -data is stored, probably in v_R_System like noted here:
    http://www.systemcenterdudes.com/add-custom-active-directory-attribute-sccm-inventory/

  • SCCM Custom Query

    Hello,
    I am looking for a 2007 SCCM custom query that will look for KB2964358 installed. My trouble lies when I specify the below query to see if an update is installed, and it only returns XP computers since it is looking for the ADD Remove Programs feature.
    ConfigMgr is not collecting the list of Software Updates (patches) for Window 7/Vista/ 2008/ 2008 Core operating systems. Because, on these operating systems this information is stored
    in “Win32_QuickFixEngineering”  WMI class (it’s not listed in Add Remove Programs) and the inventory of this class is NOT enabled in SMS_DEF.MOF (by def ault). Hence ConfigMgr. report won’t be able to provide these details unless and until you’ve enabled
    the appropriate WMI class in SMS_DEF.MOF. Is there any other way to look for an update installed in custom queries that will return Windows 7 machines as well?
    SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID
    = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like "%KB2964358%"

    Hi,
    take a look at the article below to extend the SMS_DEF.mof file to include the WMI class.
    http://technet.microsoft.com/en-us/library/cc180866.aspx
    Blog: http://theinfraguys.com
    Follow me at Facebook
    The Infra Guys Facebook Page
    Please remember to click Mark as Answer on the answer if it helps you in anyway

  • Create a Summarized custom report having information of Client Status, Deployments and patching

    Hi, 
    I have to create a custom report in SCCM 2012 R2. The single report will contain a summarised details of
    1. Number of SCCM clients & there health.
    2. OSD/Software Distribution/Client Installation performed within a period of time.
    3. Patching (Report should have separate rows for different OS, application which are having ADR's & details of number of machines patched using each ADR.)
    4. Create a Weekly Subscription for the Report.
    Is is possible to create such a custom report. If possible then please help.
    Regards
    Pallavi

    Hi,
    >>Number of SCCM clients & there health.
    The report in the blog below could help you.
    Report | System Health – Configuration Manager Client
    For the updates part, you could use the build-in reports in Software Updates - B Deployment Management folder for reference.
    Note:
    Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    Best Regards,
    Joyce
    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, contact [email protected]

  • SCCM 2012 Reporting Code Returns Same Value For Total Number Of Required Updates Per Computer

    I'm trying to make a custom report in SCCM 2012 R2 with SQL 2012 since Microsoft took out the ability to list the number of updates needed per computer. This was in WSUS reporting but is not in SCCM reporting. I've made a custom report for this but can't
    quite get it to work. The report runs but the same value for total number of updates needed shows up for every computer. I took a query from one report and am trying to get it to run inside the select statement from another report. Here is the code as it is
    right now:
    declare @CI_ID int; select @CI_ID=CI_ID from fn_rbac_ConfigurationItems(@UserSIDs)  where CIType_ID=9 and CI_UniqueID=@AuthListID
              declare @StateID int
              select @StateID=StateID from fn_rbac_StateNames(@UserSIDs)  sn where sn.StateName=@StateName and TopicType=300
              declare @RequiredUpdateCount int
              select @RequiredUpdateCount=Count(v_StateNames.Statename) from   
    v_StateNames,   
    v_Update_ComplianceStatusAll   
    Inner Join v_R_System On (v_R_System.ResourceID = v_Update_ComplianceStatusAll.ResourceID)   
    Inner Join v_UpdateInfo On (v_UpdateInfo.CI_ID = v_Update_ComplianceStatusAll.CI_ID)   
    where   
    v_StateNames.TopicType = 500 and   
    v_StateNames.StateID = v_Update_ComplianceStatusAll.Status and   
    v_StateNames.Statename = 'Update is required'   
    Group By v_R_System.Name0
              select
                ccm.ResourceID,
                rs.Name0+isnull('.'+rs.Resource_Domain_or_Workgr0, '') as MachineName,
                rs.User_Domain0+'\'+User_Name0 as LastLoggedOnUser,
                asite.SMS_Assigned_Sites0 as AssignedSite,
                rs.Client_Version0 as ClientVersion,
    @RequiredUpdateCount as RequiredUpdates  
              from fn_rbac_ClientCollectionMembers(@UserSIDs)  ccm
              join fn_rbac_Update_ComplianceStatusAll(@UserSIDs)  cs on cs.CI_ID=@CI_ID and cs.ResourceID=ccm.ResourceID
                and (@StateID=0 and cs.Status=0 or @StateID=1 and cs.Status in (1,3) or @StateID=2 and cs.Status=2)
              join fn_rbac_R_System(@UserSIDs)  rs on rs.ResourceID = ccm.ResourceID
              left join fn_rbac_RA_System_SMSAssignedSites(@UserSIDs)  asite on asite.ResourceID = ccm.ResourceID
              where ccm.CollectionID=@CollID
              order by MachineName
    Ben JohnsonWY

    There's plenty wrong with it. It gives you no idea of how many patches each box needs. Then you have to click on each computer, click the sort arrow by the "required" column, and count the number needed. When you have hundreds of computers to work on this
    is a big deal as it's very time consuming. What's great about the view in WSUS that had this is that it listed this for you and you could sort the required column. So if have most computers needing 2 patches, you can go find the one that needs 40 and 150 (to
    over exaggerate) and put the time on them needed to see why they're so far behind. The WSUS format was quick, easy, and informative. SCCM makes getting this info a royal PITA which is why I'm (and many others) so royally peeved at MicroShaft for removing this
    functionality, but that's what we've all come to expect from MicroShaft--just like when then took the nice colorful themes out of Office 2010 and replaced them in Office 2013 with just white, gray, and a darker gray. That's super boring and actually hurts
    my eyes.
    Ben JohnsonWY

  • SCCM 2012 Reporting Capabilities for Software Metering

    Hi,
    I've been requested by my supervisors to get some information on metered software and computer usage in a specific lab, but I am unsure if I can obtain all the information they requested with just using SCCM. 
    I've already set up metering rules for the programs they want information on, software metering is enabled on the clients, and all of the lab computers are in in Configmgr and have good clients on them.  Here's the list of the requests:
    Total number of lab users by day
    Total hours logged into lab computers by day
    Total hours logged into a specific metered program by day
    Total hours running different internet browsers
    Total unique users over the course of a certain period of time
    I am a novice when it comes to reports in SCCM.  Are there built in reports that can give this information or would I have to write my own custom reports, or is this level of detail not possible for SCCM to give?
    Any advice would be appreciated.
    Thanks!

    The most requested information can be found in the obvious reports about
    Software Metering (\Monitoring\Overview\Reporting\Reports\Software Metering).
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • SCCM 2012 report w/ selectable collection

    I am trying to create a report with a selectable collection parameter.  The original query I'm using is as follows (Stolen from
    http://blogs.technet.com/b/infratalks/archive/2013/09/10/sccm-2012-reporting-get-system-serial-number-amp-create-custom-ssrs-report.aspx):
    Select sys.Name0 Machine, CS.UserName0 'User Name',OS.Caption0 OS, OS.CSDVersion0 'Service Pack',CS.Manufacturer0 Manufacturer,CS.Model0 Model,BIOS.SerialNumber0 'Serial Number',RAM.Capacity0 Memory, cs.SystemType0
    From v_R_System SYS
      left join v_GS_COMPUTER_SYSTEM CS on sys.Name0=cs.Name0
      left join v_GS_PC_BIOS BIOS on sys.ResourceID=bios.ResourceID
      left join v_GS_OPERATING_SYSTEM OS on sys.ResourceID=OS.ResourceID
      left join v_GS_PHYSICAL_MEMORY RAM on sys.ResourceID=ram.ResourceID
      --Where sys.Name0 = @variable
      order by sys.Name0
    This works fine, but it gives me that information for EVERY machine in our infrastructure globally.  I am only interested in getting this information from machines in certain collections and I want to be able to select the collection each time I run
    the report.  I found this article:
    http://it.peikkoluola.net/2013/06/02/report-with-a-selectable-collection-parameter-sql/ and followed the steps, but cannot run the report successfully.  I'm guessing it has something to do with needing to modify my query, but I am a newb with SQL and
    have no clue what or where I should be tweaking.  Just adding "WHERE(dbo.v_FullCollectionMembership.CollectionID
    = @COLLID)" gives me a syntax error.  Moving it above "Order by sys.name0" gives an error about not being bound to anything, which makes sense but as I mentioned, I don't know what to tweak.  Help!  Thanks.

    Select sys.Name0 Machine, CS.UserName0 'User Name',OS.Caption0 OS, OS.CSDVersion0 'Service Pack',CS.Manufacturer0 Manufacturer,CS.Model0 Model,BIOS.SerialNumber0 'Serial Number',RAM.Capacity0 Memory, cs.SystemType0
    From v_R_System SYS
      left join v_GS_COMPUTER_SYSTEM CS on sys.Name0=cs.Name0
      left join v_GS_PC_BIOS BIOS on sys.ResourceID=bios.ResourceID
      left join v_GS_OPERATING_SYSTEM OS on sys.ResourceID=OS.ResourceID
      left join v_GS_PHYSICAL_MEMORY RAM on sys.ResourceID=ram.ResourceID
      join v_fullcollectionmembership fcm on fcm.resourceid=sys.resourceid
      Where fcm.collectionid = @COLLID
      order by sys.Name0
    Try the above, note that @COLLID is a placeholder for a variable.  It is presumed that you are creating this using Report Builder 3.0 (or better) or some other SQL tool to create reports for use on your SRS reporting point.  If you happen
    to be using Report Builder, once you save the above, under parameters you'd have a place for COLLID.  Now, what you want is to be able to have that parameter be populated with your collection names, so that you can select from the list when the report
    is run.
    So... another DataSet, with a query like:
    select collectionid, name
    from v_collection
    order by name
    Then, back to your parameters, COLLID, available values, Get values from a query, and you'll want to use that dataset you just made, and Value field is collectionid, and Label field is Name.
    If you want to test the top query in regular sql, don't use @collID.  figure out the collectionid of a specific collection, and put in where fcm.collectionid='ABC00012'
    Standardize. Simplify. Automate.

  • SCCM web Report drop down

    hi ALL 
    I have sccm 2012 in my setup , i have given web access for certain reports to helpdesk team
    when they are looking for report drop down shows all collections created .i need to limit only collection required view for them in Drop down box  
    ankith

    no CM12 Sp1
    is there any thing new for R2 on reporting parts
    Yes, I know this is an old post, I'm trying to clean them up. <o:p></o:p>
    Yes, in CM12R2, RBA is now implemented in reporting (default report; for custom report they
    will need to be re-write to leverage RBA.)<o:p></o:p>
    This blog post will show you more details. <o:p></o:p>
    http://be.enhansoft.com/post/2013/10/21/Role-Based-Administration-(RBA)-Reporting-Feature-in-SCCM-2012-R2.aspx<o:p></o:p>
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • SCCM 2012 - Report

    Hi All,
    I want to take a report which can provide asset details, model, manufacturer, client status, serial number and site details. Is there any best report that suits this requirement in SCCM 2012 sp1. please help
    Regards, Pratap

    Hi,
    You could create a custom report to suit your requirement , please refer to the blog below.
    Create Custom Reports for ConfigMgr 2012 with Report Builder
    http://www.scconfigmgr.com/2014/01/24/create-custom-reports-for-configmgr-2012-with-report-builder/
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    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.

  • Specific SQL statements for custom report?

    I am trying to create a custom report that gives me the System Name, Operating System, Manufacturer, Model, and Last HW Scan. I am not a SQL expert, but which statements would I need to select when I am in SCCM Console and creating a new report? It lists
    hundreds of them. Any help is appreciated, thanks in advance.

    This query will get you started.
    http://smsug.ca/blogs/garth_jones/archive/2008/02/04/basic-all-in-one.aspx
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • SCCM 2012 Report equivalent of WSUS Report

    In the old WSUS admin console you could set your display under All Computers (and other computer groups) to show patches that were Failed/Needed/Applied. I found this EXTREMELY useful. I can not find an equivalent within SCCM 2012. Does such a report exist
    and if not, how do I go about making one? Software Updates A - Compliance, Compliance 1 is sort of close but it makes you click multiple times to get one report and you have to do it for each group. In WSUS all you had to do was click once or twice and I see
    no option equivalent to All Computers.
    Ben JohnsonWY

    Here's the whole set:
    http://social.technet.microsoft.com/Forums/en-US/78d145bb-81d2-45c7-9e23-d0980aaaf7ca/sccm-2012-r2-how-to-get-ipaddress-working-in-my-custom-report?forum=configmanagergeneral
    http://social.technet.microsoft.com/Forums/en-US/d27bf671-91b4-45e9-bbc9-a3da9a4fd628/sccm-2012-compliance-7-customize-for-total-updates-needed?forum=configmanagergeneral
    http://social.technet.microsoft.com/Forums/en-US/e865c492-9058-4141-9af7-26b280fbfe0b/sccm-2012-reporting-code-returns-same-value-for-total-number-of-required-updates-per-computer?forum=configmanagergeneral
    http://social.technet.microsoft.com/Forums/en-US/1e5a2644-4eb7-4bed-92a3-a07d670bbb51/software-update-compliance-report-in-sccm-2012?forum=configmanagersecurity
    http://social.technet.microsoft.com/Forums/en-US/3e3e0120-7e8c-4c9f-a1e0-4dc1fffe0618/sccm-2012-report-equivalent-of-wsus-report?forum=configmanagergeneral
    Hope it helps
    Ben JohnsonWY

Maybe you are looking for

  • Error while executing reports on 0FIGL_M30

    Hello, I am not able to check data in the MultiProvider 0FIGL_M30 and hence the reports are containing no data. This multiprovider is based on 2 infoproviders 0FIGL_V30 and 0FIGL_V31 which in turn get data from 0FIGL_M20. Now my problem is the report

  • Entity level validation suppressed in backend

    Hi, I am working on jdev 11.1.1.6, where I face a issues which is pretty much strange. I created a editable table from a view object datacontrol by dragging and dropping. This UI table consist of two columns with two LOVs providing them values. The e

  • Creating new CRM ORG through powershell fails

    Hello, I am able to create a new org through deployment manager without any problem. But I am run the following power command on the very same box New-CrmOrganization -DisplayName TestAutomated -SqlServerName DEVCRM2013SQL.dev.compnay.ca\CRM2013DEV -

  • Netweaver trial version - Connection refused

    Hi. When I log into my sap gui for windows 720 trial version - i am not able to connect to the server. the following error message appears. partner : 127.0.0.1:sapdp00 not reached. WSAECONNREFUSED : connection refused pl advice as how to disable the

  • ConfigFree Autoswitch wireless to wired lan

    I use laptop on office wired Lan then at home on wireless lan. I have set auto network switch to switch networks. Then I have set auto profile switch using SSIS and saved a home wireless LAN profile that changes proxy and printer. It all works when g