Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: A couple quick questions about .reg files...


16 Jan 2013   #1

Microsoft Windows 7 Home Premium 32-bit 7601 Multiprocessor Free Service Pack 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 System SpecsSystem Spec
.

16 Jan 2013   #2
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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.
Take Ownership of file - Vista Forums
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 System SpecsSystem Spec
16 Jan 2013   #3

Microsoft Windows 7 Home Premium 32-bit 7601 Multiprocessor Free Service Pack 1
 
 

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 System SpecsSystem Spec
.


16 Jan 2013   #4
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're most welcome.
My System SpecsSystem Spec
Reply

 A couple quick questions about .reg files...




Thread Tools



Similar help and support threads for2: A couple quick questions about .reg files...
Thread Forum
Solved Couple quick queries Software
Solved A couple of questions! Hardware & Devices
A couple questions General Discussion
Couple of questions PC Custom Builds and Overclocking
Couple of questions that i want to ask Performance & Maintenance
A couple of questions Performance & Maintenance
New, couple questions General Discussion

Our Sites

Site Links

About Us

Find 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 07:33 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33