fbcesco Posted June 28, 2005 Share Posted June 28, 2005 I have the necessity to change the letter of my CDROM to the first reboot How can I modify the winnt.sif so that face this?thanks Link to comment Share on other sites More sharing options...
DonDamm Posted June 28, 2005 Share Posted June 28, 2005 You don't do this in winnt.sif.You can do this using diskpart.exe, which is part of the Windows OS. It needs a script to tell it what to do and where.I use it at t-12 to change my two DVD drives to Y: and Z:I do it as follows:- Create a file DriveAssign.cmd and place it in your $oem$ folder.- Add a line in your cmdlines.txt file under [Commands] for DriveAssign.cmd- Create Drives.txt and place it in your $oem$ folderDriveAssign.cmdcdmow @ HID@echo offDISKPART /s drives.txtexitDrives.txtselect volume 0 assign letter=Z noerrselect volume 1 assign letter=Y noerrselect volume 2 assign letter=C noerrselect volume 3 assign letter=D noerrcmdlines.txt[COMMANDS]"DriveAssign.cmd""useraccounts.cmd""RunOnceEx.cmd""VMware.cmd"Note that your CD/DVD drive will show up first as volume 0 or 1, and then you other drives in order. You can check this out first by using the the diskpart command and then "list" which will show you the corresponding volumes on your system.Hope this helps. Link to comment Share on other sites More sharing options...
fbcesco Posted June 28, 2005 Author Share Posted June 28, 2005 I immediately try it I make you knowthanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now