DISM - Add or Remove Drivers on an Offline Image  

Page 6 of 9 FirstFirst ... 45678 ... LastLast
  1. Hoolm's Avatar
    Posts : 492
    OS 10 64
       #50

    @hsehestedt
    Thank u but i must tell u i have tried to delete this big log file
    but my browser keeps crashing every time i come to this post Funny
      My Computer

  2. hsehestedt's Avatar
    Posts : 2,157
    Windows 10 Pro, 20H2
       #51

    One other thing to note:

    If you have a image mounted with DISM and an operation on the image is aborted or fails you can end up with stale handles to the image which cause problems for further DISM operations ** Even after a reboot **.

    If you suspect that as a possibility, try issuing the following commands (the path in the first command is only an example):

    Code:
    dism /Unmount-Image /MountDir:"D:\Mount" /Discard
    dism /Cleanup-WIM
    dism /online /Cleanup-Image /StartComponentCleanup
      My Computers

  3. Hoolm's Avatar
    Posts : 492
    OS 10 64
       #52

    hsehestedt said:
    One other thing to note:

    If you have a image mounted with DISM and an operation on the image is aborted or fails you can end up with stale handles to the image which cause problems for further DISM operations ** Even after a reboot **.

    If you suspect that as a possibility, try issuing the following commands (the path in the first command is only an example):

    Code:
    dism /Unmount-Image /MountDir:"D:\Mount" /Discard
    dism /Cleanup-WIM
    dism /online /Cleanup-Image /StartComponentCleanup
    Thank u
      My Computer

  4. hsehestedt's Avatar
    Posts : 2,157
    Windows 10 Pro, 20H2
       #53

    I've been following a bunch of Kari's tutorials for over a year and I wanted to automate all these operations (exporting the drivers, injecting the drivers into Windows images, injecting the latest Windows updates, creating bootable thumb drives that can include multiple Windows editions, and a whole lot more).

    If you are interested, let me know and I'll send you a link where you can download it.

    Here is a screenshot of the main menu and I've highlighted those operations that you seem to be working with currently:

    DISM - Add or Remove Drivers on an Offline Image-screenshot1.jpg
      My Computers

  5. Hoolm's Avatar
    Posts : 492
    OS 10 64
       #54

    hsehestedt said:
    I've been following a bunch of Kari's tutorials for over a year and I wanted to automate all these operations (exporting the drivers, injecting the drivers into Windows images, injecting the latest Windows updates, creating bootable thumb drives that can include multiple Windows editions, and a whole lot more).

    If you are interested, let me know and I'll send you a link where you can download it.

    Here is a screenshot of the main menu and I've highlighted those operations that you seem to be working with currently:

    DISM - Add or Remove Drivers on an Offline Image-screenshot1.jpg
    Yes Please SEND it
    this is much more Helpful



    I would really like for someone to offer a solution that has worked for them. I'd also appreciate it being expressed in layman's terms. I'm a user - not a developer and certainly not tech savvy!
      My Computer

  6. hsehestedt's Avatar
    Posts : 2,157
    Windows 10 Pro, 20H2
       #55

    Okay, please find the program attached. Full source code is included so you can see what I'm doing.

    Note: I'm not a professional programmer so the code is probably crazy sloppy, but it works for me. I mainly wrote this program for myself, partly as an exercise to prove to myself that I really understood all the procedures from the tutorials I was following and to reinforce them in my mind. But it became way more than that. Now I can update images in no time at all. As an example, yesterday was patch Tuesday. I was able to add all the latest patches to my Windows images and create a single thumb drive with **26** Windows 10 editions, including sysprep images. I can install any of these Windows all from a single thumb drive and I was able to create it with almost no effort at all by using my program.

    If you have any questions at all, please just ask, and not only about the program, but about the steps for adding drivers as well.

    - - - Updated - - -

    For some reason, I am not seeing the file I attached. If you do not see it either, please let me know.
      My Computers

  7. Hoolm's Avatar
    Posts : 492
    OS 10 64
       #56

    @hsehestedt
    Thank Sir so much
    this is a real big help Since i Live in Germany
    Do u have any Idea of how much work i have to do every time i do a fresh install

    Because of swithcing the Language and the Keboard and so on

    So this is a very Good help

    - - - Updated - - -

    No I dont see it Either
    please resend
      My Computer

  8. hsehestedt's Avatar
    Posts : 2,157
    Windows 10 Pro, 20H2
       #57

    Okay, I think that this should do it. It was operator error by me

    Windows Image Manager 7.5.2.15.zip
      My Computers

  9. Hoolm's Avatar
    Posts : 492
    OS 10 64
       #58

    hsehestedt said:
    Okay, I think that this should do it. It was operator error by me

    Windows Image Manager 7.5.2.15.zip
    DISM - Add or Remove Drivers on an Offline Image-screenshot_103.png

    - - - Updated - - -

    So I Need ur Advice here

    i will start with number 8 then choose 5 or 6 ? i cant make it out ?
    DISM - Add or Remove Drivers on an Offline Image-screenshot_104.png
      My Computer

  10. hsehestedt's Avatar
    Posts : 2,157
    Windows 10 Pro, 20H2
       #59

    It depends upon what you want to do.

    Before I go on, if you have further questions regarding this, please PM me. I don't want to hijack this thread on the tutorial with huge discussions on my program .

    Here is a summary of what each of those options do:

    #5: This will extract Windows editions from multiple different ISO images, then combine them all into a single ISO image. As an example, you could take Windows 10 Pro both x86 and x64 as well as Windows 10 Home x86 and x64 from a Windows 10 Retail ISO image, as well as a sysprep customized Windows 10 Pro x64 and combine them all into a single ISO image.

    The bottom line is that #5 doesn't modify any Windows editions, it just gathers a bunch of different editions and combines them all into one ISO image.

    #6 is useful if you have extracted the contents of a Windows ISO image to the hard drive and then made modifications. As an example, say that you have coped the contents of a Windows 10 retail ISO image to a folder on your HD. You then manually added drivers or updates and committed those changes. So now you have the modified files sitting on the HD. This option will take those files and create an ISO image out of them.

    #8 does nothing more than export all the drivers from a system to a folder of your choosing.

    NOTE: Read the help file for this program. Note that I suggest running a utility called Driver Store Explorer first. It can significantly reduce the size and number of drivers needed.

    Complete Guide
    ==============
    I am assuming that your goal is to take a Windows image and update it with drivers from one or more systems. Here is how to do this:

    1) Run option #8 on the system where you want to save the drivers from.

    2) Run option #14. This will show all the editions of Windows contained in your ISO image. Let's assume that you want to add the drivers to Windows 10 Pro x64. You run option #14 and it tells you that Windows 10 Pro has index number 6.

    3) Run option #3. It will ask for the location of ISO images to update. Point it to the folder where your ISO image(s) are located. It will ask you where the drivers are located. For each ISO image in the folder you specified, it will ask if you want to update any editions of Windows within that ISO. For each ISO image you choose to update it will ask you for the index number of the Windows edition you want to update. So in this example, in step 2 we had determined that Windows 10 Pro is index 6 so we would tell it to update index 6. You will also be asked for a destination location.

    NOTE: Option #3 can add drivers to multiple different ISO images, but only to one edition on each ISO image. You would have to run it multiple times to update multiple editions within the same ISO image. I plan to add the ability to update multiple editions in an ISO image in one go eventually.

    NOTE2: The original ISO image is never modified. A new ISO image is created in the destination that you specify. Think of this kind of like modifing a picture where the image editing software creates a copy of your original photo with the changes but leaves the original photo alone.

    When done, your new ISO image(s) will have all the same editions of Windows that your original ISO images had, but only the edition with the index you specified will have the drivers added to it. In this example, Windows 10 Pro will have the drivers added to it, but not any other Windows editions within that ISO image.

    Hope this helps!

    Remember, for further discussion, let's take this to private messages.
      My Computers


 
Page 6 of 9 FirstFirst ... 45678 ... LastLast

Tutorial Categories

DISM - Add or Remove Drivers on an Offline Image 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 Mixed Reality Phone


  Related Discussions
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 06:35.
Find Us




Windows 10 Forums