MDT no longer detects my desktop is a desktop


The SMBIOS Specification was updated again this year to add new enclosure type values that affect the IsDesktop variable in MDT.  This variable is populated by ZTIGather.wsf which has not been updated officially to keep up with the changing SMBIOS spec.

We saw this same issue when the spec was expanded to add new enclosure type values for different laptop form factors.

To ensure your IsDesktop and IsLaptop variables are accurate you should upgrade your MDT environment to version 8450.  You can also easily update ZTIGather.wsf:

- Find the following lines of code:
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

- Replace them with these lines:
Select Case objInstance.ChassisTypes(0)
                        Case "8", "9", "10", "11", "12", "14", "18", "21", "30", "31", "32"
                              bIsLaptop = true
                        Case "3", "4", "5", "6", "7", "13", "15", "16", "35", "36"
                              bIsDesktop = true
                        Case "23", "28"
                              bIsServer = true
                        Case Else
                              ' Do nothing
                        End Select

The table from the current (as of the date of this writing) SMBIOS spec for your reference: