SCCM 2002 device collection with more details

Ghali Bakkali 21 Reputation points
2020-11-04T16:03:31.99+00:00

Hi guys,

I have a Microsoft endpoint configuration manager 2002 version and currently when I view the options/criteria in any device collection i can not tell whether it's laptop vs desktop and what model it is.

is there a way to pull a list of all computers and be able to identify laptop vs desktop and system model.

thank you for your help

Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
906 questions
0 comments No comments
{count} votes

Accepted answer
  1. AllenLiu-MSFT 40,571 Reputation points Microsoft Vendor
    2020-11-12T01:46:52.797+00:00

    I revised your query to see windows 10 only:

    select 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_SYSTEM_ENCLOSURE on SMS_G_System_SYSTEM_ENCLOSURE.ResourceID = SMS_R_System.ResourceId 
    inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId 
    where  SMS_G_System_SYSTEM_ENCLOSURE.ChassisTypes in (8 , 9, 10, 11, 12, 14, 18, 21  ) and SMS_G_System_OPERATING_SYSTEM.Caption like "%Windows 10%"
    

    If the response is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

7 additional answers

Sort by: Most helpful
  1. AllenLiu-MSFT 40,571 Reputation points Microsoft Vendor
    2020-11-05T02:13:08.51+00:00

    @Anonymous
    Thank you for posting in Microsoft Q&A forum.
    You may try the sql query:

    SELECT   
    v_GS_COMPUTER_SYSTEM.Name0,  
    v_GS_COMPUTER_SYSTEM.Model0,  
    'Chassis'=CASE   
     WHEN v_GS_SYSTEM_ENCLOSURE.ChassisTypes0 in ('3','4','6','7','15') THEN 'Desktop'  
     WHEN v_GS_SYSTEM_ENCLOSURE.ChassisTypes0 in ('8','9','10','21') THEN 'Laptop'  
     END  
     from v_GS_SYSTEM_ENCLOSURE  
     inner join v_GS_COMPUTER_SYSTEM on v_GS_COMPUTER_SYSTEM.ResourceID=v_GS_SYSTEM_ENCLOSURE.ResourceID  
    

    Here is the Chassis type values in SCCM for your reference:
    https://learn.microsoft.com/en-us/archive/blogs/breben/chassis-type-values-in-sccm


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Ghali Bakkali 21 Reputation points
    2020-11-05T03:45:47.46+00:00

    thanks @AllenLiu-MSFT , how do I add operating system to this view?

    0 comments No comments

  3. AllenLiu-MSFT 40,571 Reputation points Microsoft Vendor
    2020-11-05T05:58:34.433+00:00

    @Anonymous
    Thank you for posting in Microsoft Q&A forum.

    SELECT   
    v_GS_COMPUTER_SYSTEM.Name0,  
    v_GS_COMPUTER_SYSTEM.Model0,  
    v_GS_OPERATING_SYSTEM.Caption0,  
    'Chassis'=CASE   
     WHEN v_GS_SYSTEM_ENCLOSURE.ChassisTypes0 in ('3','4','6','7','15') THEN 'Desktop'  
     WHEN v_GS_SYSTEM_ENCLOSURE.ChassisTypes0 in ('8','9','10','21') THEN 'Laptop'  
     END  
     from v_GS_SYSTEM_ENCLOSURE  
     inner join v_GS_COMPUTER_SYSTEM on v_GS_COMPUTER_SYSTEM.ResourceID=v_GS_SYSTEM_ENCLOSURE.ResourceID  
     inner join v_GS_OPERATING_SYSTEM on v_GS_OPERATING_SYSTEM.ResourceID=v_GS_COMPUTER_SYSTEM.ResourceID  
    

    If the response is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  4. Ghali Bakkali 21 Reputation points
    2020-11-05T18:04:18.96+00:00

    @AllenLiu-MSFT
    thank you again for the help. that worked as needed.

    do you know what query statement do I need to include for my device collection. I need to see only show a collection for bitlocker dployment for criteria:

    • laptops only
    • windows 10 OS

    I currently have the following bbut its showing lower number

    select 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_SYSTEM_ENCLOSURE on SMS_G_System_SYSTEM_ENCLOSURE.ResourceID = SMS_R_System.ResourceId where  SMS_G_System_SYSTEM_ENCLOSURE.ChassisTypes in (8 , 9, 10, 11, 12, 14, 18, 21  )  
    
    0 comments No comments