Win8 Academy: teach you to build Win8 OneKey Recovery

  

just sent an article "New Method of Reinstalling Win8 and Retaining System Activation Status", its practical meaning is to lay a foundation for this article. I used to use Windows 8 Advanced Recovery Tool: System Restore, Refresh, and Reset. Which one? The article finally throws a question: Can the system image captured with imagex or dism be applied to the system reset? Now the peas come to answer ~~

The answer to this question is still affirmative~! This is actually the principle of one-key recovery for some brand machine OEMs. If you need a one-click restore function, try this article~~

Get started:

Step 1: Backup system

First, extract the Windows 8 installation image Install.wim under sources to a folder on a hard disk partition (cannot be placed in the root directory), such as under E:\\sources. Tip: You can divide a partition to store the backup file, and finally delete the partition's drive letter to hide it. In addition, we need to create a cache folder anywhere, such as F:\\temp, for use during the backup process.

Next, we will be backing up the system to the extracted install.wim file. Open the computer settings:


Select: General —— Advanced startup (restart now).


Select “Troubleshooting”.


Select “Advanced Options”.


Select “Command Prompt”. The system will automatically reboot into the repair environment and open the command prompt tool.

===================================================== ================

Note: The drive letter of each partition may be different in the recovery environment (ie the current environment) and in the normally booted WIndows system. Before backing up the system, we can use the Diskpart command to check the three paths we need during the backup process (Install.wim file, cache folder, partition to be backed up) in the current environment. Run the command: diskpart, list disk, select disk N, list part, select part N, and detail partition to view related information about the selected partition. After viewing the result, run exit to exit diskpart. For example, let's look at the drive letter of the sixth partition of the main hard disk of the computer:


View the result: The drive number of the sixth partition of the primary hard disk is F.

===================================================== ============================================= After determining each path, type the following command at the command prompt to enter: p>Dism /Append-Image /ImageFile:E:\\sources\\install.wim /ScratchDir:F:\\Temp /CaptureDir:C:\\ /Name:Backup130324


Command Explanation:

/ImageFile: followed by the full path to the Install.wim file; /ScratchDir: followed by the custom cache folder path; /CaptureDir: followed by the partition location of the system to be backed up; /Name: behind Indicates the name of the backup image in install.wim, customized.

You can reboot after the backup is complete.

Second Step: Configuring Recovery Image

In accordance with the method in "New Method of Reinstalling Win8 and Retaining System Activation Status", specify the recovery image as the image of this backup.

At this point, you're done!

This article Source: IT Home Forum - "Teach you to create Win8 OneKey Recovery"



• About System Backup:

The backup environment is not limited to repairing the environment. For more information on using the DISM backup system, refer to: "Backing Up and Restoring Win8 with the DISM Command Line Tool" (By Sergeant Bow)

• About System Recovery:

Execute a key The recovery operation is exactly the same as the initialization operation in "New Method of Reinstalling Win8 and Retaining System Activation Status". However, the final result of initialization here is to fully restore the system to the state it was in when it was backed up. Of course, including system activation status, traditional desktop applications, Windows Store apps, system settings, and more. Initialization also does not change the configuration state of the recovery image, that is, it is once and for all.

• About incremental backup:

The advantage of this backup method is that it takes up very little space and supports incremental backup. The next backup can only be repeated once in the above steps. Incremental backups do not require a re-copy of Install.wim (that is, backups on top of the existing Install.wim), and the number of images in install.wim is increased by one after each backup. The file is populated based on file differences during backup, so it does not take up too much space. Note that you need to reassign the system image to the last backup after each backup.

• About recovery environment:

On UEFI-based computers, physical buttons can be configured for initialization to achieve true one-click operation. In a traditional BISO-based computer, normal one-click recovery (initialization) requires first entering the Windows 8 system environment. If the system does not start properly, you need to use the installation media (CD, USB) or recovery drive to enter the Windows recovery environment to perform the initialization. For the method of making a recovery drive in Win8, please refer to "Some Changes in Windows 8 Recovery Environment (WinRE)".

Copyright © Windows knowledge All Rights Reserved