Hello everybody;
On this video,
I will show you how to fix factory reset problem
windows 8,
and windows 7...
in windows 10,
with the following error message:
"Could not find the Recovery Environment.
Insert your windows installation or recovery media,
and restart your PC with the media."
This error usually occurs if the recovery disabled or deleted from your laptop.
I will explain three methods so you can solve this problem, whatever its source.
Method no. 1:
1.a. Type CMD into Search box
1.b. Right-click on Command prompt and select, Run as administrator.
1.c. Type the following command to see if the windows recovery environment enabled or not: Reagentc /info
As you can see, windows RE status is disabled on my PC.
1.d. To enable it, type the following command and hit Enter: Reagentc /enable
1.e. If reagentc /enable not working with the following error message: REAGENTC.EXE: Unable to update Boot Configuration Data...
Execute the following command to fix that: Dir /a /s c:\winre.wim
You may need to replace C: with the letter of your windows partition if the windows installed to another partition or if the manufacturer of your laptop changed the default directory to another partition.
1.f. Now, enable windows recovery environment using the following command: REAGENTC /ENABLE
We have done successfully.
Method no. 2:
If the first method failed, you have to add the path of windows Recovery Environment as followings:
2.a. Execute the following command to search for WinRe.wim path: Dir /a /s c:\winre.wim
2.b. Type the following command without hitting Enter: Reagentc /setreimage /path
2.c. Copy the path of WinRe.wim file and paste it after the command then hit Enter.
2.d. The followings are the common default paths for WinRe.wim file: C:\Windows\System32\Recovery C:\Recovery\WindowsRE
2.d. Now, enable windows recovery environment using the following command: REAGENTC /ENABLE
2.e. Execute Reagentc /info command again to make sure the windows recovery environment enabled.
Method no. 3:
3.a. If you get File not found error after executing Dir /a /s c:\winre.wim,
that means the window recovery file is not on the C partition.
So try to replace C with all partitions in your PC one by one.
3.b. If you get the same error with all partitions,
that means the winre.wim file is not available in your computer
and you should add it manually to the default path from Windows Installation Media like DVD or USB drive.
If you do not have a DVD of windows installation,
download a Windows ISO file that is similar or newer than your windows version and build number.
See video description to learn how to download windows 10 from the official Microsoft website.
3.c. You can know the version and build number of your windows from the first line in the command prompt,
or by hitting windows + R keys from keyboard then type Winver and hit Enter.
3.d. Mount the DVD drive of windows installation media or double click the ISO file of windows to open it.
3.e. To know the version and build number of windows in DVD, USB or ISO file,
execute the following command: dism /Get-WimInfo /WimFile:X:\sources\install.wim /index:1
Replace X with the letter of DVD or mounted ISO file.
3.f. Download and install the 7z app from links in video description.
3.g. Open 7-Zip File Manager app.
3.h. Open windows installation media from inside the 7ZIP app.
3.i. Open Sources folder
3.j. Double-click on install.wim file to open it.
3.k. Open folder number 1 and go to the following directory: X:\sources\install.wim\1\Windows\System32\
Replace X with the letter of DVD or mounted ISO file.
3.l. Locate Recovery folder and select it.
3.m. Click on Copy option.
3.n. Change the path to Documents folder.
3.o. Open Documents folder.
3.p. Copy the Recovery folder to the following path: C:\Windows\System32\
Replace the old folder with new one if you asked for that.
3.q. Now, back to command prompt and execute the following command: Dir /a /s c:\winre.wim
3.r. Execute the following command to enable Windows recovery Environment: REAGENTC /ENABLE
3.r. Execute the following command to sure the windows recovery is enabled: REAGENTC /info
Notice that the path of windows recovery environment changed from default path inside windows partition to another partition after enabling it.
In addition, the partition of enabled recovery environment will be different from laptop to laptop based on disk scheme whether is GPT or MPR.
LET’S SEE IF THE FACTORY RESET WILL WORK OR NOT.
A. Close command prompt and try again to reset your system.
B. Choose the first option if you need to do a system reset without losing your files.
C. If there is no important files in your computer, choose the second option to remove everything on the C partition.
D. If you still unable to proceed with windows factory reset, try to disable WinRE then enable it again by executing the following commands: reagentc /disable reagentc /enable
E. After that restart the windows and try again to reset your computer.
Thanks for watching. If you liked this video, live a comment and subscribe.