New
#530
Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:C:\ESD\install.wim:1 /limitaccess
but getting error again & again
but the index number is 2
do i change 2 instead of 1??? but it doesnt working also
Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:C:\ESD\install.wim:1 /limitaccess
but getting error again & again
but the index number is 2
do i change 2 instead of 1??? but it doesnt working also
Two things there. First, are you sure you have an install.wim and not an install.esd? Look in your Source folder and check. You can use either, but the command line is different for each. Use the appropriate option:
/Source:wim:<path_to_source_files>\install.wim:1
/Source:esd:<path_to_source_files>\install.esd:1
Second, the index. You need to use the right one for the edition of Windows you are trying to repair (Home or Pro). These commands will list all the editions and their index numbers that are in your install.wim or install.esd
dism /Get-WimInfo/Source:wim:<path_to_source_files>\install.wim
dism /Get-WimInfo/Source:esd:<path_to_source_files>\install.esd
Dism /Get-WimInfo /WimFile:<path-to-install.wim>What am I doing wrong? I cannot get this command to work.
dism /Get-WimInfo/Source:wim:g:\sources\install.wim
Dism /Get-WimInfo /WimFile:<path-to-install.wim> /index:<Index #>
Yes, the correct option here is /Wimfile. You can use /? after an option to get the relevant help text.
Code:C:\WINDOWS\system32>dism /get-wiminfo /? Deployment Image Servicing and Management tool Version: 10.0.15063.0 /Get-WimInfo /WimFile:<WIM_file> [/Index:<image_index> | /Name:<image_name>] Displays information about the images contained in the specified WIM file. Examples: DISM.exe /Get-WimInfo /WimFile:C:\test\images\myimage.wim DISM.exe /Get-WimInfo /WimFile:C:\test\images\myimage.wim /Index:1 C:\WINDOWS\system32>