Hi FERNANDEZ! Thank you very much for keeping me informed about the results you have obtained. I have reviewed a Windows 10 ISO, and it seems that the issue we are experiencing lies in the fact that the "Install" file we need is not in the ".wim" extension but in the ".esd" extension. Therefore, we will need to add some extra steps to convert this file into the required format. Please execute the following commands from CMD as an administrator:
- We need to create a folder named ESD on the Windows desktop. Please run:
- md %USERPROFILE%\Desktop\ESD
- Now, we need to copy the "install.esd" file to this folder. You can do this using the following command, considering that you are using the D: drive for the Windows ISO image:
- copy D:\sources\install.esd %USERPROFILE%\Desktop\ESD\
- We will now convert the file from ".esd" to ".wim". For this, it is important to know which edition of Windows you have. Here is the corresponding list of indexes:
Index : 1
Name : Windows 10 Home
Index : 2
Name : Windows 10 Home N
Index : 3
Name : Windows 10 Home Single Language
Index : 4
Name : Windows 10 Education
Index : 5
Name : Windows 10 Education N
Index : 6
Name : Windows 10 Pro
Index : 7
Name : Windows 10 Pro N
With the index number corresponding to your Windows edition, proceed to execute this command, changing the "SourceIndex" number to the one that corresponds to your case:
- dism /export-image /SourceImageFile:"%USERPROFILE%\Desktop\ESD\install.esd" /SourceIndex:6 /DestinationImageFile:"%USERPROFILE%\Desktop\ESD\install.wim" /Compress:max /CheckIntegrity
- Now, we can continue with the previously shared commands, with a slight variation to copy the "Winre.wim" file to the location we need. Proceed to execute:
- dism /mount-wim /wimfile:"%USERPROFILE%\Desktop\ESD\install.wim" /index:1 /mountdir:c:\mount /readonly
- copy C:\mount\Windows\System32\Recovery\Winre.wim C:\Windows\System32\Recovery\
- dism /unmount-image /mountdir:c:\mount /discard
- reagentc /enable
- reagentc /info
Let me know the result of these processes or if you have any questions or encounter any errors during their execution. I'll be awaiting your response. Regards.