What is OSDDiskpartBiosCompatibilityMode?

Prior to Vista, the default alignment for partitions was cylinder alignment for MBR disks and sector alignment for GPT disks.  With Vista (and Windows PE 2.0), the default partition alignment was changed to 1 MB.  This can result in a 2x performance enhancement, since disk sectors are aligned with the cache line size.  Unfortunately, this may cause some systems to blue screen if the disk was partitioned in Windows PE 2.0 and pre-Vista operating system is installed to it.  The text-mode portion of Setup will complete successfully, but the system will blue screen when it reboots into GUI-mode Setup.  You may also see a blue screen after deploying an image of a sysprepped pre-Vista operating system.  See KB articles 931760 and 931761 for more information.

In order to help customers who experience this issue, we have added a Task Sequence variable, OSDDiskpartBiosCompatibilityMode, to the Partition and Format Disk step.  This variable is not exposed in the Task Sequence Editor, so you have to set it using a machine or collection variable, or explicitly in a Set Task Sequence Variable step, prior to any Format and Partition Disk steps.  If this variable is set to "TRUE", then the Format and Partition Disk step will automatically make the changes to the Windows PE registry described in KB articles 931760 and 931761 prior to partitioning the disk.

We only recommend using this variable if you have hardware which experiences this problem, since you will miss out on the disk performance enhancements.  If you are applying Windows Vista, then you should never need to use this option.

Comments

  • Anonymous
    January 01, 2003
    Sorry, I'm not quite sure I follow your request... the KB articles (931670 and 931761) mentioned in the blog post describe the registry modifications necessary to revert to the "old" partition alignment.

  • Anonymous
    January 01, 2003
    http://blogs.technet.com/inside_osd/archive/2007/06/21/what-is-osddiskpartbioscompatibilitymode.aspx

  • Anonymous
    November 18, 2007
    I would like to know where to get a reg fix for xp 2000 thats safe..rustym59@hotmail.com

  • Anonymous
    September 25, 2009
    THANK YOU!!!  I can now live a long and happy life.  

  • Anonymous
    October 12, 2009
    Where exactly do you add the "OSDDiskpartBiosCompatibilityMode" variable and how do you set it to true?

  • Anonymous
    July 14, 2010
    Thanks.  We had to add the task sequence variable to get our Dell E6410 to build with SCCM.