This is why I prefer to use the wmi check, if laptop > 0% for laptops. Thanks, Jeff Jerousek<mailto:[email protected]>
From: [email protected] [mailto:[email protected]] On Behalf Of Marable, Mike Sent: Monday, June 20, 2016 7:59 AM To: [email protected] Subject: [MDT-OSD] RE: MDT detections HP servers as Laptops I don't work with servers, so I haven't been in a situation to see this. You're probably right on both counts though. Based on HP's inconsistencies on the desktop/laptop front I wouldn't put it passed them to be too relaxed on setting the proper chassis type. It's a "bug" in MDT in that it is perhaps more of "old code" that hasn't been looked at recently to take into account sloppy hardware vendors. ;-) Mike From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Daniel Ratliff Sent: Monday, June 20, 2016 8:23 AM To: [email protected]<mailto:[email protected]> Subject: [MDT-OSD] MDT detections HP servers as Laptops Anyone ran across this before? We have some HP servers that are coming up as IsLaptop=TRUE and IsServer=FALSE because the ChassisType is 18, "Expansion Chassis". According to ZtiGather.wsf, the only server is ChassisType 23. If not IsNull(objInstance.SMBIOSAssetTag) then sAssetTag = Trim(objInstance.SMBIOSAssetTag) End if Select Case objInstance.ChassisTypes(0) Case "8", "9", "10", "11", "12", "14", "18", "21" bIsLaptop = true Case "3", "4", "5", "6", "7", "15", "16" bIsDesktop = true Case "23" bIsServer = true Case Else ' Do nothing End Select But looking at the options logically, I would think 17-23 would all be servers, except for maybe 21 which could be a docking station. 17 Main System Chassis 18 Expansion Chassis 19 Sub Chassis 20 Bus Expansion Chassis 21 Peripheral Chassis 22 Storage Chassis 23 Rack Mount Chassis I know I can edit ZtiGather, but I really don't want to do that. Does this look like a MDT bug or just hardware not setting the proper ChassisType? Daniel Ratliff The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information. ********************************************************** Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues
