How can I run a cmd script during windows setup somewhere between the beginning of phase 3 and the beginning of phase 5? I need to copy hardware dependent files from the USB drive to the C: drive before the hardware detection kicks in. I use wmic, which runs in WinPE, to determine the hardware.

Posted here as well.


Someone deleted the linked question, but it was answered here after I reposted :(

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.