Help - Search - Members - Calendar
Full Version: WinPE 2.1 Remapping startup DVD Drive
MSFN Forums > Unattended Windows Discussion & Support > Windows PE

   
Google Internet Forums Unattended CD/DVD Guide
curriegrad2004
Is it possible to remap the DVD-ROM or CD-ROM drive letter where WinPE 2.1 starts up from? I don't mean the RAMDisk X: drive, but I mean where WinPE 2.1 starts up from.

I am creating an automated DVD restore image using ImageX and diskpart so that I don't have to purchase ghost just for recovering the PC.

Any possiblities through a script or a batch file?
WreX
Here's a batch file I use from startnet.cmd to change the CD / DVD drive to K:

CODE
@echo off
echo list volume > X:\ListCD.txt
FOR /F "tokens=2,4" %%i IN ('diskpart /s X:\ListCD.txt') DO @IF /I %%j == CD_ROM SET CDROMVOL=%%i
IF DEFINED CDROMVOL echo select volume %CDROMVOL% > X:\ChangeCD.txt
IF DEFINED CDROMVOL echo assign letter=K: >> X:\ChangeCD.txt
IF DEFINED CDROMVOL diskpart /s X:\ChangeCD.txt
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.