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!?!?!