Quantcast
Channel: Microsoft Deployment Toolkit forum
Viewing all articles
Browse latest Browse all 11297

Deploying WIM Image from USB

$
0
0

Good evening everyone, 

I've spent the past three days trying to find a good way to deploy my image from a USB file. This is for our level one technicians, so I'm trying to minimize the amount of CMD line work they have to do. I've been using the microsoft Technet articles, and currently have a WinPE USB created with a separate Image partition containing the image file. The issue is, I can't get the scripts to see the Win10_1903.wim file in the images directory. 

This is my current attempt to have the script automatically find the correct drive letter:


@echo Find a drive that has a folder titled Images.
@for %%a in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do @if exist %%a:\Images\ set IMAGESDRIVE=%%a
@echo The Images folder is on drive: %IMAGESDRIVE%
@dir %IMAGESDRIVE%:\Images /w
ApplyImage %IMAGESDRIVE%:\Images\Win10_New.wim

It does not seem to be working inside WinPE. The error is the standard 'The system cannot find the path specified'

Any ideas would be greatly appreciated. 

P.S. - Unfortunately all of our locations have very small pipes, so pushing over the network from the WDS server is not an option. 

Relocated from Scripting Forum to MDT Forum


Viewing all articles
Browse latest Browse all 11297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>