Setting Values with .reg Files

Registry Entries (.reg) files are the classic method for adding and changing values in the registry, but as I said in the section "Choosing a Technique," they’re not as powerful as the other methods you learn about in this chapter. Their big weakness is that you can’t remove values using a .reg file; you can only add or modify values, or remove keys.

After you’ve created a .reg file, which has the .reg file extension, you import it into the registry by double-clicking the file. This is great if you want users to import the file themselves, but you need the following command if you want to import a .reg file using your software management infrastructure or some method such as providing a link to it on the intranet: ...

Get Microsoft® Windows® Desktop Deployment Resource Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.