Win10 Preview How to backup and restore the registry to prevent some misuses

  
Back up the entire registry
Open the Registry Editor, select the root of the computer in the list on the left side, and then click “ File” Menu, select “export”. Figure:

Then the "Export Registry File" dialog box will pop up. Figure:

Select the save location, enter the file name, click the "Save" button to back up the registry as a reg file.
There is also a way to back up an item in the "Export Registry File" window to "export scope" & rdquo; select & ldquo; all & rdquo; can also back up the entire registry.
Backup of an item in the registry (a branch)
But the registry is very large, and you only modify the items, so there is usually no need to back up the entire registry, just back up the one you modified. Items can be.
Select the items to be backed up in the Registry Editor, right click on the item and select “Export”. As shown in the figure:

The same will pop up "Export Registry File" dialog box. As shown in the figure:

The following "export scope" is selected "<; selected branch", this time you can also select "all", then the backup is the entire registry It is.
Select the save location, enter the file name, click the “Save” button to back up the selected registry key to a reg file. Figure:

Restore the registry method
Method 1:
Open the registry editor, click on the "Files" menu, select "Import" & then, in the "Import registration" In the table & rdquo; window select the reg file that was previously backed up. Figure:

Click “Open”, you can import, and then pop up the "Items and values ​​contained in “.reg have been successfully added to the registry" prompt. Figure:

Click “OK”
Method 2:
Without opening the Registry Editor, double-clicking on the previously backed reg file will bring up a warning dialog box. Adding information may inadvertently change or delete values ​​and cause the component to fail to continue the tool. If you don't trust the source of this information in ….reg, don't add it to the registry. Are you sure to continue? & rdquo; Figure:

Click “Yes>, will add information to the registry, and then pop up the items and values ​​contained in “….reg have been successfully added to the registration The prompt in the table & rdquo;. Figure:

Click “OK”
The registry is actually only the data of the computer configuration, that is, the contents of the computer settings, such as how to record the computer, how to associate the file, etc. The general registry does not have any commands or program components, it is just a white one. data.

Copyright © Windows knowledge All Rights Reserved