A couple quick questions about .reg files...


  1. Posts : 78
    Microsoft Windows 7 Home Premium 32-bit 7601 Multiprocessor Free Service Pack 1
       #1

    A couple quick questions about .reg files...


    Some .reg files give me the error "Cannot import [name/path of reg file]: Not all data was successfully written to the registry. Some keys are open by the system or other processes."

    My question is not how to fix the error (plenty of info out there on that) but rather:

    1. Does the .reg file stop executing at the point of the error? For instance if the bad key is somewhere in the middle does Windows import the keys in the .reg file up to that point then stop? Or does it just skip over that key and continue importing the other entries after it?
    2. Does the error mean the .reg file doesn't import at all?
    3. Is there a way to figure out which keys/processes the error is referring to?

    Thanks...
      My Computer


  2. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
       #2

    Hello pjfarr,

    That error means that the .reg file is trying to modify a registry key that your account does not have ownership of and/or permission to modify.

    The .reg file will still import and modify everything except for the ones that you do not have permission to allow.

    You could right click on the .reg file and click on Edit to see it's content. From there, you could manually check each key in the .reg file to see if you have ownership and/or "Full Access" permission of that key inside your registry (regedit). See step 3 in OPTION THREE below for more details to help with this.
    I would highly recommend to not do this if you are not sure of what you are doing. One mistake made in the registry could leave you needing to reinstall Windows. Either way, I would strongly recommend to create a restore point before touching the registry in case a mistake was made, and you need to do a system restore to undo it.

    Hope this helps, :)
    Shawn
      My Computer


  3. Posts : 78
    Microsoft Windows 7 Home Premium 32-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #3

    Hey Shawn

    That was exactly what I wanted to know. Thanks! I wasn't sure if the error meant the import was aborted or if it was imported up to the error or what. You certainly cleared that up.

    I'm fairly PC savvy, and I'm experienced with the registry, so pokin' around in there doesn't make me nervous. I do always back up the key/hive I'm fiddling with and I'll sometimes set a restore beforehand as well.

    Thanks again, man!
      My Computer


  4. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
       #4

    You're most welcome. :)
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:31.
Find Us