/build/static/layout/Breadcrumb_cap_w.png

SCCM 2012 R2 - Targeting the OS drive on a 2 drive system

Im deploying Windows 7 to XP tools boxes I have in production.  My target systems have 2 physical drives.  Most have the following configuration:

OS- C: 200GB

DATA- D: 750GB

Im noticing that on a 2 drive UEFI system when I boot into Windows PE for OSD drive 0 is not alyways my OS drive.  From what I read Drive numbers are dynamic in UEFI.  The SCCM OSD task sequence targets a drive # so I would think this a common problem.  

My solution was to provide a variable on my Partition drive 0 to check on the following WMI query:

SELECT * FROM Win32_DiskDrive WHERE Index = "0" AND Size < 250000000000

or Partition Drive 1 for

SELECT * FROM Win32_DiskDrive WHERE Index = "1" AND Size < 250000000000

the problem is, we have machines that are showing up in reports with 2 small drives or 2 large drives.

Does anybody have a more elegant solution for partitioning that drive # that contains c:?  I cant loose the data on my d:.

 

Thanks!


1 Comment   [ + ] Show comment
  • Why not just use Size smaller then? not the index.
    Perhaps the attribute VolumeName can be useful? - dedenker 10 years ago

Answers (0)

Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