Close Menu
    Facebook X (Twitter) Instagram
    Saturday, October 11
    X (Twitter) LinkedIn Reddit RSS
    All about Endpoint Management
    • Home
    All about Endpoint Management
    Home»CM2012»SCCM Configmgr report:Inventory for Webcam Devices ?

    SCCM Configmgr report:Inventory for Webcam Devices ?

    Eswar KonetiBy Eswar KonetiSeptember 20, 9:00 am1 Min Read CM2012 6,722 Views
    Share
    Facebook Twitter LinkedIn Reddit

    Inventory report for laptops who have webcam feature ?

    You can use this report both on SCCM 2007 and Configmgr 2012 Environment.

    select cs.name0 [Computer name],
    cs.username0 [Last loggedin User],
    os.Caption0 [OS],os.InstallDate0 [OS Installed Date],
    cs.Manufacturer0,cs.Model0 ,
    WS.LastHWScan [Reported Date to SCCM]
    from v_GS_COMPUTER_SYSTEM cs,v_GS_SYSTEM_ENCLOSURE se,v_GS_OPERATING_SYSTEM OS,  v_GS_WORKSTATION_STATUS WS
    where cs.ResourceID=se.ResourceID and
    cs.ResourceID=OS.ResourceID and
    cs.ResourceID=WS.ResourceID and
    se.ResourceID in (select ResourceID from v_GS_SYSTEM_DEVICES where Name0  like '%camera%' or Name0 like '%webcam%')
    and SE.ChassisTypes0 in ( '8','9','10','11','12','14','18','21')
    group by cs.Name0,cs.UserName0,cs.Manufacturer0,cs.Model0,OS.Caption0,OS.InstallDate0,WS.LastHWScan

    Note: There reports are created for for Dell and Lenovo models only.Webcam name differs from manufacture to manufacture,so if you have other models like hp,ThinkPad etc,you should look at resource explorer—>hardware –>system devices for the webcam name.

    Who do not have: use Not in syntax:

    select cs.name0 [Computer name],
    cs.username0 [Last loggedin User],
    os.Caption0 [OS],os.InstallDate0 [OS Installed Date],
    cs.Manufacturer0,cs.Model0 ,
    WS.LastHWScan [Reported Date to SCCM]
    from v_GS_COMPUTER_SYSTEM cs,v_GS_SYSTEM_ENCLOSURE se,v_GS_OPERATING_SYSTEM OS,  v_GS_WORKSTATION_STATUS WS
    where cs.ResourceID=se.ResourceID and
    cs.ResourceID=OS.ResourceID and
    cs.ResourceID=WS.ResourceID and
    se.ResourceID not in (select ResourceID from v_GS_SYSTEM_DEVICES where Name0  like '%camera%' or Name0 like '%webcam%')
    and SE.ChassisTypes0 in ( '8','9','10','11','12','14','18','21')
    group by cs.Name0,cs.UserName0,cs.Manufacturer0,cs.Model0,OS.Caption0,OS.InstallDate0,WS.LastHWScan

    SSRS Report:

    webcam

    To create collection,follow the blog post how to create http://eskonr.com/2010/11/sccm-collection-to-list-all-the-laptop-computers-2/

    CM12 configmgr configuration Manager Count of laptops SCCM SCCM 2007 sccm report SQL SQL code webcam webcam report webcam report devices
    Share. Twitter LinkedIn Email Facebook Reddit

    Related Posts

    SCCM SQL Report – Compare Installed Apps on TWO Different Computers

    July 13, 10:35 am

    Optimize Your Intune Workflow with a Powerful Browser Extension

    March 22, 10:39 am

    Migrate Microsoft 365 Updates from SCCM/MECM to Intune for Co-Managed Devices

    February 11, 9:50 pm

    10 Comments

    1. Quentin on March 12, 2020 6:08 PM

      Thx i have use your request to found all Jabra device with the name of this device ! 🙂

      select cs.name0 [Computer name],
      cs.username0 [Last loggedin User],
      os.Caption0 [OS],os.InstallDate0 [OS Installed Date],
      cs.Manufacturer0,cs.Model0 ,
      WS.LastHWScan [Reported Date to SCCM],

      GD.Name0 [Jabra]

      from v_GS_COMPUTER_SYSTEM cs,v_GS_SYSTEM_ENCLOSURE se,v_GS_OPERATING_SYSTEM OS, v_GS_WORKSTATION_STATUS WS, v_GS_SYSTEM_DEVICES GD

      where cs.ResourceID=se.ResourceID and
      cs.ResourceID=OS.ResourceID and
      cs.ResourceID=WS.ResourceID and
      se.ResourceID=GD.ResourceID
      and GD.Name0 LIKE N'%Jabra%'

      group by cs.Name0,cs.UserName0,cs.Manufacturer0,cs.Model0,OS.Caption0,OS.InstallDate0,WS.LastHWScan,GD.Name0

      Reply
      • Eswar Koneti on March 15, 2020 10:15 AM

        Thanks Quentin.This query will help others.

        Regards,

        Reply
    2. Ryan on July 16, 2016 1:41 AM

      Hello - is there a way I can run this against a specific collection? and not all my systems? please help

      Reply
      • Eswar Koneti on July 16, 2016 8:46 AM

        Hi,
        You can use v_fullcolleectionmemership as inner join and specify collection Id

        Reply
        • Ryan on July 16, 2016 10:44 AM

          I'm not really sure what that means or where to add it to your query language

          Reply
          • Eswar Koneti on August 25, 2016 2:05 PM

            Try this to get webcam devices against specific collection.

            select cs.name0 [Computer name],
            cs.username0 [Last loggedin User],
            os.Caption0 [OS],os.InstallDate0 [OS Installed Date],
            cs.Manufacturer0,cs.Model0 ,
            WS.LastHWScan [Reported Date to SCCM]
            from v_GS_COMPUTER_SYSTEM cs,v_GS_SYSTEM_ENCLOSURE se,v_GS_OPERATING_SYSTEM OS, v_GS_WORKSTATION_STATUS WS,v_FullCollectionMembership fcm
            where cs.ResourceID=se.ResourceID and
            cs.ResourceID=OS.ResourceID and
            cs.ResourceID=WS.ResourceID and
            cs.ResourceID=fcm.ResourceID and
            se.ResourceID in (select ResourceID from v_GS_SYSTEM_DEVICES where Name0 like '%camera%' or Name0 like '%webcam%')
            and SE.ChassisTypes0 in ( '8','9','10','11','12','14','18','21')
            and fcm.CollectionID='PS100034'
            group by cs.Name0,cs.UserName0,cs.Manufacturer0,cs.Model0,OS.Caption0,OS.InstallDate0,WS.LastHWScan

            Thanks,
            Eswar

            Reply
    3. ayman Dwedar on May 26, 2016 9:07 PM

      Please add a new field to show the status of the camera (Enabled/Disable)

      Reply
      • Eswar Koneti on May 28, 2016 12:40 AM

        Hi Ayman,
        I do not have devices with webcam to test it but if the device has webcam installed, it must be enabled and ready to use. What do you mean enable or disable ?

        Regards,
        Eswar

        Reply
        • ayman Dwedar on May 31, 2016 4:48 AM

          Dear Eswar,
          i Means the status of camera (Enabled/Disable) because we have Disable almost Camera in Laptop
          Because we in Environment of Domain and company policy rules is disable Camera in Laptop
          But needs to make sure from this disable it by Report
          notes Disable done on the drive from Dives Manger --> Right click on driver then Disbale

          Reply
          • Eswar Koneti on June 6, 2016 10:53 PM

            To bring whether the webcam is disable or not into the report will need little time to look at the drivers ,wmi to find the correct entry to pull for report. I do not have any physical devices attach to my lab however ,you can check the pnp device or camera disable registry using GPO policies applied on PC.

            Reply

    Leave a ReplyCancel reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Sign Up

    Get email notifications for new posts.

    Author

    I’m Eswar Koneti ,a tech enthusiast, security advocate, and your guide to Microsoft Intune and Modern Device Management. My goal? To turn complex tech into actionable insights for a streamlined management experience. Let’s navigate this journey together!

    Support

    Awards

    Archives

    © Copyright 2009-2025 Eswar Koneti, All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.