![]() ![]() REM SetDriveLetterLabel.cmd - Now doing in Previous Step, sets WinRE partition to Letter R Update 8/22/16 – Added Line for F4 & Timeout Still doing more testing, as I'm having issues getting this working properly on HyperV, but so far all of my Physical Machines are working properly. I have not updated the scripts in the ZIP File yet. Add line to Delete the Default before coping the Custom one over. ![]() Update 7/22/16 - Added 2 lines in RED, I was finding that on some systems, it wasn't copying my custom WIM over because there wasn't enough room on the Partition because of the Default WIM. InstallDartUEFI.cmd (This deletes the old Windows Recovery WIM, creates the new folder structure and copies the boot.wim into place and assigns it as the recovery wim – It calls the script above to remove the drive letter when it’s done.) I was having some computers add a D or E drive based on other factors, so I just added it to this script to remove those letters too.Įcho select volume !volnum! >%TEMP%\remover.txtĮcho remove letter=r >%TEMP%\remover.txtĮcho select volume !volnum! >%TEMP%\removed.txtĮcho remove letter=d >%TEMP%\removed.txtĮcho select volume !volnum! >%TEMP%\removee.txtĮcho remove letter=e >%TEMP%\removee.txt RemoveDriveLetterLabel.cmd (This will remove the drive Letters D/E/R). If not "!string:%label_short%=!"="!string!" (Įcho select volume !volnum! >%TEMP%\assignr.txtĮcho assign letter=R >%TEMP%\assignr.txtĮcho Cannot find volume with label %label% :: Temporary command file for diskpart.exeįor /f "delims=" %%i in ('%dp% /s %dps%') do ( :: Windows 2000: "C:\Program Files\Resource Kit\diskpart.exe" SetDriveLetterLabel.cmd (This will take the Partition Labeled WinRE and assign letter R) In the Standard ConfigMgr MDT Task Sequence, go to the Format and Partition Disk (UEFI)Ĭhange the Windows RE Tools name to WinRE and change the size from 300 to 900 1100Ĭreate a Package with your boot.wim file and three batch files: ( Download here) Ok, now we have our boot.wim file, it’s time to get it into the OSD process.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |