I know, this question has already been asked many times but now those queries are not working for Windows 7 SP1. For example:
select * from Win32_SystemEnclosure where (ChassisTypes = 8 OR ChassisTypes = 9 OR ChassisTypes = 10)
When I try to validate this query, it says, invalid query. Moreover, I can't use the battery option because it always detect AIO (All in one) devices as laptops. Same as battery, I can't use the battery option too because we do have NUCs and they use laptop memory type.
Most of our laptops are 64 bit.
Is there any other way?