BartPE and cd drive



hans jacobsen
07-10-2005, 03:16 AM
I'm using bartpe to automate the prosses of creating unattende images.
from the cd we start diskpart /s d:\diskpart.txt through a cmd file.
The problem is that bartpe makes the disk drive d or x depending on the
system we are booting the cd from.
Is there an easy way to resolve this?

WM
07-10-2005, 03:16 AM
As of Windows XP SP2, and later in Windows Server 2003 SP1, WinPE behavior
changed to always have the boot drive letter be X:. It used to be X: only
when booted from RIS, and another (variable) drive letter when booted from a
HDD or CD, depending on the partitions and drives already on the system.
Previously there was no way to know what the letter would be when booted
from anything other than RIS. Now it is always X:. That is the default
behavior for WinPE - BartPE should be the same, since it is just
reverse-engineered WinPE.



"hans jacobsen" <hansjacobsen@discussions.microsoft.com> wrote in message
news:C84D8615-5188-4C76-96ED-E691C9807802@microsoft.com...
> I'm using bartpe to automate the prosses of creating unattende images.
> from the cd we start diskpart /s d:\diskpart.txt through a cmd file.
> The problem is that bartpe makes the disk drive d or x depending on the
> system we are booting the cd from.
> Is there an easy way to resolve this?

Mats
07-10-2005, 03:16 AM
Not sure that i get you correctly but if you got your diskpart script on the
same media as you boot from you can either skip the driveletter and just do
a diskpart /s \diskpart.txt or if that doesn't work try a diskpart /S
%systemdrive%\diskpart.txt


"hans jacobsen" <hansjacobsen@discussions.microsoft.com> wrote in message
news:C84D8615-5188-4C76-96ED-E691C9807802@microsoft.com...
> I'm using bartpe to automate the prosses of creating unattende images.
> from the cd we start diskpart /s d:\diskpart.txt through a cmd file.
> The problem is that bartpe makes the disk drive d or x depending on the
> system we are booting the cd from.
> Is there an easy way to resolve this?


BartPE and cd drive