PC Tools - Essential tools for your PC | United States & Canada
Search
 
 
Features
 
 
Newsletter
 
Registry Home > Windows > Accessories > Registry Editor

Avoid Accidental Registry Imports with Regedit (All Windows) Popular

By default if you double-click on a file with a '.REG' extension the file will be imported into the system registry. You can change the default so it opens the file for editing instead.

This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

You can change the default by either of the two methods below:

Through the Registry

  1. Open your registry and find the key below.
  2. Change the (Default) value to equal "edit".
  3. Exit your registry editor.
Using the GUI
From either Explorer or My Computer click on View -> Options, then the 'File Types' tab. Scroll down the list of registered file type until you find 'Registration Entries', highlight it and click 'Edit'. Listed in the 'Actions' box should be three actions: Edit, Merge and Print. Highlight 'Edit' and click 'Set Default', Edit should become Bold.

Next time you double-click on a .REG file, notepad should open instead. You can still import a file by simply right-click on it and select 'Merge'.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ"edit"|
-
|HKEY_CLASSES_ROOT\regfile\shell|
-
Registry Settings
System Key: [HKEY_CLASSES_ROOT\regfile\shell]
Value Name: (Default)
Data Type: REG_SZ (String Value)
Value Data: edit

>> Recommended Download - check, repair and optimize your registry now with Registry Mechanic <<

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last modified: December 16, 2001

 
  Copyright © 1998-2009 PC Tools. All rights reserved. Privacy Policy | Legal Notice