Drive letters change automatically in Windows Server 2003 when you use the Diskpart.exe tool to assign drive letters

Article translations Article translations
Article ID: 947441 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

When you use the Diskpart.exe tool to assign drive letters for partitions in the Microsoft Windows Preinstallation Environment (Windows PE) phase, and then you install Windows Server 2003 by using an unattended file, drive letters change automatically in Windows Server 2003.

RESOLUTION

To resolve this problem, use one of the following methods:
  • Set the size of the second partition on the same drive.
  • Make the first partition of the second drive active.
  • Take the following actions:
    • Add the following section into the unattended file:
      [GuiRunOnce]
      Command1=C:\PostOs\diskpart.bat 
      
      C:\PostOs\diskpart.bat contents: diskpart.exe /s c:\PostOs\diskpart.txt 
      format D: /fs:ntfs /q /y [optional command]
      format E: /fs:ntfs /q /y [optional command]
      format F: /fs:ntfs /q /y [optional command]
      
    • Add Diskpart.txt and Diskpart.bat to the distribution folder.
    • Add text to the C:\PostOs\Diskpart.txt file that resembles the following text:
      select disk 0
      create partition primary 
      assign letter=e
      select disk 1
      clean
      create partition primary size=14000 [Sizes may vary according to your 
      need]
      assign letter=d
      create partition primary
      assign letter=f
      

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about Windows PE, visit the following Microsoft Web site:
http://technet.microsoft.com/en-us/windowsvista/aa905120.aspx

Properties

Article ID: 947441 - Last Review: February 13, 2008 - Revision: 1.1
APPLIES TO
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
Keywords: 
kbtshoot kbexpertiseinter kbprb KB947441

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com