How is that affected by systems plugged into UPS units with USB monitoring, etc?

--
There are 10 kinds of people in the world...
         those who understand binary and those who don't.

From: [email protected] [mailto:[email protected]] On 
Behalf Of Keith Garner (Hotmail)
Sent: Monday, June 20, 2016 11:32 AM
To: [email protected]
Subject: RE: [MDT-OSD] MDT detections HP servers as Laptops

Yes, SMBIOSAssetTag is not reliable, even less reliable on Server SKU's. As 
such, I try to avoid using isLaptop, isDesktop, and isServer.

Typically, when I need to know what the OS type is within the OS (wks/server), 
I just use the SKU type of the OS.
Additionally if you need to know if the PC is a laptop, a more reliable check 
is for the existence of a Battery, but you must install the battery driver if 
you want to test that from within WinPE. :(

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Daniel Ratliff
Sent: Monday, June 20, 2016 5: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.

Reply via email to