With a multi-card reader on the system, WinPE assigns drive letters.

When creating partitions, it’s possible that C or D is used by the card readers. To work around this issue, simply remove the assigned drive letters.

Method Used

Create a pre-installation batch script with the following command lines.

echo select volume 0>>x:\windows\temp\remove0.txt
remove all noerr>>x:\windows\temp\remove0.txt
echo select volume 1>>x:\windows\temp\remove1.txt
remove all noerr>>x:\windows\temp\remove1.txt
echo select volume 2>>x:\windows\temp\remove2.txt
remove all noerr>>x:\windows\temp\remove2.txt
diskpart /s x:\windows\temp\remove0.txt
diskpart /s x:\windows\temp\remove1.txt
diskpart /s x:\windows\temp\remove2.txt

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.