Hi Guys,
I have a .wim file I need to deploy through MDT, though for this image I would prefer it to run a few simple commands to apply it.
diskpart.exe /s Z:\scripts\diskpart.txt
dism /apply-image /imagefile:z:\wim\win8.wim /index:1 /applydir:c:\
bcdboot c:\Windows
I can run this through an older winpe, and run the script saved as a batch file and it applies. When I try to command line run the batch file in a custom task sequence, it immediately fails. Any proper method to get this to apply? Again I don't want this to run through a standard deploy sequence, this has a custom admin name and I just need to apply-image and restart the machine. Any thoughts? Thanks!
Ryan