Steps:
1. Double-click the WIN8.1/WIN10 installation image to load it into the virtual optical drive (example is loaded into the I: disk)
2. Copy the Sources\install.wim file from the WIN8.1/WIN10 installation image to a non-system disk. Like E:\WinRE\install.wim.
3. Press Win+x,a to open command Prompt (Administrator) and enter the following command:
Dism/get-wiminfo/wimfile:e:\winre\install.wim # #获得安装镜像索引号reagentc/setosimage/path e:\winre/index 1 # # Set WinRE path and index reagentc/info # #查看WinRE信息
Specific examples are as follows:
Microsoft Windows [version 10.0.10240] (c) is Microsoft Corporation. All rights reserved. C:\windows\system32>robocopy i:\sources\ E:\WinRE Install.wim-------------------------------------------------------------------------------ROBOCOPY:: Windows Reliable File Replication-------------------------------------------------------------------------------start: July 27, 2015 10:00:40 Source = I:\sources Target: E:\WinRE file: Install.wim option:/dcopy:da/copy:dat/r:1000000/w:30-------------------------- ----------------------------------------------------new Directory 1 i:\sources100% new file 2.6 g Install.wim------------------------------------------------------------------------------Total Number of replication skipping mismatch failure other directories: 1 1 0 0 0 0 Files: 1 1 0 0 0 0 Bytes: 2.692 g 2.692 g 0 0 0 0 Time: 0:01:21 0:01:21 0:00:00 0:00:00 Speed: 35273871 bytes/second. Speed: 2018.387 mb/min. End time: July 27, 2015 10:02:02c:\windows\system32>dism/get-wiminfo/wimfile:e:\winre\install.wim Deployment Image service and management tools version: 10.0.10240.16384 image details: E:\winre\install.wim index: 1 Name: Windows Enterprise Description: Windows Enterprise Size: 13,987,256,660 A byte operation completed successfully. C:\windows\system32>reagentc/setosimage/path e:\winre/index 1 Directory set to: \\?\globalroot\device\harddisk0\partition8 \winrereagentc.exe: Operation succeeded. C:\windows\system32>reagentc/infowindows Recovery Environment (Windows RE) and system initialization configuration information: Windows RE Status: Enabled Windows RE Location: \\?\globalroot\device\harddisk0\partition4\recovery\windowsre Boot Configuration data (BCD) identifier: 54fda905-2ba4-11e5-9bc1- 3CD0002C99A2 Recovery image location: \\?\globalroot\device\harddisk0\partition8\winre Recovery image index: 1 Custom image location : Custom image index: 0REAGENTC. EXE: The operation was successful. C:\windows\system32>
Use the Recover and reinstall Windows feature in the "Troubleshooting" or "Update and restore" settings in the Startup menu.
Assign the "Recover and reinstall Windows" Media to the hard disk