/build/static/layout/Breadcrumb_cap_w.png

Optical Drive Letter Conflict

Greetings,

I am having issues with the optical drive snatching my drive letter D:, preventing my captured Windows 7 image from deploying the system partition (C:) and OS (D:). Is there anyway to run a preinstallation batch file to change anything using d: to another drive letter?


Thank you!


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Use Diskpart to rearrange the drives.
Posted by: elgoosea 11 years ago
Yellow Belt
2

I believe that you can use the Diskpart command to change the drive letter. I've linked a technet article that shows an example of this. Hopefully it will work, Windows is usually pretty picky about it's reserved drive letters

http://technet.microsoft.com/en-us/library/cc757491(v=WS.10).aspx

http://en.wikipedia.org/wiki/Drive_letter_assignment


Comments:
  • That should work. I worked up the diskpart script:

    list volume
    select volume c
    remove letter=C
    select volume d
    remove letter=D
    select volume e
    remove letter=E
    select volume f
    remove letter=F

    The letters are not important to me since my other diskpart script will assign these, but is thourough enoughe where to make sure the potentially needed partition letter assignments are removed. - bostoneo 11 years ago
  • Then again, it fails on the first line if the drive letter, for example c:, doesn't exist. Maybe I should make these into different scripts. - bostoneo 11 years ago
Posted by: philologist 11 years ago
Red Belt
1

Use the following preinstall task something like the following.  By using Disk rather than Volume, you should only get hard drives.  This is also important when deploying from the USB key.  You *must* move the USB key out of the way or you will format it.

select volume d
assign letter=q
select disk 0
clean
create partition primary size=200
select partition=1
format fs=ntfs quick
active
assign letter=d
select disk 0
create partition primary
select partition=2
format fs=ntfs quick
assign letter=c
exit

Don't be a Stranger!

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

Sign up! or login

View more:

Link

Related Links

Post

Related Posts

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