Which *.wim to use with DISM restore health


kelper

Well-known member
Pro User
VIP
Local time
12:48 AM
Posts
4,194
Location
Hawes, North Yorkshire
OS
Windows 11 Pro 25H2 26200.8894
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 My Computers

  • At a glance

    Windows 11 Pro 25H2 26200.8894AMD Ryzen 7 5825U with Radeon Graphics16GB
    OS
    Windows 11 Pro 25H2 26200.8894
    Computer type
    Laptop
    Manufacturer/Model
    Acemagic LX15PRO
    CPU
    AMD Ryzen 7 5825U with Radeon Graphics
    Motherboard
    BIOS CT_BI_AMI_LX15PRO_AB8139_A-004
    Memory
    16GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 2TB
    Internet Speed
    30 Mbps
    Browser
    Brave
    Antivirus
    Webroot SecureAnywhere Complete beta
  • At a glance

    Windows 11 Pro 23H2 22631.2506Atom N450 1.66GHz2GB
    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
    Browser
    Brave
    Antivirus
    Webroot
  • Acer Swift SF114-34 laptop
    OS Windows 11 Pro 26200.8894
    CPU Pentium Silver N6000
    RAM 4GB
    BIOS v1.17
    SSD Samsung 970 EVO Plus SSD 2TB (an upgrade)
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 Computers My Computers

  • At a glance

    Windows 11 Enterprise 25H2 26200 7462Intel XEON E5-2699 v364GB Teamgroup UD4-3600NVIDIA GeForce GTX 1080 Ti
    OS
    Windows 11 Enterprise 25H2 26200 7462
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom Build
    CPU
    Intel XEON E5-2699 v3
    Motherboard
    ASUS X99-A
    Memory
    64GB Teamgroup UD4-3600
    Graphics Card(s)
    NVIDIA GeForce GTX 1080 Ti
    Sound Card
    Integrated
    Monitor(s) Displays
    ACER X34 Predator
    Screen Resolution
    3440 x 1440
    Hard Drives
    Crucial CT1000P 3P SSD8 1TB
    Crucial CT1000 BX500 SSD 1TB
    PSU
    GameMax Pro
    Case
    Fractal Design
    Cooling
    Corsair H110iGT + 6 140mm Fans
    Keyboard
    Corsair K4
    Mouse
    G-Skill G502
    Internet Speed
    300MBs
    Browser
    Chrome
    Antivirus
    OEM
    Other Info
    ASUS RT-AC87U Router
  • At a glance

    25H2 26200.50748GB
    Operating System
    25H2 26200.5074
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X555LA
    Memory
    8GB
    Browser
    Chrome
    Antivirus
    OEM
 

My Computer My Computer

At a glance

windows 11Intel i5-3570Knone
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 My Computers

  • At a glance

    Win11 Pro 25H2 (RTM+)Intel i7-14650HX32 GBNo GPU - Built-in Intel Graphics
    OS
    Win11 Pro 25H2 (RTM+)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acemagic
    CPU
    Intel i7-14650HX
    Memory
    32 GB
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    Varies as machine will often be moved to locations with different monitors
    Screen Resolution
    Varies
    Hard Drives
    1 x 1TB Gen 4 NVMe SSD
    PSU
    120W Power Brick
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
  • At a glance

    Win11 Pro 25H2 (RTM+)Intel i7-1255U16 GBIntel Iris Xe Graphics
    Operating System
    Win11 Pro 25H2 (RTM+)
    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
    Keyboard
    Backlit, spill resistant keyboard
    Mouse
    Buttonless Glass Precision Touchpad
    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 My Computers

  • At a glance

    Windows 11 Pro 25H2 26200.8894AMD Ryzen 7 5825U with Radeon Graphics16GB
    OS
    Windows 11 Pro 25H2 26200.8894
    Computer type
    Laptop
    Manufacturer/Model
    Acemagic LX15PRO
    CPU
    AMD Ryzen 7 5825U with Radeon Graphics
    Motherboard
    BIOS CT_BI_AMI_LX15PRO_AB8139_A-004
    Memory
    16GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 2TB
    Internet Speed
    30 Mbps
    Browser
    Brave
    Antivirus
    Webroot SecureAnywhere Complete beta
  • At a glance

    Windows 11 Pro 23H2 22631.2506Atom N450 1.66GHz2GB
    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
    Browser
    Brave
    Antivirus
    Webroot
  • Acer Swift SF114-34 laptop
    OS Windows 11 Pro 26200.8894
    CPU Pentium Silver N6000
    RAM 4GB
    BIOS v1.17
    SSD Samsung 970 EVO Plus SSD 2TB (an upgrade)
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 My Computer

At a glance

10, 11
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 My Computer

At a glance

Windows 11AMD Ryzen 7 5700GMicron Technology DDR4-3200 16GBNVIDIA GeForce RTX 3060
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 My Computers

  • At a glance

    Windows 11 Pro 25H2 26200.8894AMD Ryzen 7 5825U with Radeon Graphics16GB
    OS
    Windows 11 Pro 25H2 26200.8894
    Computer type
    Laptop
    Manufacturer/Model
    Acemagic LX15PRO
    CPU
    AMD Ryzen 7 5825U with Radeon Graphics
    Motherboard
    BIOS CT_BI_AMI_LX15PRO_AB8139_A-004
    Memory
    16GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 2TB
    Internet Speed
    30 Mbps
    Browser
    Brave
    Antivirus
    Webroot SecureAnywhere Complete beta
  • At a glance

    Windows 11 Pro 23H2 22631.2506Atom N450 1.66GHz2GB
    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
    Browser
    Brave
    Antivirus
    Webroot
  • Acer Swift SF114-34 laptop
    OS Windows 11 Pro 26200.8894
    CPU Pentium Silver N6000
    RAM 4GB
    BIOS v1.17
    SSD Samsung 970 EVO Plus SSD 2TB (an upgrade)
Back
Top Bottom