Deploying a WIM Image


Author: itfreetraining
187213 View
11m 1s Lenght
471 Rating


In this video I will be looking at how to deploy a WIM image to a hard disk. Check out http://itfreetraining.com for the rest of our always free training videos. 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


Comments

  1. Great video but the next video up you mentioned is nowhere to be found.
  2. Great video. I wish I could navigate my way around and find the next in the series. Not happening though.
  3. What is the purpose of assigning the partition as g: and installing the OS to it? Why not leave it as c:?
  4. HI! It possible to deploy a wim image of windows server 2012 r2?
    I have an issue, i done every step, but when i want to copy D:\windows\system32\bcdboot D:\windows, a message popup saying "error trying to copy boot files"... Sorry about my english. Regards!!
  5. Where should I put the batch file? on the WinPE media I guess. do I have to give the specific name for this file? like image.bat and the system will run it automatically like autounnatend.xml ?
  6. +itfreetraining can i just wipe the c volume from disk zero? can i keep the d partition which contains the factory image... there is also already a 100mb system file on here...i just want to wipe c and apply a wim i captured from an identical device.... or must i wipe and format the drive?
  7. Nice and detailed video, I really enjoyed watching it. I tried that, followed all the steps and encountered a slight difference. After image is deployed and computer restarted instead of loading OS I get a message that there is no system. So I need to load WinPE again and do bcdboot command to make it work. Why is that so and how to repair that?
    Btw. is it possible to make such an image unattended?
    Best regards!
  8. Hello itfreetraining, Great Video very well voiced. i have an issues on last step Boot files. Message reads "Failure when attempting to copy boot files" ? any help is most welcome
  9. Thanks a lot for the video , it helped me a lot to create my custom image and basically with two USB s one with (WinPE+ImageX+Script )and one with customized WIM I could make my own little setup that I could inject my image in to a PC with in 10 min..

    Until I ran in to a problem, however it could not make my windows partition bootable for some reason.. I tried and tried so many stuff experimented a lot .but I'm still out of luck I'm trying to copy my image in to a HP Compaq 8200 Elite SFF PC and I guess this PC is based on Unified Extensible Firmware Interface (UEFI) firmware and whose disks use a GUID partition table (GPT) .
    When I tried to make the system partition active , it gives me the following error
    "The selected disk is not a fixed MBR disk.
    The active command can only be used on fixed MBR disks"

    do you have any solution for this isuue ?

    Thanks!
  10. Thank you so much, really clever! I operated with dism.exe and restored to factory default an Acer Aspire successfully.
  11. hi , i created a bootable image using AIK imagex on a usb.
    the cmd ( net use z: \\ ... ) doesn't work
    any idea how to locate the usb locally ?
  12. Hi.  In your exampleof the .bat file, you specify z: as the destination of your.txt script, so I have install.wim .bat file and .txt file all on my bootable winpe usb flash.  My problem is, what letter do I assign in the .bat file when ponting towards the .txt file as when usb flash is inserted into different computers, the letter of the usb flash can change.  Just wandering is there a symbol eg. % or something like that which tells the .bat command g:\disktrans.txt to look for whatever that particular pc has assigned that usb flash for example %:\disktrans.txt.  I'm sorry if i'n not clear about this but I know what i'm trying to say but may have worded it incorrectly.  I have named my 2 files, Diskpart.bat and Formatdisk.txt but don't know what letter to put in front of :formatdisk.txt as they are on root of usb flash and as I say, those drive letters change depending on what pc they're in.  Thanks
  13. I have an asus s56ca ultrabook with 750gb hdd & 24gb ssd and windows 8. I upgraded it to win 8.1 but a month later i tried to go back to win 8, due to virus issues, using recovery option but it said that "Recovery partition was not found". Please Help!
  14. Hi thanks for the Videos... I having a problem in using net use... one i clean the hardisk and create new part-ion and finish all the steps .. i cant connect to the server map drive .. i cant ping the server also .. Pleas advise .. it says path not found... i have checked all the name ..there is no problem in that
  15. This is Very nice and easy, I wish if u can help me, I have created a System image on win 8.1 64 Bit it took 2 partitions *The System partition, also C drive and it was created without problems, i wanna Deploy it n a new bigger HDD And i need the correct Steps actually before doin' it...
  16. the "bcdboot c:\windows" command fixes the "BOOTMGR is missing" error at boot!
  17. i've spent two days trying to recover my brand new ASUS laptop.
    your video was the only help ... now its working again

    Thanks a LOT for this great video
  18. Another great video from itfreetraining. I always check here first when trying to figure out how do something, or even remembering how to the complex steps involved.  Thx!
  19. Hi there, thanks a lot for such a informative tutorial, i tried the same and create unattended DVD to apply image by calling the all commands from Startnet.cmd , and its working sucssessfully, but the problem is its taking so much time to apply image from DVD, whereas its take couple of mins if i will apply image from External harddisk, how to handle it, i want to create a unattended bootable DVD, please help me out.
  20. Thanks for the great video, unfortunately when I attempt to install BCDboot, Windows PE states, "the subsystem needed to support the image type is not present."

    I confirmed that BCDboot was in the correct path on the PC that the image was taken from. I also tried to copy BCDboot onto a USB drive but it still gave the same problem.

    I'm sure I can use a windows recovery disk to fix this issue but since this image is being deployed I would like it to be streamlined. Please, any suggestions would be helpful.

    Thanks!