Which *.wim to use with DISM restore health


kelper

Well-known member
Power User
VIP
Local time
6:00 PM
Posts
1,654
Location
The Highlands of Scotland
OS
11 Pro 23H2 OS build 22631.3374
I have an old laptop my system 2) running Windows 11 pro. SFC /Scannow found a problem and DISM .....scan health said it was repairable. But when I run restore health it completes but says 'source not found'. I have a USB install disk which includes install.wim and boot.wim.

It was connected to wifi. I thought it would use Windows Update as the source.

If I run DISM /online / cleanup-image /restorehealth with the SOURCE: switch, which wim should I reference?

1697009400112.png

Or should I use /offline?
 

My Computers

System One System Two

  • OS
    11 Pro 23H2 OS build 22631.3374
    Computer type
    Laptop
    Manufacturer/Model
    Acer Swift SF114-34
    CPU
    Pentium Silver N6000 1.10GHz
    Memory
    4GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD
    Cooling
    fanless
    Internet Speed
    13Mbps
    Browser
    Brave, Edge or Firefox
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    ASUS T100TA Transformer
    Processor Intel Atom Z3740 @ 1.33GHz
    Installed RAM 2.00 GB (1.89 GB usable)
    System type 32-bit operating system, x64-based processor

    Edition Windows 10 Home
    Version 22H2 build 19045.3570
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
I have an old laptop my system 2) running Windows 11 pro. SFC /Scannow found a problem and DISM .....scan health said it was repairable. But when I run restore health it completes but says 'source not found'. I have a USB install disk which includes install.wim and boot.wim.

It was connected to wifi. I thought it would use Windows Update as the source.

If I run DISM /online / cleanup-image /restorehealth with the SOURCE: switch, which wim should I reference?

View attachment 73798

Or should I use /offline?
Install.wim
 

My Computer

System One

  • OS
    WIN 10 Pro
 

My Computer

System One

  • OS
    windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    OEM
    CPU
    Intel i5-3570K
    Motherboard
    Asrock B75M-GL
    Graphics Card(s)
    none
    Sound Card
    none
    Screen Resolution
    1920x1080
    Browser
    Microsoft Edge
    Antivirus
    Microsoft
    Other Info
    22621.2428
I have an old laptop my system 2) running Windows 11 pro. SFC /Scannow found a problem and DISM .....scan health said it was repairable. But when I run restore health it completes but says 'source not found'. I have a USB install disk which includes install.wim and boot.wim.

It was connected to wifi. I thought it would use Windows Update as the source.

If I run DISM /online / cleanup-image /restorehealth with the SOURCE: switch, which wim should I reference?

View attachment 73798

Or should I use /offline?
The install.wim contains all of the Windows editions (Home, Pro, etc.)

The boot.wim contains two items: Windows PE and Windows Setup. Note that Windows setup is itself also based upon Windows PE.

If you are ever unsure of the contents of a WIM, run this command:

dism /Get-WimInfo /WimFile:K:\Sources\install.wim

Note that the K:\Sources\install.wim is the full path to the WIM. Enclose it in quotes if there is a space in the path. This holds true for any WIM file in Windows (install.wim, boot.wim, and the winre.wim which is found within the install.wim).

As an example, when I mount a standard retail edition Windows 11 ISO image and I run the above DISM command, this is what I see:

Code:
C:\>dism /Get-WimInfo /WimFile:K:\Sources\install.wim


Deployment Image Servicing and Management tool
Version: 10.0.22621.1


Details for image : K:\Sources\install.wim


Index : 1
Name : Windows 11 Home
Description : Windows 11 Home
Size : 18,481,178,434 bytes


Index : 2
Name : Windows 11 Home N
Description : Windows 11 Home N
Size : 17,803,960,456 bytes


Index : 3
Name : Windows 11 Home Single Language
Description : Windows 11 Home Single Language
Size : 18,460,505,731 bytes


Index : 4
Name : Windows 11 Education
Description : Windows 11 Education
Size : 18,773,013,560 bytes


Index : 5
Name : Windows 11 Education N
Description : Windows 11 Education N
Size : 18,088,716,671 bytes


Index : 6
Name : Windows 11 Pro
Description : Windows 11 Pro
Size : 18,778,837,924 bytes


Index : 7
Name : Windows 11 Pro N
Description : Windows 11 Pro N
Size : 18,067,622,384 bytes


Index : 8
Name : Windows 11 Pro Education
Description : Windows 11 Pro Education
Size : 18,753,557,946 bytes


