Add, modify, or remove Windows registry keys and values using the registry file (REG)

Source: Internet
Author: User

1. Introduction

We usually use the Regedit Registry Editor to achieve the registry modification operation, but this manual operation time-consuming and laborious, when you want to a number of PCs unified modify the registry, will be blamed. And in some cases, if the Registry Editor is disabled, this method also fails. Therefore, we recommend that you use a reg file to quickly complete the registry changes.

A reg file is actually a registry script file that Regedit Registry Editor can use to import and export registry subkeys and values by using a reg file. Double-click the reg file (that is, run the file with the Regedit.exe Registry Editor program) to import the data into the registry. We can use the reg file to make any modifications to the registry directly and not be restricted by the Registry Editor being disabled. As opposed to imports, you can use the Regedit Registry Editor to export the items specified in the registry to a reg file for easy backup. You can distribute a reg file to a maximum of PCs and make a batch registry modification.

REG file can be any text file editing tools (such as Notepad) to modify, proficient in the ability to play a multiplier, unexpected effect.

2. Create a reg file

The process of creating a reg file is simple and can be achieved by any text file editing tool. Before you create, remember to remove the "Hide extensions for known file types" subkey in Folder options so that you can actually modify the file extension.

We take Notepad as an example, open Notepad program, select "Save as", file name "Try.reg", save type "All Files" (This step is important, otherwise saved files will automatically add ". txt" extension), and then save. So I got an empty reg file. Of course, you can also choose to modify the Notepad file extension directly, for example, change the file "Try.txt" to "Try.reg".

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.