Jump to content

ImageN00B

Member
  • Posts

    2
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by ImageN00B

  1. I'll clarify... I created a WAIK-based WINPE bootable UDF to USB, i placed my two scripts onto the USB, along with my image (captured) WIM file. So i'm booting to the USB, and by default from what i'm seeing on 5 different computers, is that setting the booting the USB as DISK 1, by the configs of the WINPE. I run the batch at launch by typing in "part1" which executes the batch file. Line 1 of the file calls to the DISKPART script, but by the time it attempt to quick format the drive and assign it as "D", it reboots. (I have no idea why, as i've not called to do so in the script) If i follow the scripts line for line, it works perfectly. If i execute the batch, it blows up and reboots to the computers. I REALLY don't want to have to do this manually, as everything i've seen online says you can do this through scripts. I'm just not seeing it. HELP!?!?
  2. I am attempting to run a light-touch to unattended imaging process from a USB, however i run into an error. I am running an error during the assignment of a drive letters several lines into my batch script. I have a 2 part imaging system that i call a batch file, and it runs through and is supposed to apply my wim as an image. During the part that it calls to for diskpart as part of my imaging i get an error. The initial batch is as follows: diskpart /s part2.txt copy u:\test.wim d: x:\imagex.exe /apply d:\test.wim 1 d: d:\windows\system32\bcdboot d:\windows exit During the diskpart it calls to a text file for the diskpart commands noting: select disk 0 clean create partition primary size=80 select partition 1 format fs=ntfs label="system" quick assign letter=C active create partition primary select partition 2 format fs=ntfs label="windows" quick assign letter=D select disk 1 select partition 1 assign letter=U exit It goes throught the script all the way until it tries to assign drive letter D, then it throws an error. Virtual Disk Service error: The specified drive letter is not free to be assigned. Thusly bunking my entire automation. Everything works flawlessly if i run the entire diskpart section by hand, however it will not work in a diskpart batch. HELP!?!?!
×
×
  • Create New...