Solutions to majority of problems related to Restore/ Recovery / MSI F3 factory Reset

@Bsl K

The commands worked but now if I restart with F3 I get a blue screen. See image attached.

I had not yet deleted the other two partitions, could that have caused this?
 

Attachments

  • IMG-7541(1).jpg
    IMG-7541(1).jpg
    75.2 KB · Views: 267
@Bsl K

I removed the two extra recovery partitions. Now only have the 900mb one (partition 4)
I did this:

reagentc /disable
diskpart
sel dis 0
select partition 4
assign
exit
Reagentc /setreimage /path E:\Recovery\WindowsRE
reagentc /enable
exit

All commands were executed properly.
Still getting the blue screen when I restart with F3

I also attached what my reagentc /info looks like now
 

Attachments

  • partition4.png
    partition4.png
    100.2 KB · Views: 268
  • reagent_info.png
    reagent_info.png
    27.8 KB · Views: 238
  • Screenshot 2023-07-21 185808.png
    Screenshot 2023-07-21 185808.png
    31.3 KB · Views: 224
  • Screenshot 2023-07-21 193956.png
    Screenshot 2023-07-21 193956.png
    12.6 KB · Views: 234
@Bsl K

I removed the two extra recovery partitions. Now only have the 900mb one (partition 4)
I did this:

reagentc /disable
diskpart
sel dis 0
select partition 4
assign
exit
Reagentc /setreimage /path E:\Recovery\WindowsRE
reagentc /enable
exit

All commands were executed properly.
Still getting the blue screen when I restart with F3

I also attached what my reagentc /info looks like now
Every steps seem fine, if its not working then perhaps you should try replacing the current winre.wim file with the one shared here.
you will have to enable "show hidden files", and turn off "hide protected os files" .
delete the winre.wim file from winre_tools partition inside \Recovery\WindowsRE folder, then add the file from above link. The instructions are given there as well.
 
@Bsl K

I had yesterday already placed a WinRE.wim file in WinRE tools partition --> Recovery\WindowsRe, I got that WinRe.WIM file from my ISO file.

I had the blue recovery screen and was stuck, reinstalled Windows 11 from the USB, took the WinRE.wim from the ISO I used to create the USB installer. And placed that together with the reagent.xml in the WindowsRE folder inside the recovery folder. I had to create the WindowsRE folder myself, there was only a Logs folder. The logs folder is 'Access denied' I never saw what was inside it. In my system32/recovery folder there is also a ReAgentc.xml, I did not touch that.

After doing all this I was able to reinstall Win 11 using the BIOS_RVY on my computer with the F3_recovery_USB (F11 selecting the USB), It then does show that it is reinstalling Windows 10 but it works and only takes about 3 minutes, it installs windows 11 (my laptop came with Windows 11). If I try F3_upgrade_USB then the elapsed time just keeps going up but it never ends and it shows it is installing Windows (not 10 or 11). Apart from this I had also rename the C: folder 'Windows', previously it only showed as C: (NTFS).

I now have WIndows 11 with MSI center, the MSI background etc... so it looks like everything is ok but still no MSI recovery option when restarting with F3. I now also tried MSI recovery but it doesn't finish, when I look at the resulting USB there are lots of files including a RECOVERY_DVD folder. Only thing that seems missing is Install6.wsm. That file is stuborn, when I tried to back-up BIOS_RVY I can copy all files but that Install6.wsm, while copying it it gives me an error. When creating the MSI recovery USB the error said I can try continuing creating the recovery USB by restarting the laptop with this same USB.

I am currently updating Windows 11 to 22H2. Would it still make sense to use the WInRE.wim I downloaded from your link above or is it the same as the one I got from my ISO? At the moment WInRE tools recovery folder contains both WindowsRE and Logs and both are access denied. I don't know if there is a way to get access ( i did make system files and hidden files and folder visible)
 

Attachments

  • Recovery_DVD.png
    Recovery_DVD.png
    43.3 KB · Views: 202
  • system32 recovery content.png
    system32 recovery content.png
    9.1 KB · Views: 190
  • windows c recovery folder content.png
    windows c recovery folder content.png
    10.3 KB · Views: 179
  • current WinRE tools partition Recovery folder content both folder access denied.png
    current WinRE tools partition Recovery folder content both folder access denied.png
    9.4 KB · Views: 180
  • MSI recovery USB that failed but still produced files and folders on the USB content.png
    MSI recovery USB that failed but still produced files and folders on the USB content.png
    81.7 KB · Views: 178
  • error when trying to copy Install6.wsm.png
    error when trying to copy Install6.wsm.png
    38.6 KB · Views: 199
took the WinRE.wim from the ISO
win11 iso from microsoft? That doesn't have f3 files in it.

