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.

Disclaimer
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.

Share:

Facebook
Twitter
LinkedIn

Contact Us

=
On Key

More Posts

WME Security Briefing 27 May 2024

Kinsing Hacker Group Exploits Docker Vulnerabilities Overview Recent investigations have shown that the hacker group Kinsing is actively exploiting Docker vulnerabilities to gain unauthorized access to systems. The modified hacker group targets misconfigured Docker API ports deployed with cryptocurrency mining malware.

Read More »
WME Cybersecurity Briefings No. 010
Cyber Security

WME Security Briefing 20 May 2024

Advanced Persistent Threats: North Korean Hackers Launch Golang Malware Overview A new malware strain, called Titan Stealer, is currently actively circulating in the threat landscape, targeting a variety of personal data and linked to North Korean state-sponsored cyber espionage

Read More »
WME Cybersecurity Briefings No. 009
Cyber Security

WME Security Briefing 08 May 2024

Exploitable vulnerability in Microsoft Internet Explorer, used to deploy VBA Malware Overview Cybersecurity researchers discovered a severe exploitation targeting a bug that had already been patched in the Microsoft Internet Explorer browser. Their report added that

Read More »
Be assured of everything

Get WME Services

Stay ahead of the competition with our Professional IT offerings.

=