Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Depolying a WIM Image

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,160
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 23, 2011

In this video I will be looking at how to deploy a WIM image to a hard disk. The process is performed using windows PE. This video looks at how to perform this for the command line and also gives you some scripts to help automated the process.

[image.bat]
@echo off
diskpart /s z:\diskpartrans.txt
z:
imagex /apply z:\%1 1 g:
g:\windows\system32\bcdboot g:\windows
g:\Windows\system32\shutdown /r /t 0

[diskpartrans.txt]
select disk 0
clean
create partition primary size=100
select partition 1
format fs=ntfs quick label=system
active
create partition primary
select partition 2
format fs=ntfs quick label=windows
assign letter=g

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (itfreetraining)

  • hit enter key. But not sure as it's my first time using a script apart from learning a basic .bat file within windows itself. I would like to say that your video is very straight forward and to the point and would not like to tell you how to create your video, but from a personal point of view, what I done was to record my tutorial in a high contrast black theme for mainly those who would have a similar prob with glare. A sample of my tut is here.

  • @Ratefour Hmm that is interesting. Something for us to think about. The name of the file that you want to image goes after the batch file. For example. image MyImageXFile

    You can see that in the command

    imagex /apply z:\%1 1 g:

    The first command line argument will be change for %1.

  • Hi. Thanks very much for replying so fast. That was alot easie to copy into a notepad doc. I have, what maybe a stupid question, but how do I run them, for example, my wim file and winpe along with imagex.exe is all on a usb stick, so therefore I have to do a couple of modifications ie. the path's etc. What I usually do is break up the HDD into 4 partitions, System, Recovery, OS and Datafiles for all personal data. I'm assuming that onec booted into winpe, I locate the image.bat file and

  • @Ratefour The usb should always be mapped as the same drive so that should be easy to change. The only line that you need to change is in the file image.bat diskpart /s z:\diskpartrans.txt

    z:

    Change it to the drive that your usb appears as.

    The g drive referenced in the script is the hard disk beinf imaged. This is decide by the diskpartans.txt file with the command assign letter=g. If you change that you can set the drive letter to any drive that you want.

  • Hi. Thanks for the tutorial. Although I'm very familiar with this process, i'm not familiar with the script you show at the end of the video which unfortunately, due to my visual impairment I could not see properly. I have been looking for a way to create such a file to automate all those commands. I would be grateful if you could postt the instructions on how to make that batch/script file. Thanks, Ratefour

  • @Ratefour I have updated the descprtion to include the two scripts. The first script is a batch file. The second script contains the commands read by diskpart. All are new videos come with closed captions and also a lot more details in the descption about the video. Since this is an older video it lacks that. All the new videos are also made for 1280x720, this being an old video it was conveted and not as sharp. If you have any ideas how to improve the videos it would be great to hear them.

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • For some reason, it will not post the link here. The heading of the video is "Create your own unattended winxp installation cd/dvd.mpg part 1 by ratefour. It's just an idea for you to get an idea of what i'm trying to say about other vids that glare. Anyways, thanks for your help.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more