Editing HKEY_USERS using a .REG file

Posted on 2009-02-13
Last Modified: 2012-05-06
I am trying to use a .REG file to change the NoFileAssociate setting in HKEY_USERS, but it keeps giving me a error. The .REG file runs without any errors when I use HKEY_LOCAL_MACHINE but, it does not accomplish what I need.

Below is my code for HKEY_USERS -

Windows Registry Editor Version 5.00

Here is the error -
Cannot import fix.reg. Error accessing the registry
Question by:MIKOAKE
    LVL 30

    Accepted Solution

    It may be that it looks like you are missing the period before Default...

    Like so...

    LVL 5

    Expert Comment

    This error usually means that the entries in the .reg file are not in the correct format.  If you're not sure about the format, you could pull up a registry entry and save it to file, then copy the format from that .reg file.

    Author Closing Comment

    It funny how such a small detail could make such a big difference.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Suggested Solutions

    If you build your web application in Visual Studio you'll get at least a few binaries, or .DLL, files in your bin folder. However, there is more compiling to be done. Normally this would happen when an ASP.NET resource within the web site is request…
    Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now