Close Menu
    Facebook X (Twitter) Instagram
    Sunday, October 12
    X (Twitter) LinkedIn Reddit RSS
    All about Endpoint Management
    • Home
    All about Endpoint Management
    Home»Collections»SCCM collection to list all the Laptop computers

    SCCM collection to list all the Laptop computers

    Eswar KonetiBy Eswar KonetiNovember 16, 6:43 pm2 Mins Read Collections 21,428 Views
    Share
    Facebook Twitter LinkedIn Reddit

    If your boss ask to get list of laptops which are managed by SMS or SCCM.what do you do and how do you get that. Right click on computer and go to resource explorer to identify the computer is Laptop or Desktop ?

    You can identify if the computer is Laptop or Desktop based on its chassis Types.

    Below are listed the Chassis types available to create SCCM collection or reports.

    For Laptops Chassis Types : 8 , 9, 10, 11, 12, 14, 18, 21,30,31,32

    For Desktop Chassis Type : 3, 4, 5, 6, 7, 15, 16

    For server Chassis  Type: 23

    Below is the collection to list all the computers which are laptops which fall in above Chassis type. All these values are from SQL table called SMS_G_System_SYSTEM_ENCLOSURE .If you are looking to create SCCM report,you can create using Views(v_GS_SYSTEM_ENCLOSURE).

    You can also replace the values with Desktop computers or servers also you can use joins to club these with AD groups for deploying the applications based on this.

    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","30","31","32" )

    Chassis Type Value Description :

     

    1 Other
    2 Unknown
    3 Desktop
    4 Low Profile Desktop
    5 Pizza Box
    6 Mini Tower
    7 Tower
    8 Portable
    9 Laptop
    10 Notebook
    11 Hand Held
    12 Docking Station
    13 All in One
    14 Sub Notebook
    15 Space-Saving
    16 Lunch Box
    17 Main System Chassis
    18 Expansion Chassis
    19 Sub Chassis
    20 Bus Expansion Chassis
    21 Peripheral Chassis
    22 Storage Chassis
    23 Rack Mount Chassis
    24 Sealed-Case PC

    SCCM Report to list all the laptop computers :

    select a.name0,a.Operating_System_Name_and0,a.Client_Version0 from v_R_System a,v_GS_SYSTEM_ENCLOSURE b
    where a.ResourceID=b.ResourceID and b.ChassisTypes0 in ( '8', '9', '10', '11', '12', '14', '18', '21' )
    group by a.name0,a.Operating_System_Name_and0,a.Client_Version0

    Here are some sample reports/queries available which you can make use of it

    http://myitforum.com/cs2/blogs/snorman/archive/2007/09/18/count-of-chassis-types-by-collection.aspx

    system enclosure reference https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-systemenclosure

    Collection collection for laptop computers Collections laptop computers laptop computers WQL Quiry sccm collection sccm collection to list all laptop computers
    Share. Twitter LinkedIn Email Facebook Reddit

    Related Posts

    Efficiently Identify Co-Managed Devices: Techniques and Tools

    January 17, 8:37 pm

    SCCM report list collections with no deployments

    December 05, 12:04 pm

    Tool for managing the import and export of SSRS report – ReportSync Tool

    October 27, 9:10 pm

    8 Comments

    1. Mogomotsi Lebane on February 9, 2022 8:13 PM

      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")

      Reply
    2. mattmn on March 2, 2021 11:35 PM

      Good blog post. Microsoft added three more types. Tablet (30), Convertible (31), and Detachable (32) https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-systemenclosure

      Reply
      • Eswar Koneti on March 5, 2021 6:02 PM

        Thank you. Blogpost is updated.

        Regards.
        Eswar

        Reply
    3. additional resources on February 26, 2013 4:10 PM

      Very nice blog post. I certainly love this site. Thanks!

      Reply
    4. Pingback: computers from ukraine

    5. Mats Binkowsky on September 11, 2011 9:17 PM

      I'm using sccm 2007 R3 in our domain and (For Laptops Chassis Types : 8 , 9, 10, 11, 12, 14, 18, 21) doesn't seem to work. It only shows a few of our laptops so I wonder if there is some other way to get all laptops in a collection?

      Reply
      • Eswar Koneti on September 12, 2011 8:17 PM

        if you have power management enabled ,then u can try this report for laptops :

        select * from v_R_System sys join
        v_GS_POWER_MANAGEMENT_CAPABIL pmc on
        sys.ResourceID = pmc.ResourceID
        where PreferredPMProfile0 = 2

        I would always go with Chasis type.
        If you have any laptops that are not fall into the collection ,could you please look for the chasis type value ?are the remaining computers are reported the inventory to site server correctly ?

        Reply
    6. hen smith on December 21, 2010 11:24 AM

      this is good information.thanks for sharing this information.

      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.