Adding Custom system files to the install.wim file.

Page 1 of 2 12 LastLast

  1. Posts : 125
    Windows 10 Pro x64 Full Retail Version
       #1

    Adding Custom system files to the install.wim file.


    Is there a way using DISM to add/overwrite system files in the system resource folder in the install.wim file in the iso. So that when i install windows my custom icons for folders and drives are already installed along with the .reg files to show the drive icons.Adding Custom system files to the install.wim file.-windows-version.png
      My Computer


  2. Posts : 4,594
    several
       #2

    Yes.
      My Computer


  3. Posts : 125
    Windows 10 Pro x64 Full Retail Version
    Thread Starter
       #3

    SIW2 said:
    Yes.
    Do you mind please telling me how to do it? Just saying yes is not very helpful at all.
      My Computer


  4. Posts : 31,677
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #4

    Snakefist said:
    Do you mind telling me how to do it? Just saying yes is not very helpful at all.

    See Kari's tutorials, here you can use Dism to add drivers....

    Servicing an offline image, mounting an image, committing changes, it all sounds a bit complicated to an average Windows user. However, it's just geek speak meaning modifying default Windows install image, the install.wim file. It is a straight forward procedure. When changes have been committed (written, saved) to image, the modified install.wim can be used to deploy Windows or to replace original install.wim on existing install media.
    DISM - Add or Remove Drivers on an Offline Image


    The 'Capture image' section of this one is probably closest to what you want...

    ...before starting to use Windows I capture the Windows image to a custom install.wim file and use it in setting up my own custom "factory recovery" partition.
    Factory recovery - Create a Custom Recovery Partition
      My Computers


  5. Posts : 125
    Windows 10 Pro x64 Full Retail Version
    Thread Starter
       #5

    Bree said:
    See Kari's tutorials, here you can use Dism to add drivers....

    DISM - Add or Remove Drivers on an Offline Image


    The 'Capture image' section of this one is probably what you want...

    Factory recovery - Create a Custom Recovery Partition
    I already added drivers into my iso her tutorial was perfect for that. Now i want to add a .reg file into it also, then i want to replace 3 system files in the system resource folder so i don't have to do all that after i install windows. So my custom icons and folders are already there after a install of a fresh copy of windows.
    This is a retail version of windows 10 pro not a oem.

    These are the files i want to replace with the originals in the install.wim file. These are located in the system resources folder, imageres.dll.mun, DDOres.dll.mun and mmres.dll.mun
      My Computer


  6. Posts : 31,677
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #6

    Snakefist said:
    I already added drivers into my iso here tutorial was perfect for that. Now i want to add a .reg file into it, also then i want to replace 3 system files in the system resource folder so i don't have to do all that after i install windows. So my custom icons and folders are already there after a install of a fresh copy of windows.

    Yes, looks like you need to use @Kari's tutoirial. After configuring Windows how you want it see Part 1 for how to capture its image....


    ...1.10) Now I can capture Windows to a custom WIM file with DISM. The switch /imagefile: followed by a path and filename tells the DISM command where to save the captured Windows image, in my case now I want to save image as install.wim on mapped network drive Z:. Switch /capturedir: followed by the drive letter, colon and backslash tells DISM which drive contains the Windows installation I want to capture, drive D: in this example case. Change these according to your needs.

    The command to capture image (#8):

    dism /capture-image /imagefile:Z:\install.wim /capturedir:D:\ /name:"Recovery" /description:"My Custom Recovery Image" /compress:maximum
    Factory recovery - Create a Custom Recovery Partition
      My Computers


  7. Posts : 125
    Windows 10 Pro x64 Full Retail Version
    Thread Starter
       #7

    Bree said:
    Yes, looks like you need to use @Kari's tutoirial. After configuring Windows how you want it see Part 1 for how to capture its image....


    Factory recovery - Create a Custom Recovery Partition
    Oic i have to customize windows first, then make a recovery file from my windows installation already installed.
      My Computer


  8. Posts : 31,677
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #8

    Snakefist said:
    Oic i have to customize windows first, then make a recovery file from my windows installation already installed.
    That seems to be how @Kari does it. If there's an easier way I'm sure he'll let you know.
      My Computers


  9. Posts : 125
    Windows 10 Pro x64 Full Retail Version
    Thread Starter
       #9

    Bree said:
    That seems to be how @Kari does it. If there's an easier way I'm sure he'll let you know.
    I'm sorry my bad i seen oem and i thought they was meaning them oem windows installs from dell and hp ect. So again my bad.

    Edit it won't let me thank you again so i'll say it here thank you and again i'm sorry i misunderstood.
      My Computer


  10. Posts : 17,661
    Windows 10 Pro
       #10

    Bree said:
    Yes, looks like you need to use @Kari's tutoirial. After configuring Windows how you want it see Part 1 for how to capture its image....


    Factory recovery - Create a Custom Recovery Partition
    What OP wants is easy to do.

    First, edit registry in an offline image: DISM - Edit Registry on an Offline Image

    Then, before saving the changes to image (above linked tutorial Part Three), add or delete files in Windows folder in selected MOUNT folder. For instance, if offline image is mounted in C:\Mount, then the Windows folder to edit is C:\Mount\Windows.

    When done, proceed to tutorial Part Three and save changes.

    Kari
      My Computer


 

  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 09:56.
Find Us




Windows 10 Forums