Windows 10: Can you selectively restore from WIM files?

Discus and support Can you selectively restore from WIM files? in Windows 10 Gaming to solve the problem; I used Dism to capture images of my Users folder, Program Files, and Program Files x86 as well as Program Data…Is there any way to make a windows image... Discussion in 'Windows 10 Gaming' started by IncrediblyGrandioseFella, Apr 17, 2025.

  1. Can you selectively restore from WIM files?


    I used Dism to capture images of my Users folder, Program Files, and Program Files x86 as well as Program Data…Is there any way to make a windows image that is clean apart from those files, or apply just those files onto a clean windows install?

    :)
     
    IncrediblyGrandioseFella, Apr 17, 2025
    #1
  2. johnspack Win User

    Compacting a wim file?

    Sorry, no idea where to put this. I just recently learned how to use dism. I use it to slipstream all hotfixes and ie10 ect into an AIO install disc. The problem is, it creates a huge install.wim after 8 index mounts and slipstreams. Considering all 8 images use the same darn wim and files, don't know why it has to increase the wim size by 1gig. Either I need to figure out how to use the same wim.install file for all indexes, or I need to compact the wim file which is now 4gbs with ie10 and all updates to April. Any way to do either?
     
    johnspack, Apr 17, 2025
    #2
  3. Recover from WIM files.

    Hello,Dusty_229

    Welcome to Microsoft Community.

    Restoring from a WIM file when the usual recovery options don't seem to work can indeed be a bit tricky, but I'm here to help guide you through an alternative method that might just do the trick. Since you've mentioned the WIM files can't be selected for restore in the usual way and the idea of using Command Prompt feels daunting, I'll break down the steps in a simple, easy-to-follow manner.

    The goal here is to use the Deployment Image Servicing and Management (DISM) tool, which is a command-line tool that comes with Windows, to apply the image contained in the WIM file to your system. Here you can refer to this documentation | Append, apply, and export volume images with a Windows Image (.wim) file | Microsoft Learn

    Before starting, make sure you have access to the Windows Recovery Environment (WinRE). and make a backup or copy of your WIM files, please see here to Boot into Windows Recovery Environment -<Windows Recovery Environment (Windows RE) | Microsoft Learn>

    1. Once you're in the Windows Setup screen, click "Next."
    2. Select "Repair your computer" at the bottom.
    3. Go to "Troubleshoot" > "Advanced options" > "Command Prompt."
    Now, you're going to use the DISM command to apply the WIM file to your system. You'll need to replace X: with the drive letter of your Windows installation (usually C:, but it might appear under a different letter in WinRE) and Y: with the drive letter of your USB drive where the WIM file is stored.

    1. First, identify the correct drive letters for your system and USB drive by typing diskpart and then list volume in the Command Prompt. Look for the volume labeled "Windows" for your system drive and another for your USB drive. Exit DiskPart by typing exit.
    2. Use the following DISM command to apply the image. Make sure to replace Y: with the actual drive letter of your USB drive and X: with the drive letter of your Windows installation:

      If your backup is split into multiple WIM files (like Reconstruct.WIM and Reconstruct.WIM2), you might need to apply the first part only, as DISM should automatically proceed with the next parts if they're named in sequence and located in the same folder.

    ->Final Steps

    After the DISM command has successfully applied the WIM file:



    You might need to repair the boot configuration data (BCD). You can do this with the following commands:

    [table][tr]
    [/tr][/table]

    Exit the Command Prompt and choose to "Continue" to boot to Windows normally, or restart your computer. you can run these commands in WinRE mode.

    This process might seem a bit technical, but it's a powerful way to manually restore your system from a WIM file when other methods fail. If you feel uncertain at any step, don't hesitate to ask for further clarification.

    Chandy |Microsoft Community Support Specialist
     
    Chandy - MSFT, Apr 17, 2025
    #3
  4. johnspack Win User

    Can you selectively restore from WIM files?

    Compacting a wim file?

    Actually it turns out the answer is the dism that comes with Win8. Using the new Export-Image command, and a simple batch file, was able to compress my AIO wim by several hundred mbs.
     
    johnspack, Apr 17, 2025
    #4
Thema:

Can you selectively restore from WIM files?

Loading...
  1. Can you selectively restore from WIM files? - Similar Threads - selectively restore WIM

  2. Can you selectively restore from WIM files?

    in Windows 10 Software and Apps
    Can you selectively restore from WIM files?: I used Dism to capture images of my Users folder, Program Files, and Program Files x86 as well as Program Data…Is there any way to make a windows image that is clean apart from those files, or apply just those files onto a clean windows install?...
  3. .wim file needed

    in Windows 10 Gaming
    .wim file needed: I need a Windows 10 .wim file so I can factory reset my computer. I tried downloading a bootable drive and pulling out the .wim file, but it would not work with the external hard drive I used. Whenever I tried to download a copy to my computer from the external drive there...
  4. .wim file needed

    in Windows 10 Software and Apps
    .wim file needed: I need a Windows 10 .wim file so I can factory reset my computer. I tried downloading a bootable drive and pulling out the .wim file, but it would not work with the external hard drive I used. Whenever I tried to download a copy to my computer from the external drive there...
  5. Can You Restore Specific Files From a Backup?

    in Windows 10 Software and Apps
    Can You Restore Specific Files From a Backup?: I recently got a new desktop and while starting it up and signing into my Microsoft account it gave me the option of restoring my laptop's backup.If it matters, the laptop ran off of Windows 10 while the new desktop runs Windows 11Is there a way to restore/access specific...
  6. Can You Restore Specific Files From a Backup?

    in Windows 10 Gaming
    Can You Restore Specific Files From a Backup?: I recently got a new desktop and while starting it up and signing into my Microsoft account it gave me the option of restoring my laptop's backup.If it matters, the laptop ran off of Windows 10 while the new desktop runs Windows 11Is there a way to restore/access specific...
  7. Recover from WIM files.

    in Windows 10 Gaming
    Recover from WIM files.: I ran a backup via USB with windows 11 backup on 1/20/2024 in plans that if I ever needed a backup, I would have it. So slightly fast forward to now, I need the backup and I can't select it to restore. I have tried several different options via recovery including recover from...
  8. Recover from WIM files.

    in Windows 10 Software and Apps
    Recover from WIM files.: I ran a backup via USB with windows 11 backup on 1/20/2024 in plans that if I ever needed a backup, I would have it. So slightly fast forward to now, I need the backup and I can't select it to restore. I have tried several different options via recovery including recover from...
  9. Restoring a .WIM, Windows will not Boot

    in Windows 10 Installation and Upgrade
    Restoring a .WIM, Windows will not Boot: Hi, I am really at a loss, and was hoping someone would help. I have a .WIM that I need to restore to a test laptop.I have a USB thumb drive with WinPE on it. I have a USB SSD with the .WIM.The version of Windows is newer as of 6/2021, likely the latest version or one...
  10. Open in WIM files

    in Windows 10 Installation and Upgrade
    Open in WIM files: I backed up the files to a potable disk drive on my bad computer. Now I want to view those file but they are WIM files. How can I view them? https://answers.microsoft.com/en-us/windows/forum/all/open-in-wim-files/73872582-e4fe-4c76-9fb6-11924698ab83