Solves the problem of associating .REG files with Notepad in Windows

In many tutorials involving change registry, We find scripts. reg (When running which the information is entered in registry system) To help solve certain system problems or certain features it offers.

By default, scripts. reg are associated with registry editor (registry Editor), And when a file .Reg run, regedit confirmation request, then execute the commands contained in the file. Sometimes, however, when trying to run a files. regIt opens Notepad, Instead of displaying the information contained introduce their registry.

What exactly causes the automatic opening of .reg files with Notepadthe?

  • either associate NotepadCPC with files reg extension using option Open with ... right-click menu
  • either used a third-party tool to change how to open the files .Reg (Usually this setting is made of security reasons, to avoid accidental execution of scripts reg)
  • or reg file association settings were corrupt editor Registry because of a registry Cleaner or .Reg script incorrectly

How do we fix the problem of automatic opening of .reg scripts with Notepad?

reg file

For those who want to use this kind of scripts and are irritated by association of .reg files with NotepadCan solve this problem using one of these methods:

1. Use Merge option right-click menu of .reg scripts - this way Avoid accidental execution of other scripts the "classic" double-click, but at the same time you can execute scripts that just want to run.

go-reg

2. Use registry Editor to import information contained scripting reg registry of sisitem (click on Fillet in regedit and select Import)

import-registry

3. Use Command Prompt (Compulsory privileges of administrator) To rejoin files. reg with regedit.exe - Type cmd in Search from Start Menu, Right click on it and select Run ace AdministratorThen write command

assoc.reg=regfile

dos-command

4. Use the same option Open With from right-click menu, which you probably also used when you associated the .reg files with Notepadthe - therefore, right-click on file> Open with> Choose default programThen select registry Editor.

default-time schedule

If Registry Editor does not appear in the list Default Programs, Click on Browse, type % Windir% regedit.exe in the field of law File name then click on Open; or browse folder C:Windows and select regedit.exe. Before click on OK, Be sure to check Always use the selected program to open this type of file.

STEALTH SETTINGS – Fix association of .REG files with Notepad in Windows

Passionate about technology, I enjoy writing on StealthSettings.com since 2006. I have a rich experience in operating systems: macOS, Windows, and Linux, as well as in programming languages and blogging platforms (WordPress) and for online stores (WooCommerce, Magento, PrestaShop).

How to » Curiosity » Solves the problem of associating .REG files with Notepad in Windows

1 thought on "Solve the problem of associating .REG files with Notepad in Windows"

Leave a Comment