Windows 10: DISM image capture missing files after copy

Discus and support DISM image capture missing files after copy in Windows 10 Installation and Upgrade to solve the problem; We are having a strange problem taking an image from a VM to deploy on PCs. We have done it this way for a couple years without issue but this round... Discussion in 'Windows 10 Installation and Upgrade' started by Docskyhawk, Jul 28, 2020.

  1. DISM image capture missing files after copy


    We are having a strange problem taking an image from a VM to deploy on PCs. We have done it this way for a couple years without issue but this round seems to be acting odd. I boot into the VM with Windows PE, run DISM /image-capture etc, save the WIM, life is good. I can mount the wim on that same VM after booting back into windows and it shows all files there, good to go. When I copy the WIM to our WDS server to mount there and inject drivers etc, some system files are missing such as the wdboot.sys files in windows\system32\drivers\wd folder. The three files show there but are 0kb and cause the PC to blue screen on those files when burning to a PC.


    At first it seemed like AV is at work but the logs on the AV server are not showing any files being deleted or quarantined. The other thought is that it is making a copy of a reference to the files like dedup but it is just a straight capture of c:\ on a fresh install.


    Thoughts?

    :)
     
    Docskyhawk, Jul 28, 2020
    #1
  2. gt90 Win User

    Question about capturing a Windows 10 image using DISM


    Hi,

    I have the following task to complete; I would like to capture an image from a machine running Windows 10 enterprise using WinPE and DISM and then using Windows Server 2012 R2, PXE boot the captured image onto 10 other machines on the network. I would not like to use any third party tools to complete this task by the way. I am planning on following this guide: Deploy Windows 10 using MDT 2013 and WDS TheITBros but am having some trouble completely comprehending the guide. *Confused If anybody can suggest a better guide which satisfies my requirements I would very much appreciate your suggestions.DISM image capture missing files after copy :)

    My first question is (apart from the Server 2012 R2 which is my domain controllor, the 10 machines I wish to PXE boot the Windows 10 enterprise image to, the switch connecting the 10 machines and the network) how many additional machines do I need to complete this task? (I just want to get a clearer picture of how many machines I will need hence the first question)

    My second question is about capturing the Windows 10 enterprise image itself. My current understanding is that I have to run sysprep with the generalise and OOBE (set to shutdown) switches to remove the SID's then boot WinPE on the machine and use DISM to capture the Windows 10 enterprise image. Sounds easy so far except that I've looked at some guides online and rather than capturing just the Windows 10 enterprise image, some people also capture their system and recovery partitions. Just to clear up what I mean by this, when you go into diskpart and then type list volume, you are shown (on my machine at least) the system partition which is about 100MB, the recovery partition which is about 500MB and the partition where my operating system is stored which varies from machine in size but is about 470GB on my machine. My point and question is do I only need to use DISM to capture the partition where my operating system is stored e.g. my C:\ drive and will this be enough when I later deploy the captured Windows 10 enterprise image via Server 2012 R2 and PXE booting?

    Also, if you could please give me a small explanation on the steps I need to carry out next after capturing the Windows 10 enterprise image with DISM i.e. the steps to deploy the captured image using Server 2012 R2 and PXE booting across my network.This would be really appreciated, thank you.DISM image capture missing files after copy :)

    Thank you,
     
  3. WHAT'S THE DIFFRENCE BETWEEN "Capture-CustomImage" and "Capture-Image" WHILE CAPTURING IMAGE USING DISM

    Hi.

    /Capture-CustomImage only captures the customization files. It can’t be used to capture installation files into a new WIM.

    /Capture-Image

    Captures an image of a drive to a new .wim file. Captured directories include all subfolders and data. You cannot capture an empty directory. A directory must contain at least one file.

    Info for customimage here:
    https://docs.microsoft.com/en-us/windows-hardwa...


    Info for Image here:
    https://docs.microsoft.com/en-us/windows-hardwa...
     
    Zackary Vanosdol, Jul 28, 2020
    #3
  4. RejZoR Win User

    DISM image capture missing files after copy

    How to get damn DISM to work?

    Thx guys, I'll compress this data into a blog post. For all the so called guides I've read, not a single one mentioned it has to be WIM file (some listed even ESD which clearly doesn't work) or that certain ISO images don't work with DISM.

    After I've done DISM thingie, SFC also managed to repair stuff. Which is what I've needed here.
     
    RejZoR, Jul 28, 2020
    #4
Thema:

DISM image capture missing files after copy

Loading...
  1. DISM image capture missing files after copy - Similar Threads - DISM image capture

  2. Capture image with DISM and /verify error 80

    in Windows 10 Support
    Capture image with DISM and /verify error 80: Hi folks using DISM command to capture a windows WIM image from my current system using DISM from latest Windows build ISO it errors out if you run this command Please folks how do we get rid of those damn Smiley's when typing code !!!!!!!!! (D is current Windows disk, C is...
  3. Using DISM to capture a online image you are using, or online image after sysprep command...

    in Windows 10 Installation and Upgrade
    Using DISM to capture a online image you are using, or online image after sysprep command...: Hello I am trying to create a .wim or .iso file for use with practice with learning for college with making deployable images for windows 10. Can anyone help? I keep getting stuck with the DISM command line after. There is a dism /online command switch that would utilize...
  4. TAKE BACKUP OF C:\USERS FOLDERS BY USING DISM CAPTURE IMAGE -IT WILL BE USEFUL AFTER...

    in Windows 10 Installation and Upgrade
    TAKE BACKUP OF C:\USERS FOLDERS BY USING DISM CAPTURE IMAGE -IT WILL BE USEFUL AFTER...: hello windows users , today i am going to show taking backup of C:\users\ directory for future reference in form of .wim image , it will be usefull when if you reinstalled windows or did clean installation after gets some problems I use DISM.exe built in tool to capture...
  5. System32 folders missing after capture

    in Windows 10 Customization
    System32 folders missing after capture: I am working with Windows 10 Enterprise 1803 64 Bit. I have tried to capture an image from it and I have noticed that the folders in system 32 after the config folder are no longer folders. What could cause this? Offline: I have removed most of the provisioned applications...
  6. Question about capturing a Windows 10 image using DISM

    in Windows 10 Backup and Restore
    Question about capturing a Windows 10 image using DISM: Hi, I have the following task to complete; I would like to capture an image from a machine running Windows 10 enterprise using WinPE and DISM and then using Windows Server 2012 R2, PXE boot the captured image onto 10 other machines on the network. I would not like to use...
  7. DISM capture and apply WIN10 image failure. Need guidance.

    in Windows 10 Support
    DISM capture and apply WIN10 image failure. Need guidance.: I've hit quite a snag here.I booted from WINPE5.1 and ran DISM and captured a Windows 10 golden instance image and the UEFI System Partition (what I traditionally knew as system partition) saved to external hard drive. It seems that I did not image the Microsost Reserved...
  8. Both Dism and Health Image fail, reporting missing source files

    in Windows 10 Performance & Maintenance
    Both Dism and Health Image fail, reporting missing source files: I'm trying to repair a W10 installation, and so I ran Dism. Unfortunately it fails, and reports that it can't locate the source files - Error - cannot locate the source files: [img] The example I used for running Dism: [img] File Explorer, showing drive G,...
  9. Using Dism to capture and apply windows 10 images to a partition

    in Windows 10 Support
    Using Dism to capture and apply windows 10 images to a partition: Hi guys, so a few days ago my windows 10 crashed so I had to format and reinstall windows 7 then upgrade to windows 10, a hard work to do. So I started to search about how to capture the image of C: where the windows 10 is running and I found Dism. Now I have a lot of...
  10. Capture or append an image in a file esd

    in Windows 10 Installation and Upgrade
    Capture or append an image in a file esd: Hi Using Windows 10 ADK v1511, how do I capture an image directly by saving it in an esd file? Also, how do I add an image volume, to an esd file? Thanks Bye 42464