Index : 9
Name : Windows 11 Pro Education N
Description : Windows 11 Pro Education N
Size : 18,068,263,807 bytes


Index : 10
Name : Windows 11 Pro for Workstations
Description : Windows 11 Pro for Workstations
Size : 18,744,051,453 bytes


Index : 11
Name : Windows 11 Pro N for Workstations
Description : Windows 11 Pro N for Workstations
Size : 18,068,092,540 bytes


The operation completed successfully.

Let's take this one step further:

In the above output, you can see that Index number 6 is associated with the Professional edition of Windows. If you want to see more detail about that specific edition, run this command:

dism /Get-WimInfo /WimFile:K:\Sources\install.wim /index:6

This is the same command that we ran before but with /index:6 added.

The results look like this:

Code:
C:\>dism /Get-WimInfo /WimFile:K:\Sources\install.wim /index:6

Deployment Image Servicing and Management tool
Version: 10.0.22621.1

Details for image : K:\Sources\install.wim

Index : 6
Name : Windows 11 Pro
Description : Windows 11 Pro
Size : 18,778,837,924 bytes
WIM Bootable : No
Architecture : x64
Hal : <undefined>
Version : 10.0.22621
ServicePack Build : 2428
ServicePack Level : 0
Edition : Professional
Installation : Client
ProductType : WinNT
ProductSuite : Terminal Server
System Root : WINDOWS
Directories : 26811
Files : 113894
Created : 9/1/2023 - 2:51:24 PM
Modified : 10/10/2023 - 2:59:00 PM
Languages :
        en-US (Default)

The operation completed successfully.
 

My Computers

System One System Two

  • OS
    Win11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-11700K
    Motherboard
    ASUS Prime Z590-A
    Memory
    128GB Crucial Ballistix 3200MHz DRAM
    Graphics Card(s)
    No GPU - CPU graphics only (for now)
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe Gen 4 x 4 SSD
    1 x 2TB NVMe Gen 3 x 4 SSD
    2 x 512GB 2.5" SSDs
    2 x 8TB HD
    PSU
    Corsair HX850i
    Case
    Corsair iCue 5000X RGB
    Cooling
    Noctua NH-D15 chromax.black cooler + 10 case fans
    Keyboard
    CODE backlit mechanical keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Additional options installed:
    WiFi 6E PCIe adapter
    ASUS ThunderboltEX 4 PCIe adapter
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
Thanks. I am currently running dism /online /cleanup-image /restorehealth /source:d:\sources\install.wim:6 /limitaccess >miles.txt

I piped the output to a text file so I have a record. Seems to be clearer than the DISM log file!

The laptop is so slow, it will take a couple of hours!
 

My Computers

System One System Two

  • OS
    11 Pro 23H2 OS build 22631.3374
    Computer type
    Laptop
    Manufacturer/Model
    Acer Swift SF114-34
    CPU
    Pentium Silver N6000 1.10GHz
    Memory
    4GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD
    Cooling
    fanless
    Internet Speed
    13Mbps
    Browser
    Brave, Edge or Firefox
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    ASUS T100TA Transformer
    Processor Intel Atom Z3740 @ 1.33GHz
    Installed RAM 2.00 GB (1.89 GB usable)
    System type 32-bit operating system, x64-based processor

    Edition Windows 10 Home
    Version 22H2 build 19045.3570
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
I use Dism++, a GUI for Dism that automatically finds/uses the image of your windows installation and gives you all the options available with Dism.
 

My Computer

System One

  • OS
    10, 11
In this video, i will guide you on how to resolve "The source files could not be found" dism error message.

 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
RestoreHealth failed again 'source not found' with error 0x800f081f. I'll try again after disabling Webroot AV.

I'm trying again, but in Safe Mode. Terminal won't run, so I am using Command Prompt (admin)
 
Last edited:

My Computers

System One System Two

  • OS
    11 Pro 23H2 OS build 22631.3374
    Computer type
    Laptop
    Manufacturer/Model
    Acer Swift SF114-34
    CPU
    Pentium Silver N6000 1.10GHz
    Memory
    4GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD
    Cooling
    fanless
    Internet Speed
    13Mbps
    Browser
    Brave, Edge or Firefox
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    ASUS T100TA Transformer
    Processor Intel Atom Z3740 @ 1.33GHz
    Installed RAM 2.00 GB (1.89 GB usable)
    System type 32-bit operating system, x64-based processor

    Edition Windows 10 Home
    Version 22H2 build 19045.3570
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
Back
Top Bottom