ConfigMgr: Imaging a Surface Pro (2018) 1TB

I ran into an interesting issue this week trying to image a Surface Pro 2018 with a 1TB hard drive. Some people may ask why I was trying to image this type of device, but that’s a conversation for another day. This device presented a problem because of how the drive is configured.

This device actually has two 512GB drives that are presented as one 1TB disk through a RAID configuration. Then the drive is mounted, it mounts as disk 2, instead of the normal disk 0, so my OSD was failing. It was a pretty easy fix, but it took me some time to get there.

Partition Disk

My task sequence was failing on the partition disk step, as ConfigMgr did not have a drive 0 to target.

For these models, disk 2 needs to be targeted.

So, how do we do this and not have to have a special sequence for this model? I added a second partition disk step with the same drive configuration and used conditions on the steps. Here are the two WMI queries I added (both are in the standard root\cimv2 namespace):

SELECT * FROM Win32_ComputerSystemProduct WHERE name = “Surface Pro”

SELECT * FROM Win32_DiskDrive WHERE Index = 2 AND InterfaceType = “SCSI”

This query targets just Surface Pro’s (older Surface Pros say something like “Surface Pro 4”) and those with a disk mounted at position 2 that also has an interface as SCSI. Adding the InterfaceType will prevent this step from executing if it sees a USB drive at disk 2. I think this should be sufficient targeting for a mistake not to be made. The only issue I can foresee is if Microsoft changes the disk configuration in a future model that could throw this off.

So, on your regular partition disk step, set the conditions like this:

Note that I left the default configuration and added an If statement with it’s condition to none.

On the new partition disk step that targets disk 0, I did the exact opposite:

Here, the If statement is set to all, so that this step will only run if both conditions are true.

After adding this configuration, your task sequence should successfully deploy on a Surface Pro 2018 with a 1Tb drive.

All content provided on this blog is for information purposes only. Windows Management Experts, Inc makes no representation as to accuracy or completeness of any information on this site. Windows Management Experts, Inc will not be liable for any errors or omission in this information nor for the availability of this information. It is highly recommended that you consult one of our technical consultants, should you need any further assistance.



Contact Us

On Key

More Posts

Mastering Azure AD Connect - A Comprehensive Guide by WME
Active Directory

Mastering Azure AD Connect – A Comprehensive Guide

Modern businesses are fast moving toward cloud-based infrastructure. In fact, cloud-based business is not just a trend anymore but a strategic necessity. Microsoft’s Azure Active Directory (Azure AD) has become a frontrunner in this domain. It

Read More »
Security Best Practices in SharePoint
Office 365

Security Best Practices in SharePoint

Microsoft SharePoint is an online collaboration platform that integrates with Microsoft Office. You can use it to store, organize, share, and access information online. SharePoint enables collaboration and content management and ultimately allows your teams to

Read More »
The Ultimate Guide to Microsoft Intune - Article by WME
Active Directory

The Ultimate Guide to Microsoft Intune

The corporate world is evolving fast. And with that, mobile devices are spreading everywhere. As we venture into the year 2024, they have already claimed a substantial 55% share of the total corporate device ecosystem. You

Read More »
Protecting Microsoft 365 from on-Premises Attacks
Cloud Security

How to Protect Microsoft 365 from On-Premises Attacks?

Microsoft 365 is diverse enough to enrich the capabilities of many types of private businesses. It complements users, applications, networks, devices, and whatnot. However, Microsoft 365 cybersecurity is often compromised and there are countless ways that

Read More »
Be assured of everything

Get WME Services

Stay ahead of the competition with our Professional IT offerings.