Beruflich Dokumente
Kultur Dokumente
[Solution] .REG Registry Files Always Open with Notepad in Windows - AskVG
Windows Tips
Browsers
Software
Themes
More
Best of
Search
Connect with Us
Subscribe: RSS feed | Email newsletter
Most of our tutorials include download of ready-made registry script files to fix a problem or to
tweak Windows functionality. Registry scripts have .REG file extension and when you run them,
Windows merges their data into Windows Registry.
By default, .REG files are associated with Registry Editor (regedit) and when you double-click
on a .REG file, Registry Editor executes the file and shows a message box asking for your
confirmation.
Sometimes when you try to run a .REG file, Windows opens it with Notepad and you can't merge
its data with Registry. After receiving several emails about this common problem, today I decided
to post a working solution to fix this annoying problem.
Latest Articles
Download Windows 10 Enterprise Free 90-day
Trial Version
[Tip] Dual Boot Between Windows 10 and Your
Existing Windows 7/8.1 OS
[Fix] Something Happened Error Message in
Windows 10 Upgrade
How to Leave Windows Insider Program After
Installing Windows 10 RTM Build 10240?
Download Free Office Mobile Apps for Windows 10
[Fix] Windows 10 Insider Preview Build 10240 Not
Appearing on Windows Update
How to Restore Previous Windows Version After
Upgrading to Windows 10?
How to Perform Clean Installation of Windows 10
with Activation?
http://www.askvg.com/solution-reg-registry-files-always-open-with-notepad-in-windows/
1/16
8/1/2015
[Solution] .REG Registry Files Always Open with Notepad in Windows - AskVG
The automatic opening of .REG file in Notepad can be caused by several reasons like following:
You accidentally associated Notepad or another program with .REG file using "Open with"
window
You used a 3rd party tweaking utility to change the behavior of opening .REG files
.REG files association settings got corrupted in Windows Registry
Actually many tweaking software come with an option to change .REG file behavior. These
software allow you to set "Edit" or "Open with Notepad" option as default to open .REG files
instead of merging them into Registry. This option is provided for security purposes so that you
don't merge incorrect data in Windows Registry accidentally.
It might also be possible that you changed .REG file association settings using "Open with"
dialog box. When you right-click on any file, you get "Open with" option to change the default
program associated with that file type.
http://www.askvg.com/solution-reg-registry-files-always-open-with-notepad-in-windows/
2/16
8/1/2015
[Solution] .REG Registry Files Always Open with Notepad in Windows - AskVG
And sometimes .REG file association settings get corrupted in Windows Registry. It might
happen because of using a Registry cleaner software or installing an incorrect registry script file.
Anyway there are many ways to fix this problem and to re-associate .REG files with registry
Editor so that you can directly merge registry files into Windows Registry instead of opening
them in Notepad.
Today in this tutorial, we are going to mention 4 easy ways to fix the problem when .REG files
always open with Notepad instead of merging into Windows Registry.
Following are those 4 easy to use methods:
METHOD 1: Using .REG file context menu
METHOD 2: Using Registry Editor
METHOD 3: Using Command Prompt
METHOD 4: Using Open with window
If a .REG file opens in Notepad in your system, don't double-click on it. Just right-click on the
.REG file and select "Merge" option to directly merge them into Windows Registry.
Right-clicking on .REG file and selecting "Merge" option will do the same job as you double-click
on a .REG file to merge it into registry.
http://www.askvg.com/solution-reg-registry-files-always-open-with-notepad-in-windows/
3/16
8/1/2015
[Solution] .REG Registry Files Always Open with Notepad in Windows - AskVG
If the above method doesn't work for you. You can merge the .REG file using Registry Editor
itself.
1. Type regedit in RUN or start menu search box and press Enter. It'll open Registry Editor.
2. Now click on File menu and select Import command.
3. It'll open browse dialog box where you can select the .REG file and it'll merge the data into
Windows Registry.
http://www.askvg.com/solution-reg-registry-files-always-open-with-notepad-in-windows/
4/16
8/1/2015
[Solution] .REG Registry Files Always Open with Notepad in Windows - AskVG
Both above mentioned methods are temporary fix for this problem. They help you in merging the
.REG file data into Windows Registry but they don't re-associate .REG files with Registry Editor.
You can use this method to re-associate .REG files with Registry Editor:
1. Click on "Start button -> All Programs -> Accessories". Right-click on "Command
Prompt" and select "Run As Administrator". If you are prompted to enter password, enter the
password and continue. You can also open Command Prompt in Administrator mode by typing
"cmd" in Start Menu Search box and press "Ctrl+Shift+Enter".
2. Now provide following command:
assoc.reg=regfile
3. That's it. It'll restore .REG file settings and it should fix the problem.
5/16
8/1/2015
[Solution] .REG Registry Files Always Open with Notepad in Windows - AskVG
If none of the above mentioned methods work for you. Here is a 100% working method to fix this
irritating problem.
1. Right-click on .REG file and select "Open with -> Choose default program" option.
2. It'll open "Open with" window. Now look for "Registry Editor" program in the given list. If you
find it, select it.
3. If you don't find the program in the given list, click on "Browse" button, type
%windir%\regedit.exe in file name text box and click on "Open" button. If you don't want to type
the whole path, you can go to C:\Windows folder in browse dialog box and there you'll get
regedit.exe file to select.
http://www.askvg.com/solution-reg-registry-files-always-open-with-notepad-in-windows/
6/16
8/1/2015
[Solution] .REG Registry Files Always Open with Notepad in Windows - AskVG
4. Now make sure to select the checkbox "Always use the selected program to open this
kind of file" and click on OK button.
5. That's it. It'll re-associate Registry Editor with .REG files and now whenever you'll try to open a
Registry script, it'll directly merge the data into Windows Registry instead of opening the file in
Notepad.
http://www.askvg.com/solution-reg-registry-files-always-open-with-notepad-in-windows/
7/16
8/1/2015
[Solution] .REG Registry Files Always Open with Notepad in Windows - AskVG
Comments
Kapil Arya
Excellent article Vishal, thanks :)
Herman
I ever experienced this problem before and I used method 4. Works great.
Rishi
Hi....! VG
plzz provide me visual basic 2010 all code
plzzz "VG"
http://www.askvg.com/solution-reg-registry-files-always-open-with-notepad-in-windows/
8/16
8/1/2015
[Solution] .REG Registry Files Always Open with Notepad in Windows - AskVG
Rishi
Plzz VG Provide Me Visual Basic 2010 Codes
Prem
Hey VG,
I got a strange problem with registry editor. Whenever i want to merge any *.reg file to windows
registry, it says, 'Registry editor has been disabled by your administator.' . The same thing
happens with Task manager.
Please tell me a solution to get rid of this.
Please...
VG
^^ Check following:
http://www.askvg.com/how-to-enable-tools-folder-options-and-registry-editor-in-windows/
David Walker
I don't understand the description "folder view type problem" that is shown in the screenshots.
Folder view type doesn't have anything to do with .reg file associations. Can you please explain?
Thanks.
VG
^^ Just to show how it looks like when REG file opens in Notepad instead of merging into
Registry.
http://www.askvg.com/solution-reg-registry-files-always-open-with-notepad-in-windows/
9/16
8/1/2015
[Solution] .REG Registry Files Always Open with Notepad in Windows - AskVG
David Walker
Ah, now I get it. Thanks.
Michael Oravits
Had issues with installing/uninstalling programs on my vista. Went through various sites and
downloaded the msiserver.reg info. NOBODY bothered to mention what your article did about
loading registry files. I used the registry import method #2. It loaded, I rebooted and smiling ever
so much since the installer now works. THANK YOU!
VG
^^ Glad to help you. :)
Devendra Kumar Rai (From Nepal)
Great
Thank you very much
johua
Thank u very much :d
N.S Iraq4life Chris and Dante are faggots xD
This was really helpful
Thanks..Thanks a lot
ravindra.pc
http://www.askvg.com/solution-reg-registry-files-always-open-with-notepad-in-windows/
10/16
8/1/2015
[Solution] .REG Registry Files Always Open with Notepad in Windows - AskVG
Usefull..
Amrita
Hi..useful information!!..actually i am very new to this..i want to automate the Internet Explorer
settings using batch file.i.e.
Tools->Internet Options->Connections->LAN settings and i want to un-check all the check boxes
except "Automatically detect settings". and save it..
So if i am using below code and saving it in .REG extension and using MERGE then will my file
be automated:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000000
"ProxyServer"="172.16.0.1:80"
Please help me out!!!!
Amrita
VG
^^ Yes. It should work.
Amrita
Hii..Actually the code that i have mentioned that is in .reg file extension.
I wanted to change the "LAN settings" available in Connections tab.i.e.unchecking or checking
the "Automatically detect settings" setting.
And i wanted to code in .bat file extension.
I coded something which looks like this:
@ECHO OFF
http://www.askvg.com/solution-reg-registry-files-always-open-with-notepad-in-windows/
11/16
8/1/2015
[Solution] .REG Registry Files Always Open with Notepad in Windows - AskVG
12/16
8/1/2015
[Solution] .REG Registry Files Always Open with Notepad in Windows - AskVG
http://www.askvg.com/solution-reg-registry-files-always-open-with-notepad-in-windows/
13/16
8/1/2015
[Solution] .REG Registry Files Always Open with Notepad in Windows - AskVG
tajol
thanks,but the problem has solved few days ago^^.... :)
But I get problem with my taskbar........when I minimize any icons or folder(what ever).....It is on
the taskbar and hovering over it shows the preview of the window. However clicking on it does
not make it reopen and become visible....How can i fix it..
thanks,:)
Annalise Baxter
Hello, I'm trying to install an Unturned save from a YouTube video, but when i download the save
it says that it's a .txt file even though it the file name has .reg at the end. The thumbnail image is
a text document, and none of the above 4 fixes work for me.
Fix 1:
Since it's entered as a text file, the 'Merge' option doesn't appear.
Fix 2:
Registry Editor's 'Import' function doesn't show the .reg file at all in the browse file window.
Fix 3:
After i copy and paste the command into it, it says that there was an error while processing .reg.
Fix 4:
It doesn't allow me to associate the '.txt' file with Registry Editor and won't let me open the file
with it.
I hope there is a solution.
Keith Lewis
http://www.askvg.com/solution-reg-registry-files-always-open-with-notepad-in-windows/
14/16
8/1/2015
[Solution] .REG Registry Files Always Open with Notepad in Windows - AskVG
Annalise,
open a file explorer, and press the alt key. then go to tools --> folder options under the View tab,
uncheck the "Hide extensions for known file types" box. I suspect that this is an
"examplefile.reg.txt". By default, Windows hides these.
Ram
Thanks mate :) it really helped :)
bindu sharma
my ms office is not working problem is modification is not allowed to because selection is locked
pls reply
Steven
Thanks mate, helped me quite a bit and I consider myself smart in IT haha!
Manish Magar
i don't know how to thank you.....I accidentally tried to open a file with some other program but
then the whole programs and even the system programs got changed to different format. I cudn't
access microsoft office or any other programs.. i was so frustrated and felt like going for a total
format of my computer. I followed your "method 4" and damn it worked. I can't express how
happy I was then. I had my online assignment which had to be posted the very next day.
anyways, thank you askvg. it really helped me alot
Leave a Comment
Name (required)
http://www.askvg.com/solution-reg-registry-files-always-open-with-notepad-in-windows/
15/16
8/1/2015
[Solution] .REG Registry Files Always Open with Notepad in Windows - AskVG
Submit Comment
2015 AskVG.com | Copyright Policy | Privacy Policy | Sitemap | Contact | About
http://www.askvg.com/solution-reg-registry-files-always-open-with-notepad-in-windows/
16/16