Рет қаралды 9,080
This video session we shall resolve following errors/issues:
- Can't do factory reset Windows 10 because of error - Could not find the Recovery Environment.
- Easily Fix The Windows RE Image Was Not Found error
- Easily Fix missing WinRe.wim after fresh install of Windows.
- Converting install.esd file to install.wim file
- Run fancy looking command such as reagentc /info and reagentc /enable .
These steps are pretty easy to perform, if you followed all the steps you will have fully working Windows Recovery Environment and be able to reset your Windows to factory defaults.
The most important file is the Winre.wim file, that for some reason goes missing even on a fresh from factory installed Windows setup.
File we need is Winre.Wim
Listed are some of the things I have done in the video along with the commands used for easy copy pasting action for you guys :).
Download Windows 10 ISO or Windows 11 ISO using the Media Creator Tool
Copy Windows ISO over to laptop - using USB or other means.
Mount the ISO on the Laptop with missing Winre.wim file.
Now need to convert the install.esd file to install.wim file, following are the steps:
Locate install.esd file on the mounted windows install.
Copy it to a folder.
Open command prompt at Administrator
Browse to the folder where you saved the install.esd file.
Run commands:
DISM /Get-WimInfo /WimFile:install.esd
In this case, the install.esd file contains several version of Windows 10 , Pick the correct index for the version you wish to use.
Extract the Windows edition you need from the ESD and convert it to a WIM file:
dism /export-image /SourceImageFile:install.esd /SourceIndex:YourINDEXHERE /DestinationImageFile:install.wim /Compress:max /CheckIntegrity
Now that we have the install.wim file extracted from the install.esd file. We will fetch the Winre.Wim file.
These steps are final steps to fixing the missing Winre.wim file:
create folder on C: drive called mountwim
dism /mount-wim /wimfile:"C:\yourfolder\install.wim" /index:1 /mountdir:c:\mountwim /readonly
Copy the winre.wim file from the mountwim directory you used above (will be found in Windows\system32
ecovery\ folder) to your c:\windows\system32
ecovery folder.
run
reagentc /info
enable the Windows Recover Environment
reagentc /enable
Lots of questions about un mounting the mountwim folder/drive etc. This command should work have not tried yet:
Dism /Unmount-Image /MountDir:C:\mountwim\ /Commit
Thanks for Watching
@hashtagtnt
Stay Safe everyone..If you can support me on Patreon that be awesome..
/ hashtagtnt