system32/recovery folder there is also a ReAgentc.xml, I did not touch that.
it has nothin to do with our process.
F3_upgrade_USB then the elapsed time just keeps going up but it never ends and it shows it is installing Windows (not 10 or 11).
thats a bug.. can restart laptop after a flash screen which comes arround 3 4 minutes later of starting the process.

That file is stuborn, when I tried to back-up BIOS_RVY I can copy all files but that Install6.wsm, while copying it it gives me an error.
seems like its corrupted or something like that. try using dism++ tool to combine those 6 install.swm file into one install.wim file. if it works then your 6th file is not corrupted.
Would it still make sense to use the WInRE.wim I downloaded from your link above
YES, it will work, i have created t myself and tried it. it will work.

DM me if you need further assistance..
 
@Bsl K

How do I get access to the folder to replace the wim file?

I tried to merge the swm files into a single WIM file and got this:


2023-07-23 19:31:02, Info DISM DISM.EXE: <----- Starting Dism.exe session ----->
2023-07-23 19:31:02, Info DISM DISM.EXE:
2023-07-23 19:31:02, Info DISM DISM.EXE: Host machine information: OS Version=10.0.22621, Running architecture=amd64, Number of processors=14
2023-07-23 19:31:02, Info DISM DISM.EXE: Dism.exe version: 10.0.22621.1
2023-07-23 19:31:02, Info DISM DISM.EXE: Executing command line: dism /export-image /sourceimagefile:install.swm /swmfile:install*.swm /sourceindex:1 /destinationimagefile:C:\Users\Stefan\Documents\install.wim
[14728.2464] [0x80070017] [ReadWriteDataInternal:(165) -> hFile=00000000000001DC, liOffset=0x83a308c2, cbData=0x61f67]: Data error (cyclic redundancy check).
[14728.2464] [0x80070017] ExportCopyStream:(210): Data error (cyclic redundancy check).
[14728.2464] [0x80070017] ExportResourceCallback:(589): Data error (cyclic redundancy check).
[14728.2464] [0x80070017] EnumImageDataEntries:(1070): Data error (cyclic redundancy check).
[14728.2464] [0x80070017] ExportInResourceOrder:(668): Data error (cyclic redundancy check).
[14728.2464] [0x80070017] ExportDirTree:(404): Data error (cyclic redundancy check).
2023-07-23 19:31:09, Error DISM DISM WIM Provider: PID=14728 TID=2464 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:1410 - CWimManager::Export(hr:0x80070017)
2023-07-23 19:31:09, Error DISM DISM WIM Provider: PID=14728 TID=2464 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:4657 - CWimManager::InternalCmdExport(hr:0x80070017)
2023-07-23 19:31:09, Error DISM DISM WIM Provider: PID=14728 TID=2464 "Error executing command" - CWimManager::InternalExecuteCmd(hr:0x80070017)
2023-07-23 19:31:09, Error DISM DISM WIM Provider: PID=14728 TID=2464 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2128 - CWimManager::ExecuteCmdLine(hr:0x80070017)
2023-07-23 19:31:09, Error DISM DISM.EXE: WimManager processed the command line but failed. HRESULT=80070017
2023-07-23 19:31:09, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.
2023-07-23 19:31:09, Info DISM DISM.EXE:
2023-07-23 19:31:09, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->
2023-07-23 19:31:09, Info DISM DISM.EXE:
 

Attachments

  • WindowsRE.png
    WindowsRE.png
    19.6 KB · Views: 152
  • dism.png
    dism.png
    16.9 KB · Views: 151
Last edited:
@Bsl K Right now with the WinRE and hte other three files from archive.org I get the MSI recovery option but I keep getting Reagentc.exe set OS image false. Even tried F3_recovery_USB and F3_upgrade_usb. F3_recovery_USB goes almost straight into 'Reagentc.exe set OS image false' don't even get to see the elapsed time. The upgrade version does show elapsed time but afgter a minute the screen flickers a bit and the laptop restarts, then goes into automatic repair.
 
@Bsl K Right now with the WinRE and hte other three files from archive.org I get the MSI recovery option but I keep getting Reagentc.exe set OS image false. Even tried F3_recovery_USB and F3_upgrade_usb. F3_recovery_USB goes almost straight into 'Reagentc.exe set OS image false' don't even get to see the elapsed time. The upgrade version does show elapsed time but afgter a minute the screen flickers a bit and the laptop restarts, then goes into automatic repair.
If above methods are not working, it is recommended to clean install pure Windows operating system. This is more efficient.
MSI® HOW-TO clean install pure OS (Windows 10) by USB flash drive
 
If above methods are not working, it is recommended to clean install pure Windows operating system. This is more efficient.
MSI® HOW-TO clean install pure OS (Windows 10) by USB flash drive
Everytime after trying the MSI recovery options with the F3 button or using the F3_recovery_USB or F3_upgrade_USB my laptop is stuck in the Automatic Repair state where a repair never worked, so I have always then did a clean install over the windows partition to repair this. Every attempt I made was after a clean install of Windows.

I have also contacted MSI, they say Recovery files are for engineer use only but they are happy to have the laptop picked up for repair at a cost of £115. Which is quite a lot for something I possibly don't even need the files for, Since I still have the BIOS_RVY partition.
 
Everytime after trying the MSI recovery options with the F3 button or using the F3_recovery_USB or F3_upgrade_USB my laptop is stuck in the Automatic Repair state where a repair never worked, so I have always then did a clean install over the windows partition to repair this. Every attempt I made was after a clean install of Windows.

I have also contacted MSI, they say Recovery files are for engineer use only but they are happy to have the laptop picked up for repair at a cost of £115. Which is quite a lot for something I possibly don't even need the files for, Since I still have the BIOS_RVY partition.
Because, msi recovery first formats c drive then apply image from biosrvy, since your 6th image is corrupted, it only formats c drive and cant complete the applying image from biosrvy. this will give you boot loop. DM me to find the solution together.
 
Because, msi recovery first formats c drive then apply image from biosrvy, since your 6th image is corrupted, it only formats c drive and cant complete the applying image from biosrvy. this will give you boot loop. DM me to find the solution together.
 

Attachments

  • Screenshot 2023-07-25 090531.png
    Screenshot 2023-07-25 090531.png
    49 KB · Views: 173
  • Screenshot 2023-07-25 090552.png
    Screenshot 2023-07-25 090552.png
    148.2 KB · Views: 171
  • Screenshot 2023-07-25 095243.png
    Screenshot 2023-07-25 095243.png
    1.2 MB · Views: 189
@Bsl K Does archive actually work, second time I tried to upload but it keeps saying network error and then starts over
 

Attachments

  • Capture1.JPG
    Capture1.JPG
    72 KB · Views: 178
  • Capture2.JPG
    Capture2.JPG
    69.4 KB · Views: 161
Hello, guys, I have to explain all this and I need help because I have to leave the factory computer between now and Tuesday, look and read and try to do everything you say but the program to create the image is in an easy state... 5 hours creating the image and nothing, the only pendrive I have is 64GB and I can't put it in fat32 format, only in exFAT and I don't know if that influences it, please help
Captura de pantalla 2023-10-06 023251.png
WhatsApp Image 2023-10-06 at 02.24.11.jpeg
 
Hello, guys, I have to explain all this and I need help because I have to leave the factory computer between now and Tuesday, look and read and try to do everything you say but the program to create the image is in an easy state... 5 hours creating the image and nothing, the only pendrive I have is 64GB and I can't put it in fat32 format, only in exFAT and I don't know if that influences it, please help
View attachment 178869View attachment 178870
Do you mean you have a problem with F3 recovery process? Did you adjust any files in recovery partition before?
Why don't you just clean install the pure windows operating system and download the drivers & utilities on MSI website?
If you really need to have the pre-installed system, you have to send the laptop to the service center to install it.
 
@Bsl K

The commands worked but now if I restart with F3 I get a blue screen. See image attached.

I had not yet deleted the other two partitions, could that have caused this?
I'm getting the same screen. I'm not sure what to do. I haven't done anything to the recovery partitions. However, I can perform recovery through Windows options. I double checked everything, recovery is enabled, the partitions are in the right positions, and the 'Windows' label. I just want this WINRE partition functional again.

Way back I cloned the factory NVME to a new one I swapped it out with. Right after the cloning, the F3 recovery booted just fine, and recently, I'm getting error message, and won't get to the recovery screen.
 
I'm getting the same screen. I'm not sure what to do. I haven't done anything to the recovery partitions. However, I can perform recovery through Windows options. I double checked everything, recovery is enabled, the partitions are in the right positions, and the 'Windows' label. I just want this WINRE partition functional again.

Way back I cloned the factory NVME to a new one I swapped it out with. Right after the cloning, the F3 recovery booted just fine, and recently, I'm getting error message, and won't get to the recovery screen.
Can you provide the screenshot of Disk Management?
Screenshot 2023-10-29 090800.png

[Windows 11] Why does the F3 Recovery not working after upgrading to Windows 11?
Did you refer to the above official FAQ to use WinRE Tool?
Did you upgrade to windows 11, and your preinstalled system is windows 10?
 
Last edited:
My recovery partitions are the last two on Disk2. I didn't upgrade to Windows 11, it already came with Windows 11.
View attachment 179873
I am afraid that you need to go to the service center to install the pre-installed system. But it will take more time.
BTW, you can just clean install Windows operating system manually and install the drivers & utilities on MSI website.
 
Back
Top