QUOTE (knoks @ Mar 20 2011, 01:26 AM)

@jaclaz
The ddlistW.cmd does not work to me. I get error messages becaus of undefined environment variables: "media", "drive" and "line".
You mean in the PE or in the XP? (or in BOTH?).
Won't it be the copy and paste problem?
Anyway, the ideas/suggestions hinted was:
- IGNORE the different GUID's
- ONLY use the entries in the form \DosDevices\*:
Let's try a single example, ONLY about drive "d:" in XPP that becomes drive "e:" in PE:
Registry entry in XP:
\DosDevices\d: 1e 0d 1e 0d 00 c8 13 8f 13 00 00 00
Registry entry in PE:
\DosDevices\e: 1e 0d 1e 0d 00 c8 13 8f 13 00 00 00
ddlist in XP
QUOTE
\\.\Volume{54462084-2c32-11de-80c7-806d6172696f}\
link to \\?\Device\HarddiskVolume3
fixed media
Mounted on \\.\d:
ddlist in PE:
QUOTE
\\.\Volume{33556b59-528c-11e0-a9d8-806d6172696f}\
link to \\?\Device\HarddiskVolume3
fixed media
Mounted on \\.\e:
You see?
It's the same device that in XP was probably mounted on a non-default drive letter (for any reason) and that the PE gets with the "default" one.
If the "specific" BartPE is to be used on the "specific" machine, we already have the "mkmigrate.inf" solution:
http://www.911cd.net/forums//index.php?showtopic=19663i.e. the PE can boot with a pre-assigned set of drive letters.
If you want to change the drive letters after boot, all you have to do is to delete *all* keys in in the form "\DosDevices\*:" whose values correspond to those you can find in the same form entries of the offline Registry (and also the one matching mounted letters), then simply import the matching keys from the offline Registry.
For the sake of this example in the PE delete keys:
\DosDevices\E:
\DosDevices\D:\
and import in the Registry:
QUOTE
[Version]
Signature = "$Windows NT$"
[Addreg]
HKLM,"SYSTEM\MountedDevices","\DosDevices\D:",0x00030001,\
1e,0d,1e,0d,00,c8,13,8f,13,00,00,00
The drive "D:" should be now the "right" one.... (I cannot see in the screenshot you posted the data for "E:" under XP)
I am attaching a zip with ddlist.cmd and ddlistw.cmd together with the dd.exe 0.5 version executable.
Can you try running them and report if you have the same errors?

I hope this helps.

jaclaz