Microsoft Edge changed .xml to 'Microsoft Edge HTML Document' files.

Anonymous
2024-01-27T00:56:05+00:00

I was trying to do reagentc /enable in the SMD after formating my Disk because I was having trouble installing the new security update. But it says that Windows RE wasn´t found, but, somehow, the .XML file changed their file type to 'Microsoft Edge HTML Document'

I'd like to change the file type back to .XML. What app should I choose for 'default open app' since is in the System32 Recovery file

Windows for home | Windows 10 | Settings

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

19 answers

Sort by: Most helpful
  1. David Sanchez 17,210 Reputation points Independent Advisor
    2024-01-30T02:53:48+00:00

    Hi FERNANDEZ! Right, that is the error message from where we can continue. Run the command again:

    dism /mount-wim /wimfile:"f:\sources\install.wim" /index:1 /mountdir:c:\mount /readonly

    If you have created the folder in the C: path and if the Windows 10 ISO has been mounted on drive F:, the command should execute correctly. After this, proceed with the other commands I have shared with you.

    If you have any questions or encounter any issues, let me know. Regards.

    0 comments No comments
  2. Anonymous
    2024-01-30T05:10:56+00:00

    I runed the command again and it says the same

    I mounted the ISO in the D: path for which I tried changind the f in the command you provided but it still said it cannot be found

    0 comments No comments
  3. David Sanchez 17,210 Reputation points Independent Advisor
    2024-01-31T01:18:49+00:00

    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:

    1. We need to create a folder named ESD on the Windows desktop. Please run:
    • md %USERPROFILE%\Desktop\ESD
    1. 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\
    1. 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
    1. 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.

    0 comments No comments
  4. Anonymous
    2024-01-31T03:38:32+00:00

    hey David thank you for the support, however it still wont enable the recovery

    Image

    Sorry I think I messed up during the process during the step 4, do I have to copy and paste "Winre.wim" to which location?, because I didn´t do it I thought it was done through the command. And after step 4, do I have to change again the Index number?

    0 comments No comments
  5. David Sanchez 17,210 Reputation points Independent Advisor
    2024-01-31T04:39:12+00:00

    Hi FERNANDEZ! It's a pleasure to continue assisting you.

    Regarding your questions, yes, the command line should have copied the "Winre.wim" file to the "C:\Windows\System32\Recovery" folder. Could you please confirm that this file appears there?

    Regarding changing the index in step number 4, no, it would not be necessary. You can leave the index as 1.

    I have noticed that in the index of step number 3, you selected index:3, which corresponds to Windows 10 Home Single Language. Is that the Windows version you have installed? Just confirming.

    Please confirm the information regarding the "Winre.wim" file. I'll be keeping an eye out for your response. Regards.

    0 comments No comments