|
Answer» I am trying to build a laptop USING WAIK. Some of the time everything works fine and the build completes successfully others it doesn't.
Cause: Within the diskpart utility the enumeration of the physical disks is fixed. The HDD is Disk 0 and the USB is DISK 1. However the VOLUME LABELLING is inconsistant. I need the volume labelling to be consistant because my scripts are reliant on knowing where each volume is.
Question: Is there anyway that I can make this Volume labelling a consistant process?
Any help would be magnificent. Why not create the volume labels ahead of time ? ?Tried that, it's the order that they are ENUMERATED that is causing me ISSUES. Volume 0 can sometimes be the CD/DVD but other times the USB? I want to force it to be consistant in the order that these are listed.Volume 0 will always be the 1st HDD if there is 1 present...I've found that although logic dictates that Volume 0 is the first boot device, this is not neccessarily the case.
With the USB Stick in, the WinPE environment boots so that it creates RAM Drive X:\Windows\System32> It then runs Startnet.cmd.
This file runs diskpart /s the text file cleans the HDD thus removing it from the inventory and reletters the CD/DVD to T: and the USB to F: (Well that is what I want it to do).
If I look in diskpart and lis vol what I want to see every time is: Volume 0 T DVD-ROM Volume 1 F FAT32 Partition 15GB Healthy
It's these parameters that keep swapping. I want to be able to guarantee that Volume 0 will always be the DVD-ROM or guarantee that it will be the USB, and not keep switching between the TWO.
|