Windows 10: Apply Windows Image using DISM Instead of Clean Install  

Page 2 of 2 FirstFirst 12
  1.    2 Weeks Ago #10

    @Kari @cereberus

    I have two questions...

    >> Why do you think applying the image is faster than the traditional USB method (via USB 2.0 or 3.0) -- just curious?

    >> When creating the boot entry via "bcdboot G:\Windows" command, if the " /s " flag isn't used to designate where the boot files should be added too, does Windows automatically know which partition to add the boot entry too? What if there was another disk (such as Disk 1) or primary partition.
    Last edited by KabyBlue; 2 Weeks Ago at 08:38.
      My ComputerSystem Spec

  2.    2 Weeks Ago #11

    Windows just knows where the bcd is it seems. I am guessing dism has been updated to search for an existing EFI even in a winpe environment.

    I am guessing here (@Kari may advise) that you would only need to use the /s if trying to create a fully bootable drive with its own EFI partition rather than modifying the exiting EFI partition.

    This would only make sense if you wanted a fully independent drive to boot from selecting boot drive from bios.

    I assume it is faster as dism is just more efficient, and cuts out all the internet, driver checking phases, multiple reboots etc.
      My ComputerSystem Spec


  3. Posts : 13,744
    Windows 10 Pro
    Thread Starter
       2 Weeks Ago #12

    KabyBlue said: View Post
    >> When creating the boot entry via "bcdboot G:\Windows" command, if the " /s " flag isn't used to designate where the boot files should be added too, does Windows automatically know which partition to add the boot entry too? What if there was another disk (such as Disk 1) or primary partition.
    Installing on GPT disk on UEFI systems, boot records will be on C: drive by default. No need to use /s switch. On MBR disk / BIOS system, if the switch is not used, boot records will be stored on C: drive but using the switch you can store them on System Reserved (or another) partition.

    Note that on MBR disk, you also need to mark partition containing boot records active with DISKPART after adding deployed Windows with BCDBOOT.


    cereberus said: View Post
    I assume it is faster as dism is just more efficient, and cuts out all the internet, driver checking phases, multiple reboots etc.
    Deploying with DISM does not decrease amount of reboots. The deployment phase has no reboots, the same when running a traditional clean installation until OOBE starts. The reboots will then occur when OOBE takes over from Windows installation, be it a deployment with DISM or running Windows Setup from install media.

    Kari
      My ComputerSystem Spec

  4.    2 Weeks Ago #13

    Kari said: View Post
    Installing on GPT disk on UEFI systems, boot records will be on C: drive by default. No need to use /s switch. On MBR disk / BIOS system, if the switch is not used, boot records will be stored on C: drive but using the switch you can store them on System Reserved (or another) partition.

    Note that on MBR disk, you also need to mark partition containing boot records active with DISKPART after adding deployed Windows with BCDBOOT.




    Deploying with DISM does not decrease amount of reboots. The deployment phase has no reboots, the same when running a traditional clean installation until OOBE starts. The reboots will then occur when OOBE takes over from Windows installation, be it a deployment with DISM or running Windows Setup from install media.

    Kari
    Yeah of course you correct about reboots in deployment phase.
      My ComputerSystem Spec

  5.    2 Weeks Ago #14

    Thnx for the clarification @Kari @cereberus

    If I were servicing an Offline disk using a WinToGo USB drive -- so in this example, Disk0 would be the host's internal drive and Disk1 would be my USB WinToGo drive -- would I need to use the " /s " flag to designate where the boot files should be added?

    I posted an image below to visualize what I am referring too. Here Disk1 -- Local Disk C: -- is my WinToGo USB & Disk0 -- Local Disk G: -- is the laptop's internal SSD. Both are disks are BitLocker encrypted.

    So hypothetically, if I were to apply a clean Windows image to Local Disk G: [assuming it wasn't BitLocker encrypted], would I need to use the "/s" flag to put the files on the EFI partition of Disk0 or should they be put in the G: partition?

    Click image for larger version. 

Name:	Offline Disk servicing_B1.PNG 
Views:	12 
Size:	147.3 KB 
ID:	183112

    Click image for larger version. 

Name:	Offline Disk servicing_B2.PNG 
Views:	11 
Size:	33.9 KB 
ID:	183113
      My ComputerSystem Spec

  6.    2 Weeks Ago #15

    You would be better off deploying image to G. Then boot from a windows 10 installation drive, and just use bcdboot - as UEFI, you would not need the /s.

    If you tried to do by booting from wintogo drive, you would have to use /s to ensure it correctly updated EFI on drive 0.
      My ComputerSystem Spec

  7.    2 Weeks Ago #16

    cereberus said: View Post
    You would be better off deploying image to G. Then boot from a windows 10 installation drive, and just use bcdboot - as UEFI, you would not need the /s.

    If you tried to do by booting from wintogo drive, you would have to use /s to ensure it correctly updated EFI on drive 0.
    Solid advice. Thnx!
      My ComputerSystem Spec


 
Page 2 of 2 FirstFirst 12

Tutorial Categories

Apply Windows Image using DISM Instead of Clean Install Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Xbox Windows Phone


Related Threads
Apply Windows 10 Enterprise image via USB in Installation and Upgrade
I have taken an image using DISM and it is in the .wim format. I want to apply it to a tablet using a usb stick, it has a UEFI Bios. in the past with windows 7 and I have been able to create a bootable usb drive by using Windows 7 USB DVD tool to...
This isn't a major problem, but I would just like to understand how it happened. Some background. This is a Windows 10 clean install on a new SSD drive. The original HDD is still in the computer with a corrupt version of Windows 8 on it. My...
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....
Hi I installed Windows ADK 10 v1511 on Windows 10 v1511 Enterprise 64 bit. I typed the following commands: Dism /Apply-Image /ImageFile:"<wim_File_Path>\install.wim" /Index:1 /ApplyDir:"<Apply_Directory_Path>" /Verify /CheckIntegrity...
Solved creating usb pen for dism apply-image in Installation and Upgrade
I have managed to create a USB pen drive to apply WIM images using the DISM Apply-image command in 64bit so I know it can be done but any ideas how to create a pen to apply 32bit WIM images
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 20:16.
Find Us