This project is read-only.

Create-Media Fails


Hi Anthony,

When I try and run the .\Create-Media script it fails with the below error;

"Get-ChildItem : Cannot find path 'C:\a' because it does not exist.
At C:\Installs\TestLabBaseConfigurationHydrationKit\build\Modules\TestLab.psm1:474 char:13 ..."

I am running this on Server 2012 R2 in a Hyper-V VM with MDT 2103 and ADK, I have tried searching through the Testlab.psm1 to find where it is referencing C:\a with no luck on a quick glance. I also removed the existing Deployment Shares and just created one using the script but build errors in same place...

Full error screen shot attached, would be awesome to get this running as need to create 3 instances of the testlab for staff MS training.

Thanks in advance



file attachments


aaronjlee wrote Aug 22, 2014 at 9:08 PM

I too ran into this issue, however was able to track down the culprit.

In my case I am running Windows 8.1 and have the most recent ADK.

On line 433 of TestLab.psm1, I had to update the path pointing to the 8.1 ADK.
$ADK = "C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools"
After doing this I was able to successfully create the ISO.

Hope this helps you out.