ConfigMgr Report: Autopilot Info Listing Computer Name, Serial Number and Hardware Hash

Sometimes the Built-In SCCM Report Just Doesn’t Show What You Need

As part of a project, we wanted to take a batch of domain-joined laptops and manage them through Intune and Autopilot. 

To enroll the devices, Intune needs certain info off of each computer. We installed the ConfigMgr client on each machine to get a hardware inventory list of each. 

This turned out to be a better idea than we’d thought at the time. 

Doesn’t ConfigMgr Have a Built-In Report For This?

Yes, it does!

Under Reports > Hardware – General is a report, Windows Autopilot Device Information.

However, this isn’t exactly what we needed. We had a customized script that could pull all of the Autopilot info off of a machine, but what I wanted was:


  • Only the machines we were enrolling into Autopilot, and
  • The list needed to show computer names


Craig Wall is a public sector systems administrator with experience in deployment and print management.

Why We Needed The Report

Because of the way we had the devices domain-joined beforehand, and our plan to get them done as remotely as possible, we needed to make sure we could easily match up the domain-joined, pre-enrollment names with the device serial. 

The hardware hash for each in this case may only be necessary in certain situations — we had a customized script for our environment to pull that info. 

However, I’m always game to work on my reporting skills.

The Tables/Views Needed

  • Hardware Hash: v_GS_MDM_DEVDETAIL_EXT01 (DeviceHardwareData0)
  • Serial Number: v_GS_SYSTEM_ENCLOSURE (SerialNumber0)
  • Computer Name: v_GS_SYSTEM (Name0)

The SQL Query

(v_GS_SYSTEM.Name0 like 'LAPTOP%')

The Output

I whipped up a quick table in Report Builder for this. 

Because the hashes are so long, I didn’t want all of them listed in one big mess. So I left grouping on for the table.

This resulted in each computer being its own “group” in the table — I had to click the + icon next to each laptop to expand the row and show the serial and hash. 

This worked out well for the specific use of this report, but the report couldn’t be emailed to anyone because those + signs don’t show up in the report email — something to watch for if you were going to send a report in the email instead of sending the report URL.

More Posts Like This

SCCM Admin Console: Searching in Subfolders

A tip to deal with a little aggravation   By default, SCCM's admin console doesn't search in subfolders! This might be because not everything searchable supports a folder structure, but in any case it's frustrating. But this can be manually turned on for a...

More From Craig

How SCCM Became MEMCM, or Just ConfigMgr

SCCM? ConfigMgr? SMS? MEMCM? When you start working on Configuration Manager, one of the more puzzling things is how you're supposed to refer to it in the first place.  You might know someone who still calls it "SMS". Or at least you're wondering why "SMS" keeps...

SCCM: Delete Old or Expired Client Operations Entries

Microsoft Endpoint Configuration Manager (MEMCM) Admin Console Location: \Monitoring\Overview\Client Operations Here's the Solution Straight Away: In Your ConfigMgr admin console, connect to your site via PowerShell and run the following script as a...

Tableau: Create a Header For a Calculated Column

Get that Pesky Column Name BackSomething I learned today while using Tableau Public that I wanted to jot down for later.  The Problem:  You have a table with a calculated column You add that calculated column to your sheet, but there is no header for that column shown